From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] emacs-25 3e9ac80: Yet another doc improvement for search commands Date: Tue, 01 Dec 2015 17:37:35 +0200 Message-ID: <83d1uqkwn4.fsf@gnu.org> References: <20151130173139.31071.34723@vcs.savannah.gnu.org> <83oaebkybx.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1448984307 23374 80.91.229.3 (1 Dec 2015 15:38:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Dec 2015 15:38:27 +0000 (UTC) Cc: emacs-devel@gnu.org To: bruce.connor.am@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 01 16:38:14 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a3n0D-0006CG-UR for ged-emacs-devel@m.gmane.org; Tue, 01 Dec 2015 16:38:02 +0100 Original-Received: from localhost ([::1]:53302 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3n0D-0005qJ-9l for ged-emacs-devel@m.gmane.org; Tue, 01 Dec 2015 10:38:01 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36547) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3mzt-0005oE-Tk for emacs-devel@gnu.org; Tue, 01 Dec 2015 10:37:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a3mzq-00012e-O0 for emacs-devel@gnu.org; Tue, 01 Dec 2015 10:37:41 -0500 Original-Received: from mtaout27.012.net.il ([80.179.55.183]:43655) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3mzq-000123-G5 for emacs-devel@gnu.org; Tue, 01 Dec 2015 10:37:38 -0500 Original-Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NYO00600R2A5500@mtaout27.012.net.il> for emacs-devel@gnu.org; Tue, 01 Dec 2015 17:32:40 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NYO00J4RR6FS9B0@mtaout27.012.net.il>; Tue, 01 Dec 2015 17:32:40 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.183 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:195678 Archived-At: > Date: Tue, 1 Dec 2015 10:36:59 +0000 > From: Artur Malabarba > Cc: emacs-devel , 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?