[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, 26 Feb 2018 05:26:48 +0200 |
> From: Juri Linkov <address@hidden>
> Date: Sun, 25 Feb 2018 22:55:40 +0200
> Cc: Emacs developers <address@hidden>
>
> Fortunately, it's easy to add support for yanking an expression:
> in addition to the existing option 'edit' of 'search-exit-option'
> we can also provide a new option 'move' that will sync the current
> search string with the new position in the buffer after moving point
> using all standard motion commands, e.g. `C-f' will add the next char
> to the end of the search string, `C-M-f' will add the next expression,
> `M-f' will add the next word, `C-b' will delete text from the end of
> the search string, etc. Here is the implementation:
Thanks. I think this needs a documentation update as well.
Also, this comment:
> ;; Other characters terminate the search and are then executed normally.
> - (search-exit-option
> + ((not (eq search-exit-option 'move))
is now not entirely accurate, right?