From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: isearch multiple buffers Date: Wed, 24 Oct 2007 02:59:02 +0300 Organization: JURTA Message-ID: <873aw1fnex.fsf@jurta.org> References: <87odfcggvl.fsf@jurta.org> <87myut77c2.fsf@jurta.org> <873awlidih.fsf@offby1.atm01.sea.blarg.net> <871wc51any.fsf@jurta.org> <878x6a6ktw.fsf@jurta.org> <871wc15m2b.fsf@jurta.org> <87lk9ylkbb.fsf@jurta.org> <87hckk9uoa.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1193184428 30957 80.91.229.12 (24 Oct 2007 00:07:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Oct 2007 00:07:08 +0000 (UTC) Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 24 02:07:09 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IkTm8-0005LU-Ia for ged-emacs-devel@m.gmane.org; Wed, 24 Oct 2007 02:07:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IkTm0-0005xb-9c for ged-emacs-devel@m.gmane.org; Tue, 23 Oct 2007 20:07:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IkTlt-0005vK-AO for emacs-devel@gnu.org; Tue, 23 Oct 2007 20:06:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IkTlr-0005uR-Dn for emacs-devel@gnu.org; Tue, 23 Oct 2007 20:06:52 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IkTlr-0005uN-8p for emacs-devel@gnu.org; Tue, 23 Oct 2007 20:06:51 -0400 Original-Received: from gnome.kiev.sovam.com ([212.109.32.24]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IkTll-0004Er-0f; Tue, 23 Oct 2007 20:06:45 -0400 Original-Received: from relay02.kiev.sovam.com ([62.64.120.197]) by gnome.kiev.sovam.com with esmtp (Exim 4.67 (FreeBSD)) (envelope-from ) id 1IkTlW-000M0p-Qv; Wed, 24 Oct 2007 03:06:30 +0300 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay02.kiev.sovam.com with esmtp (Exim 4.67) (envelope-from ) id 1IkTlW-000EIA-39; Wed, 24 Oct 2007 03:06:30 +0300 In-Reply-To: (Richard Stallman's message of "Tue\, 23 Oct 2007 03\:12\:17 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) X-Scanner-Signature: a8c813420754d5015e2a5a3aeed75c84 X-DrWeb-checked: yes X-SpamTest-Envelope-From: juri@jurta.org X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Not Detected X-SpamTest-Info: Profiles 1661 [Oct 23 2007] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {HEADERS: header Content-Type found without required header Content-Transfer-Encoding} X-SpamTest-Method: none X-SpamTest-Rate: 25 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:81600 Archived-At: > > To make this a minor mode is undesirable because we do not want users > > to enable and disable it. I think it should simply be a subroution > > for that major modes can call. > > It is likely that there are some users who won't like this feature. > I think we shouldn't make it hard to disable. > > You have already implemented an option to disable it, and select > a few different behaviors. I think that is enough. There is no option to disable it. There is only one option that specifies where to pause the search. So isearch-buffers-minor-mode seems like a good option to disable it. > Also this minor mode could provide an indication in the mode line > (e.g. "X" or "X-Isearch" to mean cross-buffer search), so when the > search goes to another file, it will not surprise users. > > I do not quite follow. Precisely when do you suggest displaying this > in the mode line? > > (Moving to another buffer will show up in the mode line, of course. > So maybe that is plenty.) I think users should be aware of the active multi-buffer search, so moving to another buffer will not be a surprise. There are two places where this indication can be added: in the mode line as a minor mode "lighter" string, or/and as the prefix/suffix of the isearch message, e.g.: I-search: search_string [Repeat for next buffer] Multi-I-search: search_string [Repeat for next buffer] X-I-search: search_string [Repeat for next buffer] X-search: search_string [Repeat for next buffer] -- Juri Linkov http://www.jurta.org/emacs/