From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#10148: 24.0.91; "pending" regexp Isearch Date: Wed, 30 Nov 2011 17:35:10 +0200 Organization: JURTA Message-ID: <87y5uxaapt.fsf@mail.jurta.org> References: <87ipm3yd6n.fsf@mail.jurta.org> <87aa7ehr9n.fsf@mail.jurta.org> <87fwh5gajc.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1322667975 6576 80.91.229.12 (30 Nov 2011 15:46:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 30 Nov 2011 15:46:15 +0000 (UTC) Cc: 10148@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 30 16:46:10 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RVmML-00082K-Vx for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Nov 2011 16:46:10 +0100 Original-Received: from localhost ([::1]:59390 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVmML-00011W-IB for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Nov 2011 10:46:09 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:38411) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVmMG-0000wd-F8 for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2011 10:46:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RVmMB-0008MM-5y for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2011 10:46:04 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46033) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVmMB-0008MC-33 for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2011 10:45:59 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RVmME-0002f5-Ju for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2011 10:46:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Nov 2011 15:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10148 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10148-submit@debbugs.gnu.org id=B10148.132266791810164 (code B ref 10148); Wed, 30 Nov 2011 15:46:02 +0000 Original-Received: (at 10148) by debbugs.gnu.org; 30 Nov 2011 15:45:18 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVmLV-0002dr-WF for submit@debbugs.gnu.org; Wed, 30 Nov 2011 10:45:18 -0500 Original-Received: from smarty.dreamhost.com ([208.113.175.8]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVmLS-0002dY-1l for 10148@debbugs.gnu.org; Wed, 30 Nov 2011 10:45:15 -0500 Original-Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id 0982668405D; Wed, 30 Nov 2011 07:45:10 -0800 (PST) Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 82A09451C5C7; Wed, 30 Nov 2011 07:44:57 -0800 (PST) In-Reply-To: (Stefan Monnier's message of "Wed, 30 Nov 2011 09:08:13 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 30 Nov 2011 10:46:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.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:54485 Archived-At: >> and typing the same key sequence `C-< C-M-s i s *'. >> "Pending" is necessary for Isearch to go back to the first shorter match. > > I don't see why it would be "necessary". `isearch-fallback' [ab]uses `isearch-adjusted' to be able to move point to `isearch-barrier' because when `isearch-adjusted' is t, then `isearch-search-and-update' doesn't move point to another position not intended by `isearch-fallback'. So this is just a technical detail of implementation that doesn't need a message. >> Well, on second thought, "adjusted" doesn't sound too bad :-). > > Another option is to not say anything at all. I don't have a strong > opinion on this, but I never found "pending" useful and I don't think > I'd have felt differently if it had said "adjusted" instead. The message "pending" is not necessary for `isearch-fallback', but it helps when using `isearch-toggle-regexp', `isearch-toggle-word' and `isearch-toggle-case-fold' because they doesn't repeat the search immediately and require an action from the user to find the next match (like another `C-s').