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#13592: 24.2.92; C-s prompts with "Multi I-search:" today Date: Wed, 30 Jan 2013 20:49:58 +0200 Message-ID: <83pq0mh5ex.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1359571891 7259 80.91.229.3 (30 Jan 2013 18:51:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Jan 2013 18:51:31 +0000 (UTC) To: 13592@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 30 19:51:51 2013 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 1U0clC-0007JM-0R for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Jan 2013 19:51:50 +0100 Original-Received: from localhost ([::1]:58481 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0cku-0002HS-0y for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Jan 2013 13:51:32 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39133) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0cko-0002HB-K2 for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2013 13:51:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U0ckm-0007pq-WB for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2013 13:51:26 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50670) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0ckm-0007pi-S0 for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2013 13:51:24 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U0clO-0007Pf-A6 for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2013 13:52:02 -0500 X-Loop: help-debbugs@gnu.org 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: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.135957186828433 (code B ref -1); Wed, 30 Jan 2013 18:52:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Jan 2013 18:51:08 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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) Original-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) X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:70489 Archived-At: 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)