emacs-devel
[Top][All Lists]
Advanced

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

Re: Search nodes in Emacs manual


From: Juri Linkov
Subject: Re: Search nodes in Emacs manual
Date: Sun, 20 Jun 2004 00:22:14 +0300
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

David Kastrup <address@hidden> writes:
> How about
>
> M-x replace-regexp <RET> \(\(ab\)\|cd\) <RET>
>                          \,(if \2 "cd" "ab") <RET>

Very nice!

You only need to remove redundant parens and this example can be added
to the Emacs manual.

M-x replace-regexp <RET> \(ab\)\|cd <RET> \,(if \1 "cd" "ab") <RET>

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

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