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: Sun, 28 Oct 2007 02:27:34 +0300 Organization: JURTA Message-ID: <87fxzwm975.fsf@jurta.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1193528157 24540 80.91.229.12 (27 Oct 2007 23:35:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Oct 2007 23:35:57 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 28 01:35:58 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 1IlvCA-0003Yu-IB for ged-emacs-devel@m.gmane.org; Sun, 28 Oct 2007 01:35:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IlvC1-0003sp-O1 for ged-emacs-devel@m.gmane.org; Sat, 27 Oct 2007 19:35:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IlvBA-0003fl-Hc for emacs-devel@gnu.org; Sat, 27 Oct 2007 19:34:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IlvB9-0003ej-4p for emacs-devel@gnu.org; Sat, 27 Oct 2007 19:34:56 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IlvB8-0003ec-MN for emacs-devel@gnu.org; Sat, 27 Oct 2007 19:34:54 -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 1IlvB2-0000EE-K1; Sat, 27 Oct 2007 19:34:48 -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 1IlvB0-0007By-Vf; Sun, 28 Oct 2007 02:34:46 +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 1IlvAy-0008s0-M3; Sun, 28 Oct 2007 02:34:45 +0300 In-Reply-To: (Drew Adams's message of "Fri\, 26 Oct 2007 17\:13\:33 -0700") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) X-Scanner-Signature: 0a21689c2f1d2e94d8aa83f1a1b60733 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 1690 [Oct 27 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:81892 Archived-At: > Offhand, I'd say the second is sufficient: invoking `C-s' from within Buffer > List or Dired ignores the marked buffers/files - it doesn't do multi-buffer > search. But I like the idea of being able to toggle a set of marks on and > off. in fact, I'd like that to be available for all kinds of marks (choosing > the type of mark to toggle, perhaps, as we do for `dired-change-marks'). Another useful type of isearch in Buffer List or Dired is the search restricted to the file name column. This type of isearch should search text only in file names. But the same obstacle prevents installing this useful feature: there is no clear way of starting this type of isearch. This suggests adding a new prefix key for starting different isearch types. I think a good mnemonic prefix key would be `M-s'. So we could have the following keybindings: `M-s *' - start multi-buffer isearch in Buffer List or multi-file isearch in Dired; `M-s |' - start isearch restricted to file names or buffer names `M-s w' - start word search instead of using the ugly hack of typing C-w as the first keystroke in the minibuffer for editing the search string. -- Juri Linkov http://www.jurta.org/emacs/