[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: |
Tue, 29 Dec 2020 21:20:38 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) |
>> Such changes of keybindings are not something new: in 2011 we changed
>> 'C-s M-y' from 'isearch-yank-kill' to 'isearch-yank-pop',
>
> But this continued to work for the most frequent case of yanking last
> kill?
If 'C-s C-y' is easier to type than 'C-s M-y', shouldn't then
more beneficial to have 'C-s C-y' the most frequent case of
yanking last kill?
>> and also in 2011 changed 'C-s C-y' from 'isearch-yank-line' to
>> 'isearch-yank-kill' that was a more fundamental change.
>
> In Emacs 27 there was also change in C-M-w, and it's still painful :-)
>
> 'C-M-w' in isearch changed from 'isearch-del-char' to the new function
> 'isearch-yank-symbol-or-char'. 'isearch-del-char' is now bound to
> 'C-M-d'.
A good example of the change for better that makes these keybindings
more consistent and easier to use:
C-M-y isearch-yank-char
C-M-d isearch-del-char
and
C-w isearch-yank-word-or-char
C-M-w isearch-yank-symbol-or-char
If it was painful at first, how easy it was to adapt?
>> Of course, if after trying 'C-s C-y', you'd still prefer the old 'C-s M-y',
>> we could revert this change, but this would be a step backwards.
>
> The new workflow is "C-s C-y M-y M-y...", the old one is "C-s M-y
> M-y...". If we could make the first M-y just insert the last kill, then
> both workflows can live together, no? It's just the prompt after C-s
> M-y which annoys me currently.
Do you suggest to show the prompt only after 'C-s M-y M-y'?
OT1H, it would have an unexpected effect for users who expect
'C-s M-y M-y M-y ...' to continue inserting more items from
the kill-ring. OTOH, for users who want the prompt it would be
too inconvenient first to insert the last kill then show
the prompt.
Ok, since everyone wants the old keybinding back, I'll restore
isearch-yank-pop to old code, and also add a new command
'isearch-yank-from-kill-ring', but unbound because there is
no free key in isearch-mode.
- Re: Recentish C-s M-y change, (continued)
- Re: Recentish C-s M-y change, Lars Ingebrigtsen, 2020/12/28
- Re: Recentish C-s M-y change, Juri Linkov, 2020/12/29
- RE: Recentish C-s M-y change, Drew Adams, 2020/12/29
- Re: Recentish C-s M-y change, Jean Louis, 2020/12/29
- Re: Recentish C-s M-y change, Richard Stallman, 2020/12/30
- Re: Recentish C-s M-y change, Gregory Heytings, 2020/12/31
- Re: Recentish C-s M-y change, Filipp Gunbin, 2020/12/29
- Re: Recentish C-s M-y change,
Juri Linkov <=
- Re: Recentish C-s M-y change, Lars Ingebrigtsen, 2020/12/29
- Re: Recentish C-s M-y change, Jean Louis, 2020/12/30
- Re: Recentish C-s M-y change, Juri Linkov, 2020/12/30
- Re: Recentish C-s M-y change, Andreas Röhler, 2020/12/30
- Re: Recentish C-s M-y change, Gregory Heytings, 2020/12/30
- Re: Recentish C-s M-y change, Filipp Gunbin, 2020/12/30
- Re: Recentish C-s M-y change, Gregory Heytings, 2020/12/31
- Re: Recentish C-s M-y change, Filipp Gunbin, 2020/12/31
- Re: Recentish C-s M-y change, Gregory Heytings, 2020/12/31
- Re: Recentish C-s M-y change, Richard Stallman, 2020/12/31