From: Eli Zaretskii <eliz@gnu.org>
To: Phil Ruffwind <rf@rufflewind.com>
Cc: 24563@debbugs.gnu.org
Subject: bug#24563: kill-region fails while dragging a selection
Date: Thu, 29 Sep 2016 18:35:46 +0300 [thread overview]
Message-ID: <8360peoh0t.fsf@gnu.org> (raw)
In-Reply-To: <1475087444.2530471.739981057.71960B2F@webmail.messagingengine.com> (message from Phil Ruffwind on Wed, 28 Sep 2016 14:30:44 -0400)
> From: Phil Ruffwind <rf@rufflewind.com>
> Date: Wed, 28 Sep 2016 14:30:44 -0400
>
> Emacs 25.1 seems to have changed the behavior of doing kill-region (C-w)
> while dragging a selection in GUI mode. Here are the steps to
> reproduce:
>
> 1. Run Emacs in GUI mode via: emacs -Q
> 2. Type: M-x set-variable mark-even-if-inactive nil
> 3. Open a file containing some text.
> 4. Make a selection using the mouse, but do NOT release the mouse
> button.
> 5. Type: C-w.
>
> In Emacs 24.5, this would initially do nothing, but pressing C-w a
> second time will kill the selected region correctly.
>
> In Emacs 25.1, this fails with "The mark is not active now" and
> deselects the region.
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?
Thanks for reporting this.
next prev parent reply other threads:[~2016-09-29 15:35 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 [this message]
2016-09-30 21:29 ` Phil Ruffwind
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8360peoh0t.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=24563@debbugs.gnu.org \
--cc=rf@rufflewind.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.