[Top][All Lists]

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

Re: PATCH: isearch-yank-until-char

From: Juri Linkov
Subject: Re: PATCH: isearch-yank-until-char
Date: Sun, 18 Aug 2019 01:51:16 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

>>> I like the idea, but would welcome even more warmly an isearch which
>>> yanks "whatever text is skipped by the next command" so it can be used
>>> to yank the next word, sexp, char, ...
>> A.k.a. isearch-yank-on-move.
> I was thinking of it more as a prefix command than a variable, but other
> than that, yes.

Do you think it could be a prefix command invoked before every motion
key sequence, or more toggle-like key to enable a isearch-yank-on-move mode?

>> Since there is no non-isearch global command to skip to the next char
>> that could be used by isearch-yank-on-move, a fictional command is needed
>> like this
>>   (defun skip-to-char (arg char)
>>     (interactive "^p\ncSkip to char: ")
>>     (search-forward (char-to-string char) nil nil arg)
>>     (forward-char -1))
> Indeed,

But Karl's patch is still needed because there will be no global
zap-like command bound to C-M-c.

reply via email to

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