[Top][All Lists]

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

Re: Move selection up, down

From: Lennart Borgman (gmail)
Subject: Re: Move selection up, down
Date: Wed, 20 Aug 2008 01:30:20 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20071031 Thunderbird/ Mnenhy/

Drew Adams wrote:
>>> 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.

Isn't that the same thing?

> 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]