From unknown Tue Aug 19 02:50:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13592: 24.2.92; C-s prompts with "Multi I-search:" today Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Jan 2013 18:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 13592 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 13592@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Reply-To: Eli Zaretskii Received: via spool by submit@debbugs.gnu.org id=B.135957186828433 (code B ref -1); Wed, 30 Jan 2013 18:52:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Jan 2013 18:51:08 +0000 Received: from localhost ([127.0.0.1]:56134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U0ckV-0007OW-P7 for submit@debbugs.gnu.org; Wed, 30 Jan 2013 13:51:08 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55869) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U0ckS-0007ON-Uw for submit@debbugs.gnu.org; Wed, 30 Jan 2013 13:51:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U0cjp-0007ez-03 for submit@debbugs.gnu.org; Wed, 30 Jan 2013 13:50:26 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, USER_IN_WHITELIST autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:39819) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0cjo-0007eu-Tx for submit@debbugs.gnu.org; Wed, 30 Jan 2013 13:50:24 -0500 Received: from eggs.gnu.org ([208.118.235.92]:38976) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0cjm-0002Eo-SN for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2013 13:50:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U0cjl-0007d5-4w for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2013 13:50:22 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:43979) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0cjk-0007cu-OF for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2013 13:50:21 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MHG00100C8HOZ00@a-mtaout22.012.net.il> for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2013 20:50:11 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MHG001D4CBMLX10@a-mtaout22.012.net.il> for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2013 20:50:11 +0200 (IST) Date: Wed, 30 Jan 2013 20:49:58 +0200 From: Eli Zaretskii X-012-Sender: halo1@inter.net.il Message-id: <83pq0mh5ex.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -7.4 (-------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -7.4 (-------) Visit src/ChangeLog, then type 'C-s' and be amazed by the "Multi " prefix to the usual "I-search:" prompt. Yes, this is evidently there since Emacs 23.1. Yes, it probably tells you how much I search ChangeLog files, or look at the prompt when I do. But all of this aside, I have a couple of questions: . Why is it a good idea to show this Multi thing at the very beginning of the search, when there's no evidence whatsoever that the search is in danger of crossing into the next file in the series? It's confusing to see this, because _I_ didn't ask for multi-file or multibuffer isearch. It took me by surprise and forced me to go looking for the reason (tried in other versions of Emacs and in other buffers, before it dawned on me that it is something specific to add-log mode). You want to be nice to me? fine: then show this to me when I type C-s that will cross into the next file, but not before that. _Then_ I might appreciate the service. But when I type my first C-s, please give me just what I asked for. . This should at least be documented in the manual. When I saw this prompt, I tried to figure out what it meant (did someone really think that "Multi" explains it all?), but it seems not to be mentioned anywhere in the docs. Even the NEWS entry for Emacs 23.1, which does say that isearch is automatically multi-file in ChangeLog files, doesn't mention this prompt. I needed to wade through isearch.el to find what it meant, only to find out that the facility used to trigger it -- multi-search-next-buffer-function -- is not documented in the Elisp manual, either, which sounds weird if we consider such features useful in other modes. Is this a secret of some sorts? In GNU Emacs 24.2.92.1 (i386-mingw-nt5.1.2600) of 2013-01-11 on HOME-C4E4A596F7 Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --with-gcc (3.4) --cflags -Id:/usr/include/libxml2' Important settings: value of $LANG: ENU locale-coding-system: cp1255 default enable-multibyte-characters: t Major mode: Mail Minor modes in effect: shell-dirtrack-mode: t diff-auto-refine-mode: t flyspell-mode: t desktop-save-mode: t show-paren-mode: t display-time-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t temp-buffer-resize-mode: t line-number-mode: t auto-fill-function: mail-mode-auto-fill abbrev-mode: t Recent input: I S-SPC m e a n t SPC t o o - l o n g , SPC o f SPC c o u r s e . SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ C-w S o r r y . C-c C-s d d d SPC d d d d SPC d d d d d d SPC d SPC d d d C-c C-n r C-c C-y C-x C-x C-SPC C-w T h e r e ' s SPC n o SPC 1 1 M-/ SPC y e t SPC o n SPC e m a c s - 2 4 , SPC i t s SPC l a t e s t SPC i s SPC 1 1 1 2 0 8 . C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-w C-c C-s d d SPC n d SPC d d d d d M-p C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z d d d d d M-x r e p o r t - e m a c s - b u Recent messages: Reverting buffer `.bzr.log'. Auto-saving... Reverting buffer `.bzr.log'. [2 times] Mark set [2 times] Sending... Added to d:/usr/eli/rmail/SENT.MAIL Sending email Sending email done Sending...done No following nondeleted message Load-path shadows: None found. Features: (shadow emacsbug tar-mode thai-util thai-word vc-dispatcher descr-text pp etags mule-util ebuff-menu electric lpr shell utf-7 bug-reference add-log misearch multi-isearch rmailout network-stream starttls tls mail-extr smtpmail auth-source eieio password-cache dabbrev mailalias sendmail time-stamp help-mode tcl nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok sgml-mode conf-mode generic arc-mode archive-mode diff-mode dired-x cl-macs gv dired face-remap org-wl org-w3m org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp ob-exp org-exp-blocks org-agenda org-info org-gnus gnus-util org-docview org-bibtex bibtex org-bbdb org byte-opt warnings bytecomp byte-compile cconv advice help-fns advice-preload ob-tangle ob-ref ob-lob ob-table org-footnote org-src ob-comint ob-keys org-pcomplete pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob org-compat org-macs ob-eval org-loaddefs find-func cal-menu calendar cal-loaddefs parse-time vc-cvs gud comint ansi-color ring sh-script smie executable autoconf autoconf-mode make-mode jka-compr noutline outline easy-mmode info autorevert flyspell vc-bzr cc-langs cl cl-lib cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs qp rmailsum rmailmm message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader mail-parse rfc2231 rmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils desktop server filecache mairix cus-edit easymenu cus-start cus-load wid-edit saveplace midnight ispell generic-x paren battery time time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process w32 multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 30 13:56:08 2013 Received: (at control) by debbugs.gnu.org; 30 Jan 2013 18:56:08 +0000 Received: from localhost ([127.0.0.1]:56139 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U0cpL-0007W3-Q8 for submit@debbugs.gnu.org; Wed, 30 Jan 2013 13:56:08 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:52426) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U0cpK-0007Vw-4b for control@debbugs.gnu.org; Wed, 30 Jan 2013 13:56:06 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1U0coi-00056F-1G for control@debbugs.gnu.org; Wed, 30 Jan 2013 13:55:28 -0500 Date: Wed, 30 Jan 2013 13:55:28 -0500 Message-Id: Subject: control message for bug 13592 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -4.7 (----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.7 (----) severity 13592 minor From unknown Tue Aug 19 02:50:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13592: 24.2.92; C-s prompts with "Multi I-search:" today Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Jan 2013 19:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13592 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "'Eli Zaretskii'" , <13592@debbugs.gnu.org> Received: via spool by 13592-submit@debbugs.gnu.org id=B13592.13595729781255 (code B ref 13592); Wed, 30 Jan 2013 19:10:02 +0000 Received: (at 13592) by debbugs.gnu.org; 30 Jan 2013 19:09:38 +0000 Received: from localhost ([127.0.0.1]:56155 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U0d2Q-0000KC-6u for submit@debbugs.gnu.org; Wed, 30 Jan 2013 14:09:38 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:48999) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U0d2N-0000K0-AB for 13592@debbugs.gnu.org; Wed, 30 Jan 2013 14:09:36 -0500 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r0UJ8tmQ004331 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 30 Jan 2013 19:08:56 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r0UJ8sRi009693 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 30 Jan 2013 19:08:55 GMT Received: from abhmt101.oracle.com (abhmt101.oracle.com [141.146.116.53]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id r0UJ8sPB027597; Wed, 30 Jan 2013 13:08:54 -0600 Received: from dradamslap1 (/130.35.178.8) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 30 Jan 2013 11:08:54 -0800 From: "Drew Adams" References: <83pq0mh5ex.fsf@gnu.org> Date: Wed, 30 Jan 2013 11:08:53 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <83pq0mh5ex.fsf@gnu.org> Thread-Index: Ac3/GtMgquMzJiIUQCm0NYO7cgf3ugAAjfMQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Spam-Score: -2.0 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > . Why is it a good idea to show this Multi thing at the very > beginning of the search, when there's no evidence whatsoever that > the search is in danger of crossing into the next file in the > series? It's confusing to see this, because _I_ didn't ask for > multi-file or multibuffer isearch. It took me by surprise and > forced me to go looking for the reason (tried in other versions of > Emacs and in other buffers, before it dawned on me that it is > something specific to add-log mode). You want to be nice to me? > fine: then show this to me when I type C-s that will cross into the > next file, but not before that. _Then_ I might appreciate the > service. But when I type my first C-s, please give me just what I > asked for. > > . This should at least be documented in the manual. When I saw this > prompt, I tried to figure out what it meant (did someone really > think that "Multi" explains it all?), but it seems not to be > mentioned anywhere in the docs. Even the NEWS entry for Emacs > 23.1, which does say that isearch is automatically multi-file in > ChangeLog files, doesn't mention this prompt. I needed to wade > through isearch.el to find what it meant, only to find out that the > facility used to trigger it -- multi-search-next-buffer-function -- > is not documented in the Elisp manual, either, which sounds weird > if we consider such features useful in other modes. Is this a > secret of some sorts? +1 on both accounts. (And well put.) From unknown Tue Aug 19 02:50:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13592: 24.2.92; C-s prompts with "Multi I-search:" today Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 31 Jan 2013 00:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13592 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 13592@debbugs.gnu.org Received: via spool by 13592-submit@debbugs.gnu.org id=B13592.135959385816053 (code B ref 13592); Thu, 31 Jan 2013 00:58:02 +0000 Received: (at 13592) by debbugs.gnu.org; 31 Jan 2013 00:57:38 +0000 Received: from localhost ([127.0.0.1]:56479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U0iTB-0004Ar-LF for submit@debbugs.gnu.org; Wed, 30 Jan 2013 19:57:37 -0500 Received: from ps18281.dreamhost.com ([69.163.218.105]:43114 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U0iT8-0004Ab-HZ for 13592@debbugs.gnu.org; Wed, 30 Jan 2013 19:57:35 -0500 Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 983A923A9EF09A; Wed, 30 Jan 2013 16:56:53 -0800 (PST) From: Juri Linkov Organization: JURTA References: <83pq0mh5ex.fsf@gnu.org> Date: Thu, 31 Jan 2013 02:34:03 +0200 In-Reply-To: <83pq0mh5ex.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 30 Jan 2013 20:49:58 +0200") Message-ID: <87libamat2.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.5 (/) > . Why is it a good idea to show this Multi thing at the very > beginning of the search, when there's no evidence whatsoever that > the search is in danger of crossing into the next file in the > series? It's confusing to see this, because _I_ didn't ask for > multi-file or multibuffer isearch. It took me by surprise and > forced me to go looking for the reason (tried in other versions of > Emacs and in other buffers, before it dawned on me that it is > something specific to add-log mode). You want to be nice to me? > fine: then show this to me when I type C-s that will cross into the > next file, but not before that. When you type C-s that will cross into the next file, it appends this text to the isearch message: [repeat for next buffer] > _Then_ I might appreciate the service. But when I type my first C-s, > please give me just what I asked for. Multi-file isearch is a special kind of search, so the prefix "Multi" informs the user that the search will go through a set of files. This is like the prefix "Regexp" informing the user that the search is regexp-based, and other informative prefixes as well. > . This should at least be documented in the manual. When I saw this > prompt, I tried to figure out what it meant (did someone really > think that "Multi" explains it all?), but it seems not to be > mentioned anywhere in the docs. Even the NEWS entry for Emacs > 23.1, which does say that isearch is automatically multi-file in > ChangeLog files, doesn't mention this prompt. I needed to wade > through isearch.el to find what it meant, only to find out that the > facility used to trigger it -- multi-search-next-buffer-function -- > is not documented in the Elisp manual, either, which sounds weird > if we consider such features useful in other modes. It could be documented in (info "(emacs) Other Repeating Search") where `multi-isearch-buffers' is already described. From unknown Tue Aug 19 02:50:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13592: 24.2.92; C-s prompts with "Multi I-search:" today Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 31 Jan 2013 03:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13592 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov Cc: 13592@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 13592-submit@debbugs.gnu.org id=B13592.13596046451062 (code B ref 13592); Thu, 31 Jan 2013 03:58:01 +0000 Received: (at 13592) by debbugs.gnu.org; 31 Jan 2013 03:57:25 +0000 Received: from localhost ([127.0.0.1]:56546 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U0lHB-0000H5-5O for submit@debbugs.gnu.org; Wed, 30 Jan 2013 22:57:25 -0500 Received: from mtaout23.012.net.il ([80.179.55.175]:50180) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U0lH5-0000Gt-0o for 13592@debbugs.gnu.org; Wed, 30 Jan 2013 22:57:22 -0500 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MHH00G001202C00@a-mtaout23.012.net.il> for 13592@debbugs.gnu.org; Thu, 31 Jan 2013 05:56:36 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MHH00GZP1MC2X00@a-mtaout23.012.net.il>; Thu, 31 Jan 2013 05:56:36 +0200 (IST) Date: Thu, 31 Jan 2013 05:56:25 +0200 From: Eli Zaretskii In-reply-to: <87libamat2.fsf@mail.jurta.org> X-012-Sender: halo1@inter.net.il Message-id: <83k3qugg46.fsf@gnu.org> References: <83pq0mh5ex.fsf@gnu.org> <87libamat2.fsf@mail.jurta.org> X-Spam-Score: 0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: Juri Linkov > Cc: 13592@debbugs.gnu.org > Date: Thu, 31 Jan 2013 02:34:03 +0200 > > > . Why is it a good idea to show this Multi thing at the very > > beginning of the search, when there's no evidence whatsoever that > > the search is in danger of crossing into the next file in the > > series? It's confusing to see this, because _I_ didn't ask for > > multi-file or multibuffer isearch. It took me by surprise and > > forced me to go looking for the reason (tried in other versions of > > Emacs and in other buffers, before it dawned on me that it is > > something specific to add-log mode). You want to be nice to me? > > fine: then show this to me when I type C-s that will cross into the > > next file, but not before that. > > When you type C-s that will cross into the next file, > it appends this text to the isearch message: > > [repeat for next buffer] Then I submit that we don't need the uncalled-for "Multi" in the prompt. > > _Then_ I might appreciate the service. But when I type my first C-s, > > please give me just what I asked for. > > Multi-file isearch is a special kind of search, so the prefix "Multi" > informs the user that the search will go through a set of files. That information confuses when the user didn't ask for this to happen. > This is like the prefix "Regexp" informing the user that the search > is regexp-based, and other informative prefixes as well. It is OK to show "Multi" when the user explicitly invokes multi-isearch. > > . This should at least be documented in the manual. When I saw this > > prompt, I tried to figure out what it meant (did someone really > > think that "Multi" explains it all?), but it seems not to be > > mentioned anywhere in the docs. Even the NEWS entry for Emacs > > 23.1, which does say that isearch is automatically multi-file in > > ChangeLog files, doesn't mention this prompt. I needed to wade > > through isearch.el to find what it meant, only to find out that the > > facility used to trigger it -- multi-search-next-buffer-function -- > > is not documented in the Elisp manual, either, which sounds weird > > if we consider such features useful in other modes. > > It could be documented in (info "(emacs) Other Repeating Search") > where `multi-isearch-buffers' is already described. It should be documented earlier, right where I-Search is first introduced, because from the user perspective, she just invoked a simple I-Search. From unknown Tue Aug 19 02:50:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13592: 24.2.92; C-s prompts with "Multi I-search:" today Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Feb 2013 00:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13592 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 13592@debbugs.gnu.org Received: via spool by 13592-submit@debbugs.gnu.org id=B13592.135967890824262 (code B ref 13592); Fri, 01 Feb 2013 00:36:02 +0000 Received: (at 13592) by debbugs.gnu.org; 1 Feb 2013 00:35:08 +0000 Received: from localhost ([127.0.0.1]:58269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U14ax-0006JC-Lh for submit@debbugs.gnu.org; Thu, 31 Jan 2013 19:35:08 -0500 Received: from ps18281.dreamhost.com ([69.163.218.105]:58254 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U14au-0006J3-La for 13592@debbugs.gnu.org; Thu, 31 Jan 2013 19:35:05 -0500 Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 1ADB3258B9296F; Thu, 31 Jan 2013 16:34:17 -0800 (PST) From: Juri Linkov Organization: JURTA References: <83pq0mh5ex.fsf@gnu.org> <87libamat2.fsf@mail.jurta.org> <83k3qugg46.fsf@gnu.org> Date: Fri, 01 Feb 2013 01:58:56 +0200 In-Reply-To: <83k3qugg46.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 31 Jan 2013 05:56:25 +0200") Message-ID: <874nhxq6u7.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) >> This is like the prefix "Regexp" informing the user that the search >> is regexp-based, and other informative prefixes as well. > > It is OK to show "Multi" when the user explicitly invokes > multi-isearch. There is less need to show "Multi" when the user explicitly invokes multi-isearch, because the user already knows that multi-isearch is active. OTOH, when multi-isearch is activated implicitly, it is more important to inform the user about this case. This is like saying to users: "Beware, this is not a simple I-search". From unknown Tue Aug 19 02:50:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13592: 24.2.92; C-s prompts with "Multi I-search:" today Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Feb 2013 07:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13592 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov Cc: 13592@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 13592-submit@debbugs.gnu.org id=B13592.13597055145036 (code B ref 13592); Fri, 01 Feb 2013 07:59:01 +0000 Received: (at 13592) by debbugs.gnu.org; 1 Feb 2013 07:58:34 +0000 Received: from localhost ([127.0.0.1]:58521 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U1BW5-0001J9-KI for submit@debbugs.gnu.org; Fri, 01 Feb 2013 02:58:34 -0500 Received: from mtaout21.012.net.il ([80.179.55.169]:47450) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U1BW2-0001Iz-JP for 13592@debbugs.gnu.org; Fri, 01 Feb 2013 02:58:31 -0500 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MHJ005007EGTD00@a-mtaout21.012.net.il> for 13592@debbugs.gnu.org; Fri, 01 Feb 2013 09:57:42 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MHJ005ZO7G6KK90@a-mtaout21.012.net.il>; Fri, 01 Feb 2013 09:57:42 +0200 (IST) Date: Fri, 01 Feb 2013 09:57:34 +0200 From: Eli Zaretskii In-reply-to: <874nhxq6u7.fsf@mail.jurta.org> X-012-Sender: halo1@inter.net.il Message-id: <83boc4cvpt.fsf@gnu.org> References: <83pq0mh5ex.fsf@gnu.org> <87libamat2.fsf@mail.jurta.org> <83k3qugg46.fsf@gnu.org> <874nhxq6u7.fsf@mail.jurta.org> X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > From: Juri Linkov > Cc: 13592@debbugs.gnu.org > Date: Fri, 01 Feb 2013 01:58:56 +0200 > > >> This is like the prefix "Regexp" informing the user that the search > >> is regexp-based, and other informative prefixes as well. > > > > It is OK to show "Multi" when the user explicitly invokes > > multi-isearch. > > There is less need to show "Multi" when the user explicitly invokes > multi-isearch, because the user already knows that multi-isearch > is active. [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.169 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4976] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.7 (/) > From: Juri Linkov > Cc: 13592@debbugs.gnu.org > Date: Fri, 01 Feb 2013 01:58:56 +0200 > > >> This is like the prefix "Regexp" informing the user that the search > >> is regexp-based, and other informative prefixes as well. > > > > It is OK to show "Multi" when the user explicitly invokes > > multi-isearch. > > There is less need to show "Multi" when the user explicitly invokes > multi-isearch, because the user already knows that multi-isearch > is active. By that token, we should eliminate all the other prefixes as well, like Regexp, Word, etc. Or maybe even the I-search prompt as well. After all, "the user already knows that isearch is active", right? I think this is exactly the opposite of a good UI: these prompts give the user a confirmation that her keystrokes (M-c, M-r, etc.) were received and acted upon. Did it never happen to you that you were unsure whether you pressed a key firmly enough for Emacs to get it, or pressed the right key? These prompts are very valuable in these situations. Likewise, if you get distracted to something else (e.g., outside of Emacs) and come back later to continue the search. Or when you are working over a slow line. There's any number of situations where the prompts are useful, provided that the user actually requested those actions, and will _expect_ the prompts in response. > OTOH, when multi-isearch is activated implicitly, it is more important > to inform the user about this case. This is like saying to users: > "Beware, this is not a simple I-search". The "Beware" thing is inappropriate in this case, because this "non-simple" search is exactly identical to a "simple" search, _except_ when it's about to cross to the next file. Until that point, the extra prompt is a distraction at best, because it is _unexpected_. Anyway, I see that I cannot convince you, no matter what I say. So let's leave this at a disagreement. From unknown Tue Aug 19 02:50:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13592: 24.2.92; C-s prompts with "Multi I-search:" today Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Feb 2013 23:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13592 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 13592@debbugs.gnu.org Received: via spool by 13592-submit@debbugs.gnu.org id=B13592.13597626204177 (code B ref 13592); Fri, 01 Feb 2013 23:51:02 +0000 Received: (at 13592) by debbugs.gnu.org; 1 Feb 2013 23:50:20 +0000 Received: from localhost ([127.0.0.1]:60109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U1QN9-00015J-9D for submit@debbugs.gnu.org; Fri, 01 Feb 2013 18:50:19 -0500 Received: from ps18281.dreamhost.com ([69.163.218.105]:41854 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U1QN6-000159-Gy for 13592@debbugs.gnu.org; Fri, 01 Feb 2013 18:50:17 -0500 Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id E9E6E258B9296F; Fri, 1 Feb 2013 15:49:24 -0800 (PST) From: Juri Linkov Organization: JURTA References: <83pq0mh5ex.fsf@gnu.org> <87libamat2.fsf@mail.jurta.org> <83k3qugg46.fsf@gnu.org> <874nhxq6u7.fsf@mail.jurta.org> <83boc4cvpt.fsf@gnu.org> Date: Sat, 02 Feb 2013 01:44:06 +0200 In-Reply-To: <83boc4cvpt.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 01 Feb 2013 09:57:34 +0200") Message-ID: <87ehgz7ga9.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > Anyway, I see that I cannot convince you, no matter what I say. So > let's leave this at a disagreement. You don't have to convince me because I don't disagree with you :-) Multi-node I-search in the Info reader already doesn't show "Multi", it is identical to a simple search until it's about to cross to the next Info node. Multi-file I-search could do the same. What I'm trying to understand is the logic of showing "Multi" and should it be customizable? What you want is possible to do by the following patch that will show the prefix only when the user explicitly invokes multi-isearch. And customizability of the I-search prompt was recently discussed in bug#12988. === modified file 'lisp/isearch.el' --- lisp/isearch.el 2013-01-18 22:10:46 +0000 +++ lisp/isearch.el 2013-02-01 23:43:27 +0000 @@ -2530,7 +2530,8 @@ (defun isearch-message-prefix (&optional "word ") "") (if isearch-regexp "regexp " "") - (if multi-isearch-next-buffer-current-function "multi " "") + (if multi-isearch-file-list "multi-file " "") + (if multi-isearch-buffer-list "multi-buffer " "") (or isearch-message-prefix-add "") (if nonincremental "search" "I-search") (if isearch-forward "" " backward") 2. The documentation could be improved with something like this: === modified file 'doc/emacs/search.texi' --- doc/emacs/search.texi 2013-01-03 00:36:36 +0000 +++ doc/emacs/search.texi 2013-02-01 23:43:52 +0000 @@ -1375,6 +1375,22 @@ (@pxref{Repetition}). This command is just like @code{multi-isearch-buffers}, except it performs an incremental regexp search. +@item M-x multi-isearch-files +Prompt for one or more file names, ending with @key{RET}; then, +begin a multi-file incremental search in those files. (If the +search fails in one file, the next @kbd{C-s} tries searching the +next specified file, and so forth.) With a prefix argument, prompt +for a regexp and begin a multi-file incremental search in files +matching that regexp. + +@item M-x multi-isearch-files-regexp +This command is just like @code{multi-isearch-files}, except it +performs an incremental regexp search. + +In some modes that set the buffer-local variable +@code{multi-isearch-next-buffer-function} (e.g., in Change Log mode) +a multi-file incremental search is activated automatically. + @cindex Occur mode @cindex mode, Occur @item M-x occur From unknown Tue Aug 19 02:50:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13592: 24.2.92; C-s prompts with "Multi I-search:" today Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Feb 2013 09:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13592 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov Cc: 13592@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 13592-submit@debbugs.gnu.org id=B13592.135979846920989 (code B ref 13592); Sat, 02 Feb 2013 09:48:01 +0000 Received: (at 13592) by debbugs.gnu.org; 2 Feb 2013 09:47:49 +0000 Received: from localhost ([127.0.0.1]:60450 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U1ZhL-0005ST-GO for submit@debbugs.gnu.org; Sat, 02 Feb 2013 04:47:49 -0500 Received: from mtaout23.012.net.il ([80.179.55.175]:59952) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U1ZhJ-0005SH-AT for 13592@debbugs.gnu.org; Sat, 02 Feb 2013 04:47:46 -0500 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MHL00A006UZNU00@a-mtaout23.012.net.il> for 13592@debbugs.gnu.org; Sat, 02 Feb 2013 11:46:50 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MHL00AY2761EPB0@a-mtaout23.012.net.il>; Sat, 02 Feb 2013 11:46:50 +0200 (IST) Date: Sat, 02 Feb 2013 11:46:51 +0200 From: Eli Zaretskii In-reply-to: <87ehgz7ga9.fsf@mail.jurta.org> X-012-Sender: halo1@inter.net.il Message-id: <83fw1favzo.fsf@gnu.org> References: <83pq0mh5ex.fsf@gnu.org> <87libamat2.fsf@mail.jurta.org> <83k3qugg46.fsf@gnu.org> <874nhxq6u7.fsf@mail.jurta.org> <83boc4cvpt.fsf@gnu.org> <87ehgz7ga9.fsf@mail.jurta.org> X-Spam-Score: -1.2 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: Juri Linkov > Cc: 13592@debbugs.gnu.org > Date: Sat, 02 Feb 2013 01:44:06 +0200 > > Multi-node I-search in the Info reader already doesn't show "Multi", > it is identical to a simple search until it's about to cross > to the next Info node. > > Multi-file I-search could do the same. What I'm trying to understand is > the logic of showing "Multi" and should it be customizable? My take of it is that we should show "Multi" when the user requested that explicitly. > What you want is possible to do by the following patch > that will show the prefix only when the user explicitly > invokes multi-isearch. And customizability of the I-search > prompt was recently discussed in bug#12988. Works for me, thanks. > 2. The documentation could be improved with something like this: > > === modified file 'doc/emacs/search.texi' > --- doc/emacs/search.texi 2013-01-03 00:36:36 +0000 > +++ doc/emacs/search.texi 2013-02-01 23:43:52 +0000 > @@ -1375,6 +1375,22 @@ (@pxref{Repetition}). > This command is just like @code{multi-isearch-buffers}, except it > performs an incremental regexp search. > > +@item M-x multi-isearch-files > +Prompt for one or more file names, ending with @key{RET}; then, > +begin a multi-file incremental search in those files. (If the > +search fails in one file, the next @kbd{C-s} tries searching the > +next specified file, and so forth.) With a prefix argument, prompt > +for a regexp and begin a multi-file incremental search in files > +matching that regexp. > + > +@item M-x multi-isearch-files-regexp > +This command is just like @code{multi-isearch-files}, except it > +performs an incremental regexp search. > + > +In some modes that set the buffer-local variable > +@code{multi-isearch-next-buffer-function} (e.g., in Change Log mode) > +a multi-file incremental search is activated automatically. I would suggest to describe the "Multi I-search" prompt where this is discussed. Otherwise, this doc change is fine with me, thanks. From unknown Tue Aug 19 02:50:57 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Eli Zaretskii Subject: bug#13592: closed (Re: bug#13592: 24.2.92; C-s prompts with "Multi I-search:" today) Message-ID: References: <874mu8yydy.fsf@mail.jurta.org> <83pq0mh5ex.fsf@gnu.org> X-Gnu-PR-Message: they-closed 13592 X-Gnu-PR-Package: emacs Reply-To: 13592@debbugs.gnu.org Date: Sun, 09 Nov 2014 19:22:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1415560922-26363-1" This is a multi-part message in MIME format... ------------=_1415560922-26363-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #13592: 24.2.92; C-s prompts with "Multi I-search:" today which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 13592@debbugs.gnu.org. --=20 13592: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D13592 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1415560922-26363-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 13592-done) by debbugs.gnu.org; 9 Nov 2014 19:21:28 +0000 Received: from localhost ([127.0.0.1]:55094 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XnY3E-0006qV-FE for submit@debbugs.gnu.org; Sun, 09 Nov 2014 14:21:28 -0500 Received: from ps18281.dreamhost.com ([69.163.222.226]:52559 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XnY3D-0006qN-8g for 13592-done@debbugs.gnu.org; Sun, 09 Nov 2014 14:21:27 -0500 Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.222.226]) by ps18281.dreamhostps.com (Postfix) with ESMTP id B9EDC348328E50; Sun, 9 Nov 2014 11:21:26 -0800 (PST) From: Juri Linkov To: Eli Zaretskii Subject: Re: bug#13592: 24.2.92; C-s prompts with "Multi I-search:" today Organization: JURTA References: <83pq0mh5ex.fsf@gnu.org> <87libamat2.fsf@mail.jurta.org> <83k3qugg46.fsf@gnu.org> <874nhxq6u7.fsf@mail.jurta.org> <83boc4cvpt.fsf@gnu.org> <87ehgz7ga9.fsf@mail.jurta.org> <83fw1favzo.fsf@gnu.org> Date: Sun, 09 Nov 2014 21:20:09 +0200 In-Reply-To: <83fw1favzo.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 02 Feb 2013 11:46:51 +0200") Message-ID: <874mu8yydy.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 13592-done Cc: 13592-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > My take of it is that we should show "Multi" when the user requested > that explicitly. > Works for me, thanks. Installed. ------------=_1415560922-26363-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 30 Jan 2013 18:51:08 +0000 Received: from localhost ([127.0.0.1]:56134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U0ckV-0007OW-P7 for submit@debbugs.gnu.org; Wed, 30 Jan 2013 13:51:08 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55869) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U0ckS-0007ON-Uw for submit@debbugs.gnu.org; Wed, 30 Jan 2013 13:51:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U0cjp-0007ez-03 for submit@debbugs.gnu.org; Wed, 30 Jan 2013 13:50:26 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, USER_IN_WHITELIST autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:39819) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0cjo-0007eu-Tx for submit@debbugs.gnu.org; Wed, 30 Jan 2013 13:50:24 -0500 Received: from eggs.gnu.org ([208.118.235.92]:38976) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0cjm-0002Eo-SN for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2013 13:50:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U0cjl-0007d5-4w for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2013 13:50:22 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:43979) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0cjk-0007cu-OF for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2013 13:50:21 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MHG00100C8HOZ00@a-mtaout22.012.net.il> for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2013 20:50:11 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MHG001D4CBMLX10@a-mtaout22.012.net.il> for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2013 20:50:11 +0200 (IST) Date: Wed, 30 Jan 2013 20:49:58 +0200 From: Eli Zaretskii Subject: 24.2.92; C-s prompts with "Multi I-search:" today X-012-Sender: halo1@inter.net.il To: bug-gnu-emacs@gnu.org Message-id: <83pq0mh5ex.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -7.4 (-------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -7.4 (-------) Visit src/ChangeLog, then type 'C-s' and be amazed by the "Multi " prefix to the usual "I-search:" prompt. Yes, this is evidently there since Emacs 23.1. Yes, it probably tells you how much I search ChangeLog files, or look at the prompt when I do. But all of this aside, I have a couple of questions: . Why is it a good idea to show this Multi thing at the very beginning of the search, when there's no evidence whatsoever that the search is in danger of crossing into the next file in the series? It's confusing to see this, because _I_ didn't ask for multi-file or multibuffer isearch. It took me by surprise and forced me to go looking for the reason (tried in other versions of Emacs and in other buffers, before it dawned on me that it is something specific to add-log mode). You want to be nice to me? fine: then show this to me when I type C-s that will cross into the next file, but not before that. _Then_ I might appreciate the service. But when I type my first C-s, please give me just what I asked for. . This should at least be documented in the manual. When I saw this prompt, I tried to figure out what it meant (did someone really think that "Multi" explains it all?), but it seems not to be mentioned anywhere in the docs. Even the NEWS entry for Emacs 23.1, which does say that isearch is automatically multi-file in ChangeLog files, doesn't mention this prompt. I needed to wade through isearch.el to find what it meant, only to find out that the facility used to trigger it -- multi-search-next-buffer-function -- is not documented in the Elisp manual, either, which sounds weird if we consider such features useful in other modes. Is this a secret of some sorts? In GNU Emacs 24.2.92.1 (i386-mingw-nt5.1.2600) of 2013-01-11 on HOME-C4E4A596F7 Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --with-gcc (3.4) --cflags -Id:/usr/include/libxml2' Important settings: value of $LANG: ENU locale-coding-system: cp1255 default enable-multibyte-characters: t Major mode: Mail Minor modes in effect: shell-dirtrack-mode: t diff-auto-refine-mode: t flyspell-mode: t desktop-save-mode: t show-paren-mode: t display-time-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t temp-buffer-resize-mode: t line-number-mode: t auto-fill-function: mail-mode-auto-fill abbrev-mode: t Recent input: I S-SPC m e a n t SPC t o o - l o n g , SPC o f SPC c o u r s e . SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ C-w S o r r y . C-c C-s d d d SPC d d d d SPC d d d d d d SPC d SPC d d d C-c C-n r C-c C-y C-x C-x C-SPC C-w T h e r e ' s SPC n o SPC 1 1 M-/ SPC y e t SPC o n SPC e m a c s - 2 4 , SPC i t s SPC l a t e s t SPC i s SPC 1 1 1 2 0 8 . C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-w C-c C-s d d SPC n d SPC d d d d d M-p C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z d d d d d M-x r e p o r t - e m a c s - b u Recent messages: Reverting buffer `.bzr.log'. Auto-saving... Reverting buffer `.bzr.log'. [2 times] Mark set [2 times] Sending... Added to d:/usr/eli/rmail/SENT.MAIL Sending email Sending email done Sending...done No following nondeleted message Load-path shadows: None found. Features: (shadow emacsbug tar-mode thai-util thai-word vc-dispatcher descr-text pp etags mule-util ebuff-menu electric lpr shell utf-7 bug-reference add-log misearch multi-isearch rmailout network-stream starttls tls mail-extr smtpmail auth-source eieio password-cache dabbrev mailalias sendmail time-stamp help-mode tcl nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok sgml-mode conf-mode generic arc-mode archive-mode diff-mode dired-x cl-macs gv dired face-remap org-wl org-w3m org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp ob-exp org-exp-blocks org-agenda org-info org-gnus gnus-util org-docview org-bibtex bibtex org-bbdb org byte-opt warnings bytecomp byte-compile cconv advice help-fns advice-preload ob-tangle ob-ref ob-lob ob-table org-footnote org-src ob-comint ob-keys org-pcomplete pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob org-compat org-macs ob-eval org-loaddefs find-func cal-menu calendar cal-loaddefs parse-time vc-cvs gud comint ansi-color ring sh-script smie executable autoconf autoconf-mode make-mode jka-compr noutline outline easy-mmode info autorevert flyspell vc-bzr cc-langs cl cl-lib cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs qp rmailsum rmailmm message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader mail-parse rfc2231 rmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils desktop server filecache mairix cus-edit easymenu cus-start cus-load wid-edit saveplace midnight ispell generic-x paren battery time time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process w32 multi-tty emacs) ------------=_1415560922-26363-1--