[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: |
Sat, 10 Mar 2018 23:20:33 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) |
> But people _do_ switch from regex to literal mode and back. That's why M-r
> is a convenient isearch binding for doing exactly that, and on prevision
> occasions when this topic has come up for discussion, others have indicated
> that they use this M-r binding.
I can't imagine the usefulness of switching from regex to literal mode
when the search string contains a complex regexp.
>> 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.
- Re: Isearch interaction model, (continued)
- Re: Isearch interaction model, Juri Linkov, 2018/03/04
- Re: Isearch interaction model, Juri Linkov, 2018/03/06
- Re: Isearch interaction model, dancol, 2018/03/06
- Re: Isearch interaction model, Juri Linkov, 2018/03/07
- Re: Isearch interaction model, dancol, 2018/03/07
- Re: Isearch interaction model, Juri Linkov, 2018/03/08
- Re: Isearch interaction model, Daniel Colascione, 2018/03/09
- Re: Isearch interaction model,
Juri Linkov <=
- Re: Isearch interaction model, Daniel Colascione, 2018/03/10
- Re: Isearch interaction model, Juri Linkov, 2018/03/11
- Re: Isearch interaction model, Eli Zaretskii, 2018/03/11
- Re: Isearch interaction model, Daniel Colascione, 2018/03/12
- Re: Isearch interaction model, Yuri Khan, 2018/03/12
Re: Isearch interaction model (was: Let's make C-M-w in isearch yank symbol, not delete character), Richard Stallman, 2018/03/02