GNU bug report logs - #34014
Make mouse-drag-copy-region support immediate yanking at point

Previous Next

Package: emacs;

Reported by: Adolf Mathias <adolf.mathias <at> gmail.com>

Date: Tue, 8 Jan 2019 13:31:02 UTC

Severity: wishlist

Found in version 25.2

Full log


Message #13 received at 34014-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Adolf Mathias <adolf.mathias <at> gmail.com>, 34014-done <at> debbugs.gnu.org
Subject: Re: bug#34014: 25.2; binding down mouse event with modifier to
 mouse-drag-region does not work
Date: Thu, 13 Aug 2020 05:02:12 -0700
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Adolf Mathias <adolf.mathias <at> gmail.com>
>> Date: Tue, 8 Jan 2019 10:51:19 +0100
>>
>> >From 'emacs -Q' under X11, Ubuntu Bionic Beaver, enter:
>> M-: (define-key global-map '[S-down-mouse-1] 'mouse-drag-region)
>>
>> Now attempting to drag a region with held down shift key gives the
>> error message:
>>
>> <S-drag-mouse-1> is undefined
>>
>> Redefining the mouse key without shift modifier, and then dragging,
>> works as intended:
>> M-: (define-key global-map '[down-mouse-1] 'mouse-drag-region)
>>
>> This used to work in Emacs 24 and before.
>
> Sorry for such a long delay in responding to your report.
>
> Can you tell why you want to bind S-down-mouse-1 and not
> S-drag-mouse-1 to a drag command?

More information was requested, but none was given within 1.5 years, so
I'm closing this bug.  If this is still an issue, please reply to this
email (use "Reply to all" in your email client) and we can reopen the
bug report.

Best regards,
Stefan Kangas




This bug report was last modified 4 years and 300 days ago.

Previous Next


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