emacs-devel
[Top][All Lists]
Advanced

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

Re: Keep region active after command


From: Lennart Borgman
Subject: Re: Keep region active after command
Date: Sat, 19 Feb 2011 22:48:47 +0100

On Sat, Feb 19, 2011 at 10:19 PM, Stefan Monnier
<address@hidden> wrote:
>> What would be the best way to keep the region active after a command?
>> What I'm willing to do is to keep the region active after
>> python-indent-shift-left and python-indent-shift-right are called.
>
> The region is deactivated if `deactivate-mark' is non-nil at the end of
> the command and this variable is set by buffer-modifying functions, so
> let-binding deactivate-mark around those functions (or around the whole
> command's body) is usually the way to do it.


Wouldn't it be good to have a general command like
dont-deactivate-mark-after-next-command?



reply via email to

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