emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: isearch multiple buffers


From: Juri Linkov
Subject: Re: isearch multiple buffers
Date: Fri, 12 Oct 2007 02:48:35 +0300
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux)

>> 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.

Making the multi-buffer search space continuous is more preferable when
the goal is to find the string no matter in what buffer it is located.

> 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).

Hmm, I did not think of this feature as a way of switching buffers.
This is an interesting POV: switching by content instead of buffer names.

-- 
Juri Linkov
http://www.jurta.org/emacs/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]