From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#22043: 25.0.50; search-forward and char folding Date: Sun, 29 Nov 2015 18:32:41 +0200 Message-ID: <83io4kojfa.fsf@gnu.org> References: <15605.1448748702@allegro.localdomain> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1448814800 26386 80.91.229.3 (29 Nov 2015 16:33:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 Nov 2015 16:33:20 +0000 (UTC) Cc: 22043@debbugs.gnu.org To: Mike Kupfer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 29 17:33:06 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1a34uP-00077f-Cu for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Nov 2015 17:33:05 +0100 Original-Received: from localhost ([::1]:36878 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a34uT-0000gp-21 for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Nov 2015 11:33:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35226) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a34uP-0000gh-JY for bug-gnu-emacs@gnu.org; Sun, 29 Nov 2015 11:33:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a34uM-00056a-AC for bug-gnu-emacs@gnu.org; Sun, 29 Nov 2015 11:33:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41674) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a34uM-00056W-7P for bug-gnu-emacs@gnu.org; Sun, 29 Nov 2015 11:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a34uM-0007oZ-09 for bug-gnu-emacs@gnu.org; Sun, 29 Nov 2015 11:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 Nov 2015 16:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22043 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22043-submit@debbugs.gnu.org id=B22043.144881477530023 (code B ref 22043); Sun, 29 Nov 2015 16:33:01 +0000 Original-Received: (at 22043) by debbugs.gnu.org; 29 Nov 2015 16:32:55 +0000 Original-Received: from localhost ([127.0.0.1]:59615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a34uE-0007oB-4Y for submit@debbugs.gnu.org; Sun, 29 Nov 2015 11:32:54 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:62751) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a34uB-0007nz-3B for 22043@debbugs.gnu.org; Sun, 29 Nov 2015 11:32:51 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NYL00C004HQPQ00@a-mtaout20.012.net.il> for 22043@debbugs.gnu.org; Sun, 29 Nov 2015 18:32:49 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NYL00CJ84MOFU80@a-mtaout20.012.net.il>; Sun, 29 Nov 2015 18:32:49 +0200 (IST) In-reply-to: <15605.1448748702@allegro.localdomain> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:109407 Archived-At: > From: Mike Kupfer > Date: Sat, 28 Nov 2015 14:11:42 -0800 > > The "Lax Search" Info node says > > Searches in Emacs by default perform character folding > > But I don't see search-forward or search-backward doing that. For > example, in the scratch buffer of "emacs -Q" if I do > > ä C-p > M-x search-forward RET a RET > > Emacs complains that the search failed. I did test it before I wrote that text. Try this recipe instead: ä C-p C-s RET a RET The Emacs manual doesn't advertise search-forward and search-backward, it advertises "C-s RET" and "C-r RET" instead, which do (by default) perform character folding (and also obey the rest of the features described in that node). So yes, it's an inaccuracy in the manual, but not in that sentence. The inaccuracy is where the manual says (or was saying): When you type ‘C-s ’, the ‘C-s’ invokes incremental search as usual. That command is specially programmed to invoke the command for nonincremental search, ‘search-forward’, if the string you specify is empty. (Such an empty argument would otherwise be useless.) ‘C-r ’ does likewise, invoking the command ‘search-backward’. "C-s RET" doesn't invoke search-forward, at least not by default, haven't been doing that for quite some time. I fixed that inaccuracy now, thanks for pointing it out.