[Top][All Lists]

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

Re: Isearch interaction model

From: Juri Linkov
Subject: Re: Isearch interaction model
Date: Sun, 11 Mar 2018 23:58:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

>>>> But it you want to share string and regexp histories, it's easy to 
>>>> implement
>>>> by another layer of indirection like for query-replace history variables:
>>>> (defcustom query-replace-from-history-variable 'query-replace-history
>>>> (defcustom query-replace-to-history-variable 'query-replace-history
>>> Sure. It's possible to make this behavior customizable.
>> But then perhaps search-ring-yank-pointer and regexp-search-ring-yank-pointer
>> need similar indirection, or code could be smart enough to detect such
>> indirection and compute the right pointer depending on where such variables
>> point to.
> I really think you're over-thinking this problem. Let's just try a unified
> history and see whether it causes problems in practice. I suspect it'll
> feel perfectly natural, and we won't need complex indirection layers.

So far we have seen only two opinions: you prefer sharing histories, and
I keep the list of frequently used regexp searches in the separate regexp
history saved in the desktop file.

reply via email to

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