bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#7567: Please add a history variable to read-regexp


From: Lennart Borgman
Subject: bug#7567: Please add a history variable to read-regexp
Date: Tue, 7 Dec 2010 00:46:45 +0100

On Tue, Dec 7, 2010 at 12:03 AM, Juri Linkov <juri@jurta.org> wrote:
>
>> The current read-regexp use is problematic for example in
>> multi-isearch-read-matching-buffers and
>> multi-occur-in-matching-buffers. I think a common history variable
>> could be used for those cases, but they currently use the default
>> regexp-history variable which seems totally inappropriate.
>
> `regexp-history' is a common history variable for all commands
> that read a regexp from the minibuffer.  I don't understand
> what is wrong with that?

Please take a look in the current code in query-replace-read-from.
This currently does not use read-regexp (which it should) because it
is easier to switch history variable if you don't.





reply via email to

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