unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* isearch-forward-regexp across lines in various modes
@ 2004-07-29 10:37 Thomas Meyer
  2004-07-29 11:38 ` Katsumi Yamaoka
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Meyer @ 2004-07-29 10:37 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-07-29 11:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-29 10:37 isearch-forward-regexp across lines in various modes Thomas Meyer
2004-07-29 11:38 ` Katsumi Yamaoka

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).