Emacs Rename Variable
New Emacs has M-s .
to select symbol under cursor, then you can C-M-%
and it will use currently selected symbol to perform replacements. NOTE This is just plain string replacement, not like the IDE 'rename variable' feature.
iedit was made for this kind of thing.