[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: automatic selection during search
From: |
Barry Margolin |
Subject: |
Re: automatic selection during search |
Date: |
Thu, 26 Sep 2013 10:46:55 -0400 |
User-agent: |
MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) |
In article <mailman.2906.1380186548.10748.help-gnu-emacs@gnu.org>,
Tassilo Horn <tsdh@gnu.org> wrote:
> Peter Dyballa <Peter_Dyballa@web.de> writes:
>
> > But, the same behaviour is also shown in emacs -Q: When something is
> > selected and the point is inside this selection and you start isearch,
> > then the selection is automatically extended. I could imagine that an
> > isearch hook could help which first switches off the selectionâ¦
>
> Yes,
>
> (add-hook 'isearch-mode-hook 'deactivate-mark)
>
> seems to do the trick.
That will break the common sequence C-@ C-s which *should* mark the
region from where you started to where the search completes.
The OP wants to deactivate the region if he searches after copying to
the clipboard, not every time he does a search.
If this happens automatically when using cursor movement commands, it
seems like a bug if it doesn't also happen when doing a search.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
- automatic selection during search, Bostjan Vilfan, 2013/09/25
- Re: automatic selection during search, Peter Dyballa, 2013/09/25
- RE: automatic selection during search, Drew Adams, 2013/09/25
- Re: automatic selection during search, Yuri Khan, 2013/09/25
- Re: automatic selection during search, Peter Dyballa, 2013/09/26
- Re: automatic selection during search, Tassilo Horn, 2013/09/26
- Message not available
- Re: automatic selection during search,
Barry Margolin <=
- RE: automatic selection during search, Drew Adams, 2013/09/26
- Re: automatic selection during search, Yuri Khan, 2013/09/26
- Re: automatic selection during search, Stefan Monnier, 2013/09/26
- Message not available
- Re: automatic selection during search, Barry Margolin, 2013/09/26
- RE: automatic selection during search, Drew Adams, 2013/09/26
- Message not available
- Re: automatic selection during search, Barry Margolin, 2013/09/26
- Re: automatic selection during search, Peter Dyballa, 2013/09/26
Message not available