emacs-devel
[Top][All Lists]
Advanced

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

Re: Let's make C-M-w in isearch yank symbol, not delete character


From: Eli Zaretskii
Subject: Re: Let's make C-M-w in isearch yank symbol, not delete character
Date: Mon, 05 Mar 2018 05:31:11 +0200

> From: Juri Linkov <address@hidden>
> Cc: address@hidden
> Date: Sun, 04 Mar 2018 23:36:33 +0200
> 
> > Typing "C-s foo C-a" produces "foo^A" in the search string here, so I
> > think the manual is accurate, whereas the comment is wrong.  Are you
> > saying that you don't see control characters being appended literally,
> > under this option?
> 
> But point jumps to the beginning of the line

Not here, it doesn't.  If it jumps for you, there's something we do
differently.

> So actually it does both: appends control characters and runs the
> command, and doing both makes no sense.  Then maybe we should create two
> separate options for search-exit-option: one to run the command
> and another to append control characters.

Why does it make sense to run the command?

> When typing them with search-exit-option customized to nil, I see
> such errors in *Messages*
> 
>   Error in pre-command-hook (isearch-pre-command-hook):
>   (wrong-type-argument characterp right)
> 
>   Error in pre-command-hook (isearch-pre-command-hook):
>   (wrong-type-argument characterp 134217830)

That's a bug that needs to be fixed, I think.



reply via email to

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