From: Phil Ruffwind <rf@rufflewind.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 24563@debbugs.gnu.org
Subject: bug#24563: kill-region fails while dragging a selection
Date: Fri, 30 Sep 2016 17:29:01 -0400 [thread overview]
Message-ID: <1475270941.1149562.742366889.33873F48@webmail.messagingengine.com> (raw)
In-Reply-To: <8360peoh0t.fsf@gnu.org>
> Why is this a bug? Neither of the two behaviors is AFAIK documented,
> so either could be correct. I agree that the behavior changed, most
> probably because both the implementation of region highlight and the
> binding of commands to the mouse have changed in Emacs 25.1. But is
> there a reason not to get along with the new behavior?
It's easy to mistakenly hit C-w just before (instead of after) the mouse
button is released, so the behavior of this scenario affects the UX for
killing text quickly with the aid of the mouse.
The old behavior mostly worked as expected. The new behavior does
something totally different:
- If mark-even-if-inactive is nil, then it will fail but also deselect
the region, so the user has to start over.
- If mark-even-if-inactive is non-nil, then it will succeed but will
mostly likely kill the wrong region (the previously marked region).
This makes killing text selected by the mouse unnecessarily fragile.
Thanks.
next prev parent reply other threads:[~2016-09-30 21:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-28 18:30 bug#24563: kill-region fails while dragging a selection Phil Ruffwind
2016-09-29 15:35 ` Eli Zaretskii
2016-09-30 21:29 ` Phil Ruffwind [this message]
2016-10-01 7:55 ` Eli Zaretskii
2017-11-29 2:09 ` Noam Postavsky
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=1475270941.1149562.742366889.33873F48@webmail.messagingengine.com \
--to=rf@rufflewind.com \
--cc=24563@debbugs.gnu.org \
--cc=eliz@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).