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: Thu, 25 Oct 2007 00:33:59 +0300 Organization: JURTA Message-ID: <87wstcrw20.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 1193264839 29250 80.91.229.12 (24 Oct 2007 22:27:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Oct 2007 22:27:19 +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 Thu Oct 25 00:27:19 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 1Ikofr-0005EX-QO for ged-emacs-devel@m.gmane.org; Thu, 25 Oct 2007 00:26:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ikofj-0006gy-CI for ged-emacs-devel@m.gmane.org; Wed, 24 Oct 2007 18:25:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ikoff-0006dt-4W for emacs-devel@gnu.org; Wed, 24 Oct 2007 18:25:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ikofc-0006a7-HY for emacs-devel@gnu.org; Wed, 24 Oct 2007 18:25:49 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ikofc-0006a4-De for emacs-devel@gnu.org; Wed, 24 Oct 2007 18:25:48 -0400 Original-Received: from mailman.kiev.sovam.com ([89.162.150.100]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IkofZ-0002Oj-04; Wed, 24 Oct 2007 18:25:45 -0400 Original-Received: from relay01.kiev.sovam.com ([62.64.120.200]) by mailman.kiev.sovam.com with esmtp (Exim 4.63 (FreeBSD)) (envelope-from ) id 1IkrTV-0009jQ-E7; Thu, 25 Oct 2007 01:25:29 +0000 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay01.kiev.sovam.com with esmtp (Exim 4.67) (envelope-from ) id 1IkofT-000Mly-6s; Thu, 25 Oct 2007 01:25:39 +0300 In-Reply-To: (Drew Adams's message of "Tue\, 23 Oct 2007 17\:32\:42 -0700") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) X-Scanner-Signature: c2436a487120708c9e0f2b31fdd4cc45 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 1669 [Oct 25 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:81667 Archived-At: > Is there no way for a user to interactively choose the buffers to search? If > so, how about at least letting a user search, say, all of the buffers marked > (with `>') in the Buffer List (C-x C-b), in the order they currently appear > in that list? That is, have the default value of > `isearch-buffers-next-buffer-function' be a function that provides this > behavior. Actually this suggests adding a new global mode isearch-buffers-mode. When it is active and the global variable isearch-buffers-next-buffer-function contains a function that return the next buffer from the set of marked buffers from the buffer list, this could work. But what to do when isearch enters a ChangeLog buffer that has a buffer-local value of isearch-buffers-next-buffer-function? After leaving this buffer, isearch will continue to search the next ChangeLog file, not the next buffer from the buffer list. -- Juri Linkov http://www.jurta.org/emacs/