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: Juri Linkov
Subject: Re: Let's make C-M-w in isearch yank symbol, not delete character
Date: Mon, 05 Mar 2018 23:25:38 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

>> > 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.
>
> Probably.  Although I think that the latter is much more important, so
> I'd be okay with having only it.

It makes sense to run the command to move point to other place without
exiting Isearch.  For example, after moving point typing ‘C-s’ works
fine and finds a new match after the new position.

>> 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.

Unfortunately, I have no idea what characters to append to the
search string in such cases.



reply via email to

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