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

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

Re: advance char


From: Jambunathan K
Subject: Re: advance char
Date: Thu, 06 Jun 2013 14:39:22 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Andreas Röhler <andreas.roehler@easy-emacs.de> writes:

> Hi,
>
> I'm looking for a command, which would replace character at point by its 
> successor in alphabet.
>
> I.e. make B from A, C from B etc.
>
> Pretty sure it exists somewhere.

C-M-% . RET \,(char-to-string (1+ (string-to-char \&))) RET

See last few paragraphs of (info "(emacs) Regexp Replace")

>
> TIA,
>
> Andreas



reply via email to

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