[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: |
Wed, 14 Aug 2019 23:39:17 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) |
>> This patch implements 'isearch-yank-until-char', a new yank command in
>> isearch.
>>
>> While in an isearch, one types C-M-c to yank into the search string
>> everything from point up to (but not including) the next instance of
>> a specified character. It prompts for the character.
>
>> feedback, both about the feature itself and about the choice of M-C-c as
>> the keybinding.
>
> Maybe M-z (since this new command seems analogous to zap-to-char)
> would be more mnemonic?
I guess someone might want 'M-z' to quit isearch and zap to the next char.
BTW, should the new command use the same function arguments '(arg char)'
to be more compatible with 'zap-to-char'?
Also I tried 'M-z <SPC>' at the end of the buffer and it raises the same error:
Debugger entered--Lisp error: (search-failed " ")
search-forward(" " nil nil 1)
zap-to-char(1 32)
funcall-interactively(zap-to-char 1 32)
call-interactively(zap-to-char nil nil)
command-execute(zap-to-char)
Re: PATCH: isearch-yank-until-char, Noam Postavsky, 2019/08/14
- Re: PATCH: isearch-yank-until-char,
Juri Linkov <=
Re: PATCH: isearch-yank-until-char, Juri Linkov, 2019/08/14
- Re: PATCH: isearch-yank-until-char, Karl Fogel, 2019/08/16
- Re: PATCH: isearch-yank-until-char, Juri Linkov, 2019/08/16
- Re: PATCH: isearch-yank-until-char, Karl Fogel, 2019/08/24
- RE: PATCH: isearch-yank-until-char, Drew Adams, 2019/08/24
- Re: PATCH: isearch-yank-until-char, Juri Linkov, 2019/08/25
- RE: PATCH: isearch-yank-until-char, Drew Adams, 2019/08/25
- Re: PATCH: isearch-yank-until-char, Karl Fogel, 2019/08/26
- RE: PATCH: isearch-yank-until-char, Drew Adams, 2019/08/26
- Re: PATCH: isearch-yank-until-char, Karl Fogel, 2019/08/26