GNU bug report logs - #50954
28.0.60; Shift selection commands moves the mark with active region

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefan <at> marxist.se>

Date: Fri, 1 Oct 2021 23:39:02 UTC

Severity: normal

Tags: fixed

Found in version 28.0.60

Fixed in version 28.1

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 50954 in the body.
You can then email your comments to 50954 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#50954; Package emacs. (Fri, 01 Oct 2021 23:39:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Kangas <stefan <at> marxist.se>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 01 Oct 2021 23:39:02 GMT) Full text and rfc822 format available.

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

From: Stefan Kangas <stefan <at> marxist.se>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.60; Shift selection commands moves the mark with active region
Date: Sat, 2 Oct 2021 01:37:56 +0200
0. emacs -Q
1. C-<SPC>
2. C-p
3. S-<up>

The result is that the first region, set in steps 1+2, is deactivated
in step 3.  In other words, step 3 moves the mark to point, and then
moves point up one line.

I expect that step 3 does not move the mark when there is an active region.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50954; Package emacs. (Sat, 02 Oct 2021 06:31:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 50954 <at> debbugs.gnu.org
Subject: Re: bug#50954: 28.0.60;
 Shift selection commands moves the mark with active region
Date: Sat, 02 Oct 2021 09:29:52 +0300
> From: Stefan Kangas <stefan <at> marxist.se>
> Date: Sat, 2 Oct 2021 01:37:56 +0200
> 
> 0. emacs -Q
> 1. C-<SPC>
> 2. C-p
> 3. S-<up>
> 
> The result is that the first region, set in steps 1+2, is deactivated
> in step 3.  In other words, step 3 moves the mark to point, and then
> moves point up one line.
> 
> I expect that step 3 does not move the mark when there is an active region.

If this is what you expect, you want to customize shift-select-mode to
'permanent' (a new value in Emacs 28).  The "usual" expectations are
different, because shift-selection is documented to set mark.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50954; Package emacs. (Sat, 02 Oct 2021 10:17:02 GMT) Full text and rfc822 format available.

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

From: Stefan Kangas <stefan <at> marxist.se>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 50954 <at> debbugs.gnu.org
Subject: Re: bug#50954: 28.0.60; Shift selection commands moves the mark with
 active region
Date: Sat, 2 Oct 2021 12:17:13 +0200
tags 50954 + fixed
close 50954 28.1
thanks

Eli Zaretskii <eliz <at> gnu.org> writes:

> If this is what you expect, you want to customize shift-select-mode to
> 'permanent' (a new value in Emacs 28).  The "usual" expectations are
> different, because shift-selection is documented to set mark.

Aha, excellent.  I see that you already pushed a documentation fix for
this (commit a9052248da42), which looks good to me.  Thanks.

I'm therefore closing this bug.




Added tag(s) fixed. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Sat, 02 Oct 2021 10:17:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.1, send any further explanations to 50954 <at> debbugs.gnu.org and Stefan Kangas <stefan <at> marxist.se> Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Sat, 02 Oct 2021 10:17:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 30 Oct 2021 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 150 days ago.

Previous Next


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