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: Thu, 25 Oct 2007 00:23:23 +0300
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux)

>     There is no option to disable it.  There is only one option that
>     specifies where to pause the search.
>
> Let's rename that variable to isearch-multi-buffers,
> and make nil mean don't search other buffers.
> The value t could mean don't pause,
> and the value `pause' could mean "All buffers".

Sorry, this is not possible, because when this feature is active
it depends on other 4 variables:

  isearch-mode-hook
  isearch-search-fun-function
  isearch-wrap-function
  isearch-push-state-function

and isearch-buffers-minor-mode command sets these variables to values
that make this feature work.

>       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.:
>
> Yes, but my question is WHEN to display this.  All the time
> when the feature is enabled?  Only while searching?

I think to display it only while searching, together with the string
"Isearch" in the mode line which is displayed only while searching.

>     I-search: search_string [Repeat for next buffer]
>
> "[Repeat for next buffer]" seems rather long; often it will not fit
> in the line, and making the minibuffer grow a line would be a pain.

I have no better idea now.

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




reply via email to

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