unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Allen Li <darkfeline@felesatra.moe>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 43209@debbugs.gnu.org
Subject: 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	[thread overview]
Message-ID: <CADbSrJy87J0jAYUq1eD80eCEKsHLnnMKcOkNueap5VWJRF63wQ@mail.gmail.com> (raw)
In-Reply-To: <87tum36zca.fsf@gnus.org>

[-- Attachment #1: Type: text/plain, Size: 1273 bytes --]

On Sat, Jun 12, 2021 at 12:29 PM Lars Ingebrigtsen <larsi@gnus.org> wrote:

> Allen Li <darkfeline@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
>

[-- Attachment #2: Type: text/html, Size: 2031 bytes --]

  reply	other threads:[~2021-06-15 23:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-05  3:04 bug#43209: 27.1; rectangle-mark-mode does not activate region if transient mark mode disabled Allen Li
2020-09-05 14:28 ` Drew Adams
2020-09-05 22:25   ` Allen Li
2021-06-12 12:29 ` Lars Ingebrigtsen
2021-06-15 23:09   ` Allen Li [this message]
2021-06-19 12:21     ` Lars Ingebrigtsen
2021-06-23  5:33       ` Allen Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADbSrJy87J0jAYUq1eD80eCEKsHLnnMKcOkNueap5VWJRF63wQ@mail.gmail.com \
    --to=darkfeline@felesatra.moe \
    --cc=43209@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).