From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: isearch multiple buffers Date: Thu, 11 Oct 2007 10:14:26 -0400 Message-ID: References: <87odfcggvl.fsf@jurta.org> <87myut77c2.fsf@jurta.org> <873awlidih.fsf@offby1.atm01.sea.blarg.net> <871wc51any.fsf@jurta.org> <878x6a6ktw.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1192112120 4065 80.91.229.12 (11 Oct 2007 14:15:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 Oct 2007 14:15:20 +0000 (UTC) Cc: emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 11 16:15: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 1IfyoQ-0002Oq-HU for ged-emacs-devel@m.gmane.org; Thu, 11 Oct 2007 16:14:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IfyoJ-0006fB-K6 for ged-emacs-devel@m.gmane.org; Thu, 11 Oct 2007 10:14:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IfyoE-0006cz-Kc for emacs-devel@gnu.org; Thu, 11 Oct 2007 10:14:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IfyoC-0006ab-0v for emacs-devel@gnu.org; Thu, 11 Oct 2007 10:14:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IfyoA-0006a4-Rd for emacs-devel@gnu.org; Thu, 11 Oct 2007 10:14:38 -0400 Original-Received: from x-132-204-254-24.xtpr.umontreal.ca ([132.204.254.24] helo=ceviche.home) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ifyo8-0006X0-2f for emacs-devel@gnu.org; Thu, 11 Oct 2007 10:14:38 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id C6081B41BB; Thu, 11 Oct 2007 10:14:26 -0400 (EDT) In-Reply-To: <878x6a6ktw.fsf@jurta.org> (Juri Linkov's message of "Thu\, 11 Oct 2007 12\:45\:07 +0300") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:80612 Archived-At: > Perhaps, we should add a new user option with 3 possible values: > 1. don't stop in the initial buffer > 2. stop once in the initial buffer > 3. stop in every next buffer I think the two behaviors are quite different conceptually: if we switch to another buffer without requiring an additional C-s, we're giving the illusion that all the files are really just a single file, whereas otherwise we're just making it easier to search through several files. Both are attractive. The first option is pretty powerful: you can use it as an alternative to C-x b (e.g. if you set isearch-buffers-next-buffer-function to cycle through all the files in your project, for example). Stefan