all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Memnon Anon <gegendosenfleisch@googlemail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Searching across line breaks
Date: Tue, 19 Jul 2011 13:45:02 +0000 (UTC)	[thread overview]
Message-ID: <87r55m9ytr.fsf@mean.albasani.net> (raw)
In-Reply-To: 4E251678.9050807@easy-emacs.de

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








  reply	other threads:[~2011-07-19 13:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-18  3:57 Searching across line breaks spinner
2011-07-18  8:48 ` Andreas Röhler
2011-07-18 11:00   ` spinner
2011-07-18 17:40     ` Andreas Röhler
2011-07-18 18:58       ` Peter Dyballa
2011-07-19  5:30         ` Andreas Röhler
2011-07-19 13:45           ` Memnon Anon [this message]
2011-07-19 16:39             ` Andreas Röhler
2011-07-18  9:34 ` Memnon Anon
2011-07-18 11:06   ` spinner
2011-07-18 12:30     ` ken

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r55m9ytr.fsf@mean.albasani.net \
    --to=gegendosenfleisch@googlemail.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.