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

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

Re: Moving regions up and down by lines


From: Dave Benjamin
Subject: Re: Moving regions up and down by lines
Date: Sat, 30 Jun 2007 23:48:48 -0700
User-agent: Mozilla-Thunderbird 2.0.0.4 (X11/20070622)

martin rudalics wrote:
You should use `transpose-regions'.  Have a look at the attachment of

http://lists.gnu.org/archive/html/emacs-devel/2007-03/msg01230.html

for a treatment of this.

Thanks for the pointers! A call to (setq deactivate-mark nil) at the end of each function is all I needed. I like your idea of dragging the current line if the mark is not active.

Are you planning on releasing m&d somewhere? It looks like quite an ambitious effort.

Dave


reply via email to

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