[Top][All Lists]

[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 14:53:05 -0400
User-agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)

In article <address@hidden>,
 Drew Adams <address@hidden> wrote:

> > > > the common sequence C-@ C-s ... *should* mark the
> > > > region from where you started to where the search completes.
> > >
> > > Yes.
> > >
> > > It's fine for a given user to add such behavior via a hook, if s?he wants.
> > >
> > > But the behavior of extending the active region during Isearch should not
> > > be considered a bug.  A priori, Isearch should make no decisions about
> > > changing the region activation.  Leave it up to the user.
> > 
> > But shouldn't the default behavior be consistent with cursor motion
> > commands? Either they all should extend the region or none should.
> Sorry, I don't quite understand what you are saying.  Is it not the case that
> Isearch is consistent with cursor motion commands?  To me, it seems to be.

Me, too. I thought the OP said it wasn't for him, but it was actually 
someone else responding. He wrote:

> My use case is: I copy something to clipboard and want to teleport to
> a different place and paste it there. When I use usual cursor movement
> keys (arrows, PgUp/Dn) the selection is deactivated so I expect C-s to
> behave similarly.

> (Yes, I use cua-mode and transient-mark-mode and CUA terminology and
> arrow keys for navigation.)

So I'm guessing cua-mode changes the behavior of the cursor movement 
commands, but not C-s.

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]