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

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

Re: Searching across line breaks


From: Andreas Röhler
Subject: Re: Searching across line breaks
Date: Tue, 19 Jul 2011 18:39:37 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.18) Gecko/20110616 SUSE/3.1.11 Thunderbird/3.1.11

Am 19.07.2011 15:45, schrieb Memnon Anon:
Andreas Röhler<address@hidden>  writes:
Am 18.07.2011 20:58, schrieb Peter Dyballa:

the newline-expression in the regexp must be typed \C-o inside the minibuffer, 
ie inserted literarly
Shouldn't it be C-j or C-q C-j? C-j is dec 10, oct 12, hex 0A, UTF U+000A LINE 
FEED (LF). (C-o is SHIFT IN.)
Hm, de facto that works for me, I'm doing \C-o here. Which was hard to
figure out at the beginning with Emacs BTW.

`C-h r' `C-s C-q C-j' `C-s':

,----[ (info "(emacs)Minibuffer Edit") ]
|    Since<RET>  in the minibuffer is defined to exit the minibuffer, you
| can't use it to insert a newline in the minibuffer.  To do that, type
| `C-o' or `C-q C-j'.  (The newline character is really the ASCII
| character control-J.)
`----

So, both of you are right.

FWIF, I learned `C-q C-j', because it was easier to remember once I knew
what `C-q' does, thusly avoiding the "hard to figure out at the
beginning" bit.

Memnon



thanks picking the info



reply via email to

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