[Top][All Lists]

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

Re: Recentish C-s M-y change

From: Gregory Heytings
Subject: Re: Recentish C-s M-y change
Date: Wed, 27 Jan 2021 22:01:29 +0000

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.

Thank you!

But... could you perhaps also add C-s C-u C-y, as I suggested? If not, why not? The prefix argument is currently ignored by C-y.

I believe accessing the new feature with both C-s C-u C-y and C-s C-u M-y is useful: C-s C-u C-y is useful to immediately enter an interactive selection (it's convenient because it only uses the control modifier), and C-s C-y M-y ... C-u M-y is useful to enter an interactive selection while using the non-interactive selection.

reply via email to

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