[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Move selection up, down

From: Drew Adams
Subject: RE: Move selection up, down
Date: Tue, 19 Aug 2008 16:21:50 -0700

> > What will you do with `transpose-word', for instance, when 
> > there is an active region? I don't follow the suggestion.
> > How about some examples?
> Move the next or previous word (depending on which side of the region
> you are on) to the other side of the region. Is not that a natural
> extension?

Dunno. I would expect it instead to swap the region and the next or previous
word, leaving the separator chars between them. `transpose-word' recognizes
intervening non-word chars (any number), and swaps the words around them.

Sounds OK to me, but I don't have much of a opinion one way or the other. It
might require users to sometimes deactivate the region to get today's effect,
but that's no biggee.

Presumably, the region would be kept active, so you could repeat the operation -
e.g. `transpose-line' would move the region down a line each time. (That's
another difference from today's commands - they deactivate the region.)

Either there used to be a command that moved the region this way or I had my
own, long ago. I remember using it, but I haven't missed it for many moon.

reply via email to

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