GNU bug report logs - #43209
27.1; rectangle-mark-mode does not activate region if transient mark mode disabled

Previous Next

Package: emacs;

Reported by: Allen Li <darkfeline <at> felesatra.moe>

Date: Sat, 5 Sep 2020 03:05:02 UTC

Severity: normal

Tags: moreinfo

Found in version 27.1

Done: Allen Li <darkfeline <at> felesatra.moe>

Bug is archived. No further changes may be made.

Full log


Message #19 received at 43209 <at> debbugs.gnu.org (full text, mbox):

From: Allen Li <darkfeline <at> felesatra.moe>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 43209 <at> debbugs.gnu.org
Subject: Re: bug#43209: 27.1; rectangle-mark-mode does not activate region if
 transient mark mode disabled
Date: Tue, 15 Jun 2021 23:09:49 +0000
[Message part 1 (text/plain, inline)]
On Sat, Jun 12, 2021 at 12:29 PM Lars Ingebrigtsen <larsi <at> gnus.org> wrote:

> Allen Li <darkfeline <at> felesatra.moe> writes:
>
> > rectangle-mark-mode does not activate region if transient mark mode is
> > disabled.
> >
> > Steps:
> >
> > 1. emacs -Q
> > 2. M-x transient-mark-mode RET
> > 3. C-x SPC
> >
> > Expected:
> >
> > Region is activated temporarily.
> >
> > Actual:
> >
> > Region is not activated.  Note that rectagle-mark-mode is still
> > partially enabled.  For example, C-x C-x moves point according to the
> > rectangular region, but you cannot move point beyond the end of the
> > line.
> >
> > I propose making rectangle-mark-mode activate the region even if
> > transient-mark-mode is disabled for a number of reasons.
>
> I'm not quite sure I fully understand the suggestion -- do you mean that
> `C-x SPC' should switch transient-mark-mode on if it isn't already?
> (And then switch it off again in `deactivate-mark-hook'?)
>

Behavior-wise, it should work the same as `C-SPC C-SPC` when
transient-mark-mode is off,
(temporarily enable transient-mark-mode and active region).
I don't remember how that is implemented off the top of my head.


>
> --
> (domestic pets only, the antidote for overdose, milk.)
>    bloggy blog: http://lars.ingebrigtsen.no
>
[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 330 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.