From: Andrea Crotti <andrea.crotti.0@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Change function name style
Date: Tue, 03 Aug 2010 12:00:11 +0200 [thread overview]
Message-ID: <m1iq3shv84.fsf@gmail.com> (raw)
In-Reply-To: m1aap9yy4d.fsf@gmail.com
> Ah very nice, always find new modes :D, only two problems
> - it doesn't change to lowercase the letter after _
> - it's not "context sensitive", since I only want to manipulate functions
>
>
> I'll see what I can understand from semantic I think is the only way to go.
I was trying with regexp again to see if it works, and for example with
startFunction(...)
I can do
--8<---------------cut here---------------start------------->8---
M-x query-replace-regexp start\([A-Z].*\) start_\1
--8<---------------cut here---------------end--------------->8---
but I can't put the second string to lower case, which I guess is
harder.
Any way to do that just with regexps?
next prev parent reply other threads:[~2010-08-03 10:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-29 16:14 Change function name style Andrea Crotti
2010-07-29 19:33 ` Andreas Röhler
2010-07-29 19:45 ` Andrea Crotti
2010-07-29 20:30 ` suvayu ali
2010-07-29 21:42 ` Andrea Crotti
2010-07-29 23:48 ` suvayu ali
2010-07-30 6:36 ` Andreas Röhler
[not found] ` <mailman.16.1280439739.8442.help-gnu-emacs@gnu.org>
2010-07-29 22:15 ` Elena
[not found] ` <mailman.3.1280432759.8442.help-gnu-emacs@gnu.org>
2010-07-29 20:29 ` Elena
2010-07-29 21:53 ` Colin S. Miller
2010-07-29 22:01 ` Elena
2010-07-30 2:44 ` Thamer Mahmoud
2010-07-30 12:04 ` Andrea Crotti
2010-08-03 10:00 ` Andrea Crotti [this message]
[not found] ` <mailman.0.1280492013.7663.help-gnu-emacs@gnu.org>
2010-07-30 13:19 ` Elena
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m1iq3shv84.fsf@gmail.com \
--to=andrea.crotti.0@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).