[Top][All Lists]
[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?
- Keep region active after command, Fabian Ezequiel Gallina, 2011/02/19
- Re: Keep region active after command, Stefan Monnier, 2011/02/19
- Re: Keep region active after command,
Lennart Borgman <=
- Re: Keep region active after command, Chong Yidong, 2011/02/19
- Re: Keep region active after command, Lennart Borgman, 2011/02/19
- Re: Keep region active after command, Miles Bader, 2011/02/19
- Re: Keep region active after command, Lennart Borgman, 2011/02/19
- Re: Keep region active after command, Miles Bader, 2011/02/19