help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change function name style


From: Andreas Röhler
Subject: Re: Change function name style
Date: Thu, 29 Jul 2010 21:33:03 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6

Am 29.07.2010 18:14, schrieb Andrea Crotti:
Supposing I have many C files with functions in camelized mode and I
want to change them all to underscore mode.

Even better, something like:
thisFunction ->  this_function
this_function ->  _this_function

how could I make the wonderful emacs do that for me?
I think I could use or the mode informations (with describe-face) or
even semantic with some tricks, but I'm not sure why...
Any idea?
Thanks





with a regexp employing [[:lower:]]+[[:upper:]] etc. inside
\\(...\\)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]