help-gnu-emacs
[Top][All Lists]
Advanced

[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 <address@hidden>,
 Tassilo Horn <address@hidden> wrote:

> Peter Dyballa <address@hidden> 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, address@hidden
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


reply via email to

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