unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Filipp Gunbin <fgunbin@fastmail.fm>
To: Juri Linkov <juri@linkov.net>
Cc: Lars Ingebrigtsen <larsi@gnus.org>, emacs-devel@gnu.org
Subject: Re: Recentish C-s M-y change
Date: Wed, 30 Dec 2020 18:05:36 +0300	[thread overview]
Message-ID: <m2h7o3ibb3.fsf@fastmail.fm> (raw)
In-Reply-To: <87eej8ifll.fsf@mail.linkov.net> (Juri Linkov's message of "Tue,  29 Dec 2020 21:20:38 +0200")

On 29/12/2020 21:20 +0200, Juri Linkov wrote:

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

It's not easier.  Some time ago I learned to type all modifiers with one
hand, and a letter with another.  This sometimes may be slower, but in
the end it's more comfortable, as there's no need to press distant keys
by one hand.  With this way of typing, C-s C-y and C-s M-y are
equivalent.

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

These are good changes IMO, they make sense, it's just that I would
prefer to have the new binding while preserving the old, so I could
re-learn smootly.  I still occasionally type the wrong key.

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

No, I was suggesting that the promting command be put on some other key
binding, like C-s TAB maybe (it inserts TAB currently, but that can be
done with C-s C-q TAB).

And both C-s C-y M-y M-y.. and C-s M-y M-y... may do the same - insert
last kill, then continue with previous ones.  This way everybody can
learn new binding.

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

Thanks!



  parent reply	other threads:[~2020-12-30 15:05 UTC|newest]

Thread overview: 101+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-28  1:09 Recentish C-s M-y change Lars Ingebrigtsen
2020-12-28  8:45 ` Juri Linkov
2020-12-28 17:19   ` Juri Linkov
2020-12-28 17:30   ` Filipp Gunbin
2020-12-28 17:50     ` Clément Pit-Claudel
2020-12-29  6:05       ` Richard Stallman
2020-12-29  0:46   ` Lars Ingebrigtsen
2020-12-29  9:34     ` Juri Linkov
2020-12-29 17:25       ` Drew Adams
2020-12-30  4:57         ` Jean Louis
2020-12-30  5:26         ` Richard Stallman
2020-12-31 15:28           ` Gregory Heytings via Emacs development discussions.
2021-01-01  7:21             ` Richard Stallman
2021-01-01  9:15               ` Gregory Heytings via Emacs development discussions.
2021-01-02  5:35                 ` Richard Stallman
2021-01-02  9:03                   ` Gregory Heytings via Emacs development discussions.
2021-01-02  9:27                     ` Alfred M. Szmidt
2021-01-02 11:55                       ` Gregory Heytings via Emacs development discussions.
2021-01-03  5:58                         ` Richard Stallman
2021-01-04  0:04                           ` Drew Adams
2021-01-05  6:28                             ` Richard Stallman
2021-01-05 16:30                               ` Drew Adams
2021-01-06  5:14                                 ` Richard Stallman
2021-01-06  9:41                                   ` Gregory Heytings via Emacs development discussions.
2021-01-08  6:17                                     ` Richard Stallman
2021-01-04  9:23                           ` Gregory Heytings via Emacs development discussions.
2021-01-05  6:44                             ` Richard Stallman
2021-01-06  0:13                               ` Gregory Heytings via Emacs development discussions.
2021-01-07  7:39                                 ` Richard Stallman
2021-01-01 19:12               ` Drew Adams
2020-12-29 18:35       ` Filipp Gunbin
2020-12-29 19:20         ` Juri Linkov
2020-12-30  2:45           ` Lars Ingebrigtsen
2020-12-30  5:08           ` Jean Louis
2020-12-30  9:32             ` Juri Linkov
2020-12-30 10:08               ` Andreas Röhler
2020-12-30 11:13               ` Gregory Heytings via Emacs development discussions.
2020-12-30 15:12                 ` Filipp Gunbin
2020-12-31 15:18                   ` Gregory Heytings via Emacs development discussions.
2020-12-31 17:09                     ` Filipp Gunbin
2020-12-31 19:09                       ` Gregory Heytings via Emacs development discussions.
2021-01-04 17:50                         ` Juri Linkov
2021-01-04 18:22                           ` Gregory Heytings via Emacs development discussions.
2021-01-13 18:19                             ` Juri Linkov
2021-01-13 19:34                               ` Filipp Gunbin
2021-01-14  8:44                                 ` Juri Linkov
2021-01-14 15:34                                   ` Filipp Gunbin
2021-01-27 22:01                               ` Gregory Heytings
2021-01-28  8:58                                 ` Juri Linkov
2021-01-30  5:54                                   ` Richard Stallman
2021-01-30 10:12                                     ` Gregory Heytings
2021-02-02  5:36                                       ` Richard Stallman
2021-01-30 10:42                                   ` Gregory Heytings
2021-01-30 18:37                                     ` Juri Linkov
2020-12-31  5:54                 ` Richard Stallman
2020-12-31 15:29                   ` Gregory Heytings via Emacs development discussions.
2021-01-01  7:21                     ` Richard Stallman
2021-01-01  8:02                       ` Eli Zaretskii
2021-01-02  5:28                         ` Richard Stallman
2021-01-02  7:09                           ` Eli Zaretskii
2020-12-30 15:08               ` Filipp Gunbin
2020-12-30 17:32               ` Drew Adams
2020-12-31  5:54               ` Richard Stallman
2020-12-31 10:44                 ` Alfred M. Szmidt
2020-12-31 11:18                   ` Lars Ingebrigtsen
2020-12-31 11:29                     ` Alfred M. Szmidt
2021-01-01 10:53                       ` Lars Ingebrigtsen
2021-01-01 11:14                         ` Alfred M. Szmidt
2021-01-01 12:14                           ` Eli Zaretskii
2021-01-01 12:41                             ` Alfred M. Szmidt
2020-12-31 14:30                   ` Eli Zaretskii
2020-12-31 15:42                     ` Alfred M. Szmidt
2020-12-31 16:41                       ` Eli Zaretskii
2021-01-01  7:20                         ` Richard Stallman
2020-12-31 15:48                     ` Dmitry Gutov
2020-12-31 15:29                 ` Gregory Heytings via Emacs development discussions.
2020-12-30 15:05           ` Filipp Gunbin [this message]
2020-12-30  5:04         ` Jean Louis
2020-12-29  6:01   ` Richard Stallman
2020-12-29  6:14     ` Drew Adams
2020-12-30  9:33     ` Juri Linkov
2020-12-31  5:54       ` Richard Stallman
2020-12-29  5:56 ` Richard Stallman
     [not found] <<87r1na4tyu.fsf@gnus.org>
     [not found] ` <<87tus6tj7s.fsf@mail.linkov.net>
     [not found]   ` <<87a6txigm1.fsf@gnus.org>
     [not found]     ` <<874kk5lzew.fsf@mail.linkov.net>
     [not found]       ` <<m2sg7o8nq3.fsf@fastmail.fm>
     [not found]         ` <<87eej8ifll.fsf@mail.linkov.net>
     [not found]           ` <<X+wLPA/Q8TwWYjM5@protected.rcdrun.com>
     [not found]             ` <<87h7o3k5b5.fsf@mail.linkov.net>
     [not found]               ` <<E1kuqup-0001Ly-18@fencepost.gnu.org>
     [not found]                 ` <<E1kuvRe-00051d-SB@fencepost.gnu.org>
2020-12-31 16:54                   ` Drew Adams
2020-12-31 17:18                     ` Filipp Gunbin
2021-01-01 11:14                     ` Alfred M. Szmidt
2021-01-01 12:13                       ` Eli Zaretskii
2021-01-02  5:34                         ` Richard Stallman
2021-01-02  7:15                           ` Eli Zaretskii
2021-01-03  6:01                             ` Richard Stallman
2021-01-03 15:05                               ` Eli Zaretskii
2021-01-04  5:17                                 ` Richard Stallman
2021-01-04 15:03                                   ` Eli Zaretskii
2021-01-04 17:44                                     ` Juri Linkov
2021-01-04 18:20                                       ` Eli Zaretskii
2021-01-04 18:22                                       ` Drew Adams
2021-01-03  6:01                             ` Richard Stallman
2021-01-03 15:09                               ` Eli Zaretskii
2021-01-01 22:47                       ` chad
     [not found]                   ` <<83v9cigiaa.fsf@gnu.org>
     [not found]                     ` <<E1kv065-0004mD-6v@fencepost.gnu.org>
     [not found]                       ` <<83k0sygc73.fsf@gnu.org>
2020-12-31 17:02                         ` Drew Adams
     [not found] <<<87r1na4tyu.fsf@gnus.org>
     [not found] ` <<<87tus6tj7s.fsf@mail.linkov.net>
     [not found]   ` <<<87a6txigm1.fsf@gnus.org>
     [not found]     ` <<<874kk5lzew.fsf@mail.linkov.net>
     [not found]       ` <<<m2sg7o8nq3.fsf@fastmail.fm>
     [not found]         ` <<<87eej8ifll.fsf@mail.linkov.net>
     [not found]           ` <<<X+wLPA/Q8TwWYjM5@protected.rcdrun.com>
     [not found]             ` <<<87h7o3k5b5.fsf@mail.linkov.net>
     [not found]               ` <<<E1kuqup-0001Ly-18@fencepost.gnu.org>
     [not found]                 ` <<<E1kuvRe-00051d-SB@fencepost.gnu.org>
     [not found]                   ` <<fed43c20-1c46-4cc9-b02a-b9f48f10c035@default>
     [not found]                     ` <<E1kvIOG-00011a-4w@fencepost.gnu.org>
     [not found]                       ` <<83wnwwg8iu.fsf@gnu.org>
2021-01-01 19:10                         ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2h7o3ibb3.fsf@fastmail.fm \
    --to=fgunbin@fastmail.fm \
    --cc=emacs-devel@gnu.org \
    --cc=juri@linkov.net \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).