emacs-devel
[Top][All Lists]
Advanced

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

Re: Recentish C-s M-y change


From: Juri Linkov
Subject: Re: Recentish C-s M-y change
Date: Thu, 14 Jan 2021 10:44:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

>>>>> 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.



reply via email to

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