GNU bug report logs - #59077
mouse-3 regression

Previous Next

Package: emacs;

Reported by: Angelo Borsotti <angelo.borsotti <at> gmail.com>

Date: Sun, 6 Nov 2022 13:33:02 UTC

Severity: normal

Tags: notabug

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 59077 in the body.
You can then email your comments to 59077 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#59077; Package emacs. (Sun, 06 Nov 2022 13:33:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Angelo Borsotti <angelo.borsotti <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 06 Nov 2022 13:33:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Angelo Borsotti <angelo.borsotti <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: mouse-3 regression
Date: Sun, 6 Nov 2022 14:32:03 +0100
Hello,

I am running GNU Emacs 28.2 (build 2, x86_64-w64-mingw32)
 of 2022-09-13 on Windows 10 64 bits.
The mouse-3 functioning has changed with respect to the
previous version of emacs: how there is a need to click it
twice to cut the region.
How can I make emacs go back to its previous behavior,
i.e. have the mouse-3 button cut the region with one click
only?

Thank you
-Angelo Borsotti




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#59077; Package emacs. (Sun, 06 Nov 2022 14:12:01 GMT) Full text and rfc822 format available.

Message #8 received at 59077 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Angelo Borsotti <angelo.borsotti <at> gmail.com>
Cc: 59077 <at> debbugs.gnu.org
Subject: Re: bug#59077: mouse-3 regression
Date: Sun, 06 Nov 2022 16:11:08 +0200
> From: Angelo Borsotti <angelo.borsotti <at> gmail.com>
> Date: Sun, 6 Nov 2022 14:32:03 +0100
> 
> I am running GNU Emacs 28.2 (build 2, x86_64-w64-mingw32)
>  of 2022-09-13 on Windows 10 64 bits.
> The mouse-3 functioning has changed with respect to the
> previous version of emacs: how there is a need to click it
> twice to cut the region.
> How can I make emacs go back to its previous behavior,
> i.e. have the mouse-3 button cut the region with one click
> only?

What was the Emacs version where you saw something different?  I see
the same behavior in all the versions back to Emacs 25:

  <mouse-3> (translated from <down-mouse-3> <mouse-3>) at that spot runs
  the command mouse-save-then-kill (found in global-map), which is an
  interactive native-compiled Lisp function in ‘mouse.el’.

  It is bound to <mouse-3>.

  (mouse-save-then-kill CLICK)

  Set the region according to CLICK; the second time, kill it.
                                     ^^^^^^^^^^^^^^^^^^^^^^^^
So this command always required double-click to actually cut the
region, and the binding of mouse-3 didn't change.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#59077; Package emacs. (Sun, 06 Nov 2022 14:34:02 GMT) Full text and rfc822 format available.

Message #11 received at 59077 <at> debbugs.gnu.org (full text, mbox):

From: Angelo Borsotti <angelo.borsotti <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 59077 <at> debbugs.gnu.org
Subject: Re: bug#59077: mouse-3 regression
Date: Sun, 6 Nov 2022 15:33:31 +0100
Hi,

unfortunately, I do not  remember what version it was, I used it on Windows
32 bits, then I upgraded Windows to 64 bits, and reinstalled emacs using the
latest version.
However, I am one hundred percent sure that mouse-3 required only one click:
I use emacs every day, many hours each day.

Could you tell me how to obtain the killing with only one click?

Thank you
-Angelo Borsotti

On Sun, 6 Nov 2022 at 15:11, Eli Zaretskii <eliz <at> gnu.org> wrote:
>
> > From: Angelo Borsotti <angelo.borsotti <at> gmail.com>
> > Date: Sun, 6 Nov 2022 14:32:03 +0100
> >
> > I am running GNU Emacs 28.2 (build 2, x86_64-w64-mingw32)
> >  of 2022-09-13 on Windows 10 64 bits.
> > The mouse-3 functioning has changed with respect to the
> > previous version of emacs: how there is a need to click it
> > twice to cut the region.
> > How can I make emacs go back to its previous behavior,
> > i.e. have the mouse-3 button cut the region with one click
> > only?
>
> What was the Emacs version where you saw something different?  I see
> the same behavior in all the versions back to Emacs 25:
>
>   <mouse-3> (translated from <down-mouse-3> <mouse-3>) at that spot runs
>   the command mouse-save-then-kill (found in global-map), which is an
>   interactive native-compiled Lisp function in ‘mouse.el’.
>
>   It is bound to <mouse-3>.
>
>   (mouse-save-then-kill CLICK)
>
>   Set the region according to CLICK; the second time, kill it.
>                                      ^^^^^^^^^^^^^^^^^^^^^^^^
> So this command always required double-click to actually cut the
> region, and the binding of mouse-3 didn't change.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#59077; Package emacs. (Sun, 06 Nov 2022 15:02:01 GMT) Full text and rfc822 format available.

Message #14 received at 59077 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Angelo Borsotti <angelo.borsotti <at> gmail.com>
Cc: 59077 <at> debbugs.gnu.org
Subject: Re: bug#59077: mouse-3 regression
Date: Sun, 06 Nov 2022 17:00:36 +0200
> From: Angelo Borsotti <angelo.borsotti <at> gmail.com>
> Date: Sun, 6 Nov 2022 15:33:31 +0100
> Cc: 59077 <at> debbugs.gnu.org
> 
> unfortunately, I do not  remember what version it was, I used it on Windows
> 32 bits, then I upgraded Windows to 64 bits, and reinstalled emacs using the
> latest version.

FWIW, I don't think there was ever such a version.  Unless you or
someone else customized it so that it didn't work as it should by
default.

> However, I am one hundred percent sure that mouse-3 required only one click:
> I use emacs every day, many hours each day.

I don't see that in any version of Emacs, so I guess you had some
customizations to do that.

> Could you tell me how to obtain the killing with only one click?

Sorry, I don't know.  You could write your own command to bind to
mouse-3, I guess.  But I see no such command in Emacs OOTB.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#59077; Package emacs. (Sun, 06 Nov 2022 15:25:02 GMT) Full text and rfc822 format available.

Message #17 received at 59077 <at> debbugs.gnu.org (full text, mbox):

From: Gregory Heytings <gregory <at> heytings.org>
To: Angelo Borsotti <angelo.borsotti <at> gmail.com>
Cc: 59077 <at> debbugs.gnu.org
Subject: Re: bug#59077: mouse-3 regression
Date: Sun, 06 Nov 2022 15:24:04 +0000
>
> How can I make emacs go back to its previous behavior, i.e. have the 
> mouse-3 button cut the region with one click only?
>

Does (global-set-key (kbd "<mouse-3>") #'kill-region) do what you want?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#59077; Package emacs. (Sun, 06 Nov 2022 15:57:02 GMT) Full text and rfc822 format available.

Message #20 received at 59077 <at> debbugs.gnu.org (full text, mbox):

From: Angelo Borsotti <angelo.borsotti <at> gmail.com>
To: Gregory Heytings <gregory <at> heytings.org>
Cc: 59077 <at> debbugs.gnu.org
Subject: Re: bug#59077: mouse-3 regression
Date: Sun, 6 Nov 2022 16:56:23 +0100
Hi Gergory,

> Does (global-set-key (kbd "<mouse-3>") #'kill-region) do what you want?

YESSS!!

Thank you very much!
-Angelo Borsotti

On Sun, 6 Nov 2022 at 16:24, Gregory Heytings <gregory <at> heytings.org> wrote:
>
>
> >
> > How can I make emacs go back to its previous behavior, i.e. have the
> > mouse-3 button cut the region with one click only?
> >
>
> Does (global-set-key (kbd "<mouse-3>") #'kill-region) do what you want?




Added tag(s) notabug. Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 06 Nov 2022 16:05:01 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 59077 <at> debbugs.gnu.org and Angelo Borsotti <angelo.borsotti <at> gmail.com> Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 06 Nov 2022 16:05:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#59077; Package emacs. (Sun, 06 Nov 2022 16:34:02 GMT) Full text and rfc822 format available.

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

From: Gregory Heytings <gregory <at> heytings.org>
To: Angelo Borsotti <angelo.borsotti <at> gmail.com>
Cc: 59077-done <at> debbugs.gnu.org
Subject: Re: bug#59077: mouse-3 regression
Date: Sun, 06 Nov 2022 16:33:33 +0000
>> Does (global-set-key (kbd "<mouse-3>") #'kill-region) do what you want?
>
> YESSS!!
>
> Thank you very much!
>

You're welcome.  Closing this bug.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 05 Dec 2022 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 194 days ago.

Previous Next


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