unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#50954: 28.0.60; Shift selection commands moves the mark with active region
@ 2021-10-01 23:37 Stefan Kangas
  2021-10-02  6:29 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Kangas @ 2021-10-01 23:37 UTC (permalink / raw)
  To: 50954

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.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#50954: 28.0.60; Shift selection commands moves the mark with active region
  2021-10-01 23:37 bug#50954: 28.0.60; Shift selection commands moves the mark with active region Stefan Kangas
@ 2021-10-02  6:29 ` Eli Zaretskii
  2021-10-02 10:17   ` Stefan Kangas
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2021-10-02  6:29 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 50954

> From: Stefan Kangas <stefan@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.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#50954: 28.0.60; Shift selection commands moves the mark with active region
  2021-10-02  6:29 ` Eli Zaretskii
@ 2021-10-02 10:17   ` Stefan Kangas
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Kangas @ 2021-10-02 10:17 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 50954

tags 50954 + fixed
close 50954 28.1
thanks

Eli Zaretskii <eliz@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.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-02 10:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-01 23:37 bug#50954: 28.0.60; Shift selection commands moves the mark with active region Stefan Kangas
2021-10-02  6:29 ` Eli Zaretskii
2021-10-02 10:17   ` Stefan Kangas

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).