[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Recentish C-s M-y change
From: |
Filipp Gunbin |
Subject: |
Re: Recentish C-s M-y change |
Date: |
Thu, 14 Jan 2021 18:34:42 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) |
On 14/01/2021 10:44 +0200, Juri Linkov wrote:
>>>>>> Many commands in isearch-mode-map explicitly allow and use a prefix
>>>>>> argument (C-q, C-r, C-s, C-w, ...). isearch-yank-kill (C-y) and
>>>>>> isearch-yank-pop (M-y) accept one, but it is unused. I don't see what
>>>>>> meaning could be attached to a numeric argument to isearch-yank-kill or
>>>>>> isearch-yank-pop, so I think that using C-u to start an interactive
>>>>>> selection with these two commands would make sense.
>>>>>
>>>>> The problem is that C-u has other meaning in 'C-u M-y' where it puts
>>>>> point at beginning and mark at end.
>>>>
>>>> Are you sure? I don't see this, I do not see any difference between C-s
>>>> M-y and C-s C-u M-y.
>>>
>>> I meant the global C-u M-y. But since its global meaning makes no sense
>>> in isearch, I added C-s C-u M-y as you suggested.
>>
>> I'm a bit opposed to this change, because, as I wrote in this thread, it
>> will introduce a behaviour-changing prefix arg in isearch-specific
>> command.
>>
>> isearch already has many commands, and we'd better keep them simple,
>
> I agree that better to keep isearch commands simple, and indeed
> a new isearch command that precisely mirrors the global command
> is as simple as possible. But its backward-compatible counterpart
> isearch command is already a mess, so adding a prefix arg to it
> doesn't make it much more complicated.
Except that it sets a precedent for complicating other isearch
commands...
- Re: Recentish C-s M-y change, (continued)
Re: Recentish C-s M-y change, chad, 2021/01/01
Re: Recentish C-s M-y change, Juri Linkov, 2021/01/04
Re: Recentish C-s M-y change, Gregory Heytings, 2021/01/27
Re: Recentish C-s M-y change, Juri Linkov, 2021/01/28
Re: Recentish C-s M-y change, Richard Stallman, 2021/01/30
Re: Recentish C-s M-y change, Gregory Heytings, 2021/01/30
Re: Recentish C-s M-y change, Gregory Heytings, 2021/01/30
Re: Recentish C-s M-y change, Juri Linkov, 2021/01/30