[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Searching across line breaks
From: |
Memnon Anon |
Subject: |
Re: Searching across line breaks |
Date: |
Tue, 19 Jul 2011 13:45:02 +0000 (UTC) |
Andreas Röhler <andreas.roehler@easy-emacs.de> 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
Re: Searching across line breaks, Memnon Anon, 2011/07/18