From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Subject: Re: transient mark loss on Shift+PageUp/PageDown
Date: Wed, 12 Feb 2014 06:32:34 -0500 [thread overview]
Message-ID: <871tz85zxp.fsf@lifelogs.com> (raw)
In-Reply-To: jwv61olw1z7.fsf-monnier+emacs@gnu.org
On Tue, 11 Feb 2014 20:36:58 -0500 Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>> (shift-select-mode t)
>> (transient-mark-mode t)
SM> That's the default.
>> (select-active-regions nil)
SM> Presumably this shouldn't make a difference. If it does, we clearly
SM> have a bug.
>> (cua-mode t nil (cua-base))
SM> Nowadays, this shouldn't make a difference either, but it's a recent
SM> change and may have bugs in that respect, indeed.
>> Emacs has started losing the transient mark on Shift+PageUp/PageDown
>> within the last 3 months.
SM> Not sure what that means.
S-prior and S-next
SM> But "C-SPC ..movement.. S-prior" will keep the region active, but
SM> the region is delimited not by where you hit C-SPC but by where you
SM> hit S-prior. That's by design of shift-select-mode. Maybe CUA
SM> behaved differently in this respect and since CUA nowadays uses
SM> shift-select-mode rather than rolling its own this could explain the
SM> change.
SM> If that doesn't explain what you see, then please provide a test case
SM> (and make it a bug report).
I don't think it explains it. The beginning of the region seems to be
set to the *last* place I hit S-prior/next in some way.
As an example, I added blank lines to the end of this message. In Gnus,
the message starts with some headers and then your citation line.
I went to the beginning of the buffer, held down Shift, then pressed
`next' (PageDown) several times until I got to the end of the buffer.
Then I copied the selected text (which should have been the whole
buffer, including the headers). Instead, the region and the copied text
began from the text "SM> If that doesn't explain what you see".
I'll try to formulate a bug report for this. It's really annoying
because you often end up leaving text you meant to cut, and definitely
used to work correctly.
Thanks
Ted
next prev parent reply other threads:[~2014-02-12 11:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-11 14:39 transient mark loss on Shift+PageUp/PageDown Ted Zlatanov
2014-02-12 1:36 ` Stefan Monnier
2014-02-12 11:32 ` Ted Zlatanov [this message]
2014-02-12 14:49 ` Stefan Monnier
2014-02-12 16:55 ` Ted Zlatanov
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=871tz85zxp.fsf@lifelogs.com \
--to=tzz@lifelogs.com \
--cc=emacs-devel@gnu.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).