From: Eli Zaretskii <eliz@gnu.org>
To: bruce.connor.am@gmail.com
Cc: emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] emacs-25 3e9ac80: Yet another doc improvement for search commands
Date: Tue, 01 Dec 2015 17:37:35 +0200 [thread overview]
Message-ID: <83d1uqkwn4.fsf@gnu.org> (raw)
In-Reply-To: <CAAdUY-+Y4r1arH7zyckGd3J4E36iN+mQi7Xj+m4nVCmpQxSYmg@mail.gmail.com>
> Date: Tue, 1 Dec 2015 10:36:59 +0000
> From: Artur Malabarba <bruce.connor.am@gmail.com>
> Cc: emacs-devel <emacs-devel@gnu.org>, emacs-diffs@gnu.org
>
> >> Really? I could have sworn they can.
> > I tried. Maybe I made a mistake. Can you show an example where it
> > does?
>
> I wasn't sure earlier, but yes, they do.
>
> Just type "a b" in a buffer and do `word-search-forward' for "a b".
That's not because of lax-space matching, IIUC. That's because word
search ignores any non-word characters between words.
What I meant is this:
C-s M-s w a b M-s SPC
After you type the "M-s SPC" toggle, Emacs says "[match spaces
literally]", but "a b" etc. are still highlighted as matches.
Maybe we should add a note that, although lax-whitespace matching is
not supported with word search, it is also not needed, because spaces
between words are ignored anyway?
next prev parent reply other threads:[~2015-12-01 15:37 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20151130173139.31071.34723@vcs.savannah.gnu.org>
[not found] ` <E1a3SId-00085l-Mj@vcs.savannah.gnu.org>
2015-11-30 19:58 ` emacs-25 3e9ac80: Yet another doc improvement for search commands Artur Malabarba
2015-11-30 20:48 ` [Emacs-diffs] " Eli Zaretskii
2015-12-01 10:36 ` Artur Malabarba
2015-12-01 15:37 ` Eli Zaretskii [this message]
2015-12-01 18:05 ` [Emacs-diffs] " Artur Malabarba
2015-12-01 19:30 ` Eli Zaretskii
2015-12-01 20:04 ` Artur Malabarba
2015-12-01 21:06 ` Drew Adams
[not found] ` <<83oaebkybx.fsf@gnu.org>
2015-11-30 21:47 ` Drew Adams
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=83d1uqkwn4.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=bruce.connor.am@gmail.com \
--cc=emacs-devel@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).