unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: thomas.meyer@dla-marbach.de (Thomas Meyer)
Subject: isearch-forward-regexp across lines in various modes
Date: 29 Jul 2004 03:37:22 -0700	[thread overview]
Message-ID: <de14e8fd.0407290237.2db735c9@posting.google.com> (raw)

Hello all you emacs-Gurus,

the emacs Info file, chapter
"Regular Expression Search" states:

   "If you type <SPC> in incremental
   regexp search, it matches any
   sequence of whitespace characters,
   including newlines.  If you want to
   match just a space, type `C-q
   <SPC>'."

I can see this behaviour when in
text-mode, but not in e.g. lisp-mode or
c-mode:

Take this text for example

sample text consisting of a line
and another line

... then isearch-forward-regexp will
search across the line when I enter
"line and" only when in text, mode not
when in lisp-mode (being the default for
the initial *scratch* buffer)

Any input greatly appreciated

             reply	other threads:[~2004-07-29 10:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-29 10:37 Thomas Meyer [this message]
2004-07-29 11:38 ` isearch-forward-regexp across lines in various modes Katsumi Yamaoka

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=de14e8fd.0407290237.2db735c9@posting.google.com \
    --to=thomas.meyer@dla-marbach.de \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).