From: "Drew Adams" <drew.adams@oracle.com>
Cc: don provan <dprovan@comcast.net>
Subject: RE: emacs 22 - regular-expression isearch on spaces extremely lenient
Date: Sat, 29 Apr 2006 09:14:03 -0700 [thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICEEGDDFAA.drew.adams@oracle.com> (raw)
In-Reply-To: <u7j58xvhh.fsf@comcast.net>
Fwding to emacs-devel. They are the ones who can change this behavior or
perhaps make the user option move visible somehow.
To: help-gnu-emacs@gnu.org
> (setq search-whitespace-regexp nil) will turn this off. When
> this is nil, each space you type matches literally, against
> one space.
Thanks! This always annoyed me, but I've never seen a mention of the
control variable to turn it off.
> If non-nil, regular expression to match a sequence of
> whitespace chars. This applies to regular expression
> incremental search.
I think the biggest problem with it is the inconsistency between
incremental search and elisp regexp searches. Literally just yesterday
I had to debug a problem caused because my practice regexp at the
command line did what I wanted with a space, but when I used the same
string in a functional search, it didn't. I've seen the documentation
for this feature, but wherever it was, it wasn't clear to me until now
that it was specific to incremental regexp searches rather than a
general feature of all regexp searches.
-don
next prev parent reply other threads:[~2006-04-29 16:14 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1118.1146321681.9609.help-gnu-emacs@gnu.org>
2006-04-29 15:16 ` emacs 22 - regular-expression isearch on spaces extremely lenient don provan
2006-04-29 16:14 ` Drew Adams [this message]
[not found] <2cd46e7f0604281353l38f7672gd3cfe0c64fdf0cb4@mail.gmail.com>
2006-04-28 20:56 ` Ken Manheimer
2006-04-29 14:41 ` Drew Adams
2006-04-29 17:23 ` Eric Hanchrow
2006-05-01 14:51 ` Kevin Rodgers
2006-05-02 2:04 ` Richard Stallman
2006-05-01 18:04 ` ken manheimer
[not found] ` <mailman.1189.1146507010.9609.help-gnu-emacs@gnu.org>
2006-05-30 5:17 ` David Combs
2006-05-30 6:21 ` Tim X
2006-05-30 8:31 ` David Kastrup
[not found] ` <mailman.1109.1146290553.9609.help-gnu-emacs@gnu.org>
2006-04-29 7:47 ` Miles Bader
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=DNEMKBNJBGPAOPIJOOICEEGDDFAA.drew.adams@oracle.com \
--to=drew.adams@oracle.com \
--cc=dprovan@comcast.net \
/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.