emacs-devel
[Top][All Lists]
Advanced

[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:34:47 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

> If it's a useful contribution to Emacs, then I'll install it.  I'll wait at
> least three days to get feedback, both about the feature itself and about
> the choice of M-C-c as the keybinding.

Nice addition, it will allow typing 'C-s C-M-c <SPC>' to yank the next 
word/symbol.

Globally 'C-M-c' is bound to 'exit-recursive-edit', so the question is
does anyone want 'C-M-c' to quit isearch and execute 'exit-recursive-edit'?
I never used 'C-M-c' to quit isearch.

One problem is that typing 'C-s C-M-c <SPC>' at the end of the buffer
raises the error:

  Debugger entered--Lisp error: (search-failed " ")
    search-forward(" ")
    isearch-yank-until-char(32)
    funcall-interactively(isearch-yank-until-char 32)
    call-interactively(isearch-yank-until-char nil nil)
    command-execute(isearch-yank-until-char)

and leaves isearch in a broken state.  Should your new command
catch this error?



reply via email to

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