GNU bug report logs - #29397
26.0.90; regression: `C-h l' from `edit-kbd-macro' raises error

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Wed, 22 Nov 2017 16:15:02 UTC

Severity: minor

Tags: fixed

Found in versions 26.0.90, 26.3

Fixed in version 27.1

Done: Noam Postavsky <npostavs <at> gmail.com>

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 29397 in the body.
You can then email your comments to 29397 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#29397; Package emacs. (Wed, 22 Nov 2017 16:15:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Drew Adams <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 22 Nov 2017 16:15:02 GMT) Full text and rfc822 format available.

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

From: Drew Adams <drew.adams <at> oracle.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.0.90; regression: `C-h l' from `edit-kbd-macro' raises error
Date: Wed, 22 Nov 2017 08:13:45 -0800 (PST)
emacs -Q

C-x (
C-f C-f C-f
C-x )

M-x name-last-kbd-macro RET foo RET
M-x edit-kbd-macro
C-h l

Get error:

 Macros with mouse clicks are not supported by this command

Sometimes I do not see this problem, but most of the time I do.
There is no such problem with Emacs 24.5 or prior, at least.


In GNU Emacs 26.0.90 (build 3, x86_64-w64-mingw32)
 of 2017-10-13 built on LAPHROAIG
Repository revision: 906224eba147bdfc0514090064e8e8f53160f1d4
Windowing system distributor 'Microsoft Corp.', version 6.1.7601
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Defining kbd macro...
Keyboard macro defined
Formatting keyboard macro...
edmacro-fix-menu-commands: Macros with mouse clicks are not supported by this command
Configured using:
 'configure --without-dbus --host=x86_64-w64-mingw32
 --without-compress-install 'CFLAGS=-O2 -static -g3''

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB
TOOLKIT_SCROLL_BARS

Important settings:
  value of $LANG: ENU
  locale-coding-system: cp1252




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#29397; Package emacs. (Wed, 22 Nov 2017 16:23:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 29397 <at> debbugs.gnu.org
Subject: Re: bug#29397: 26.0.90;
 regression: `C-h l' from `edit-kbd-macro' raises error
Date: Wed, 22 Nov 2017 18:22:38 +0200
> Date: Wed, 22 Nov 2017 08:13:45 -0800 (PST)
> From: Drew Adams <drew.adams <at> oracle.com>
> 
> emacs -Q
> 
> C-x (
> C-f C-f C-f
> C-x )
> 
> M-x name-last-kbd-macro RET foo RET
> M-x edit-kbd-macro
> C-h l
> 
> Get error:
> 
>  Macros with mouse clicks are not supported by this command

Not reproducible on my system.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#29397; Package emacs. (Wed, 22 Nov 2017 16:53:01 GMT) Full text and rfc822 format available.

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

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 29397 <at> debbugs.gnu.org
Subject: Re: bug#29397: 26.0.90; regression: `C-h l' from `edit-kbd-macro'
 raises error
Date: Wed, 22 Nov 2017 11:51:56 -0500
On Wed, Nov 22, 2017 at 11:13 AM, Drew Adams <drew.adams <at> oracle.com> wrote:

> Get error:
>
>  Macros with mouse clicks are not supported by this command
>
> Sometimes I do not see this problem, but most of the time I do.
> There is no such problem with Emacs 24.5 or prior, at least.

I can get this error with the following (also in 24.5):

emacs -Q

<click somewhere>
M-x edit-kbd-macro
C-h l

I guess the times when you see the problem are when the lossage
happens to include a mouse click?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#29397; Package emacs. (Wed, 22 Nov 2017 17:19:02 GMT) Full text and rfc822 format available.

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

From: Drew Adams <drew.adams <at> oracle.com>
To: Eli Zaretskii <eliz <at> gnu.org>, Drew Adams <drew.adams <at> oracle.com>
Cc: 29397 <at> debbugs.gnu.org
Subject: RE: bug#29397: 26.0.90;	regression: `C-h l' from `edit-kbd-macro'
 raises error
Date: Wed, 22 Nov 2017 09:18:03 -0800 (PST)
> > emacs -Q
> >
> > C-x (
> > C-f C-f C-f
> > C-x )
> >
> > M-x name-last-kbd-macro RET foo RET
> > M-x edit-kbd-macro
> > C-h l
> >
> > Get error:
> >  Macros with mouse clicks are not supported by this command
> 
> Not reproducible on my system.

Perhaps it's a problem with the build, then.

But I suggest you keep trying.  As stated, occasionally
I do not see it, but I see it nearly all the time (with
this build).




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#29397; Package emacs. (Wed, 22 Nov 2017 17:27:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 29397 <at> debbugs.gnu.org
Subject: Re: bug#29397: 26.0.90;	regression: `C-h l' from `edit-kbd-macro'
 raises error
Date: Wed, 22 Nov 2017 19:26:15 +0200
> Date: Wed, 22 Nov 2017 09:18:03 -0800 (PST)
> From: Drew Adams <drew.adams <at> oracle.com>
> Cc: 29397 <at> debbugs.gnu.org
> 
> But I suggest you keep trying.

I did, and failed.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#29397; Package emacs. (Sun, 29 Sep 2019 00:22:02 GMT) Full text and rfc822 format available.

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

From: Stefan Kangas <stefan <at> marxist.se>
To: Noam Postavsky <npostavs <at> users.sourceforge.net>
Cc: 29397 <at> debbugs.gnu.org, Drew Adams <drew.adams <at> oracle.com>
Subject: Re: bug#29397: 26.0.90; regression: `C-h l' from `edit-kbd-macro'
 raises error
Date: Sun, 29 Sep 2019 02:21:00 +0200
Noam Postavsky <npostavs <at> users.sourceforge.net> writes:

> On Wed, Nov 22, 2017 at 11:13 AM, Drew Adams <drew.adams <at> oracle.com> wrote:
>
>> Get error:
>>
>>  Macros with mouse clicks are not supported by this command
>>
>> Sometimes I do not see this problem, but most of the time I do.
>> There is no such problem with Emacs 24.5 or prior, at least.
>
> I can get this error with the following (also in 24.5):
>
> emacs -Q
>
> <click somewhere>
> M-x edit-kbd-macro
> C-h l
>
> I guess the times when you see the problem are when the lossage
> happens to include a mouse click?

I can't reproduce this on current master with the above recipe.  Are you
still seeing this?

Best regards,
Stefan Kangas




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#29397; Package emacs. (Sun, 29 Sep 2019 00:54:01 GMT) Full text and rfc822 format available.

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

From: Noam Postavsky <npostavs <at> gmail.com>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 29397 <at> debbugs.gnu.org, Drew Adams <drew.adams <at> oracle.com>
Subject: Re: bug#29397: 26.0.90;
 regression: `C-h l' from `edit-kbd-macro' raises error
Date: Sat, 28 Sep 2019 20:53:37 -0400
found 29397 26.3
tags 29397 fixed
close 29397 27.1
quit

Stefan Kangas <stefan <at> marxist.se> writes:
>>
>> emacs -Q
>>
>> <click somewhere>
>> M-x edit-kbd-macro
>> C-h l
>>
> I can't reproduce this on current master with the above recipe.  Are you
> still seeing this?

I can reproduce on emacs-26, but not on master; so I'll close the bug as
fixed in 27.1.




bug Marked as found in versions 26.3. Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Sun, 29 Sep 2019 00:54:01 GMT) Full text and rfc822 format available.

Added tag(s) fixed. Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Sun, 29 Sep 2019 00:54:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 27.1, send any further explanations to 29397 <at> debbugs.gnu.org and Drew Adams <drew.adams <at> oracle.com> Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Sun, 29 Sep 2019 00:54:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#29397; Package emacs. (Sun, 29 Sep 2019 01:03:02 GMT) Full text and rfc822 format available.

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

From: Drew Adams <drew.adams <at> oracle.com>
To: Stefan Kangas <stefan <at> marxist.se>, Noam Postavsky
 <npostavs <at> users.sourceforge.net>
Cc: 29397 <at> debbugs.gnu.org
Subject: RE: bug#29397: 26.0.90; regression: `C-h l' from `edit-kbd-macro'
 raises error
Date: Sat, 28 Sep 2019 18:02:31 -0700 (PDT)
> >> Get error:
> >>
> >>  Macros with mouse clicks are not supported by this command
> >>
> >> Sometimes I do not see this problem, but most of the time I do.
> >> There is no such problem with Emacs 24.5 or prior, at least.
> >
> > I can get this error with the following (also in 24.5):
> >
> > emacs -Q
> >
> > <click somewhere>
> > M-x edit-kbd-macro
> > C-h l
> >
> > I guess the times when you see the problem are when the lossage
> > happens to include a mouse click?
> 
> I can't reproduce this on current master with the above recipe.  Are you
> still seeing this?

Yes. I just tried it with `emacs -Q' with Emacs 26.3.  (I can't speak for master.)

The first time I tried the recipe I did not get the error; `C-h l' acted normally.

I followed the recipe again, in the same session, having done nothing in the meantime, I believe, and I got the error.  The second time I followed the recipe I used `C-b C-b C-b', but otherwise I did the same thing.

I think you just have to try a few times and you will see the error.  At least if you have the MS Windows Emacs 26.3 build (64-bit).  That's what I'm using.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#29397; Package emacs. (Sun, 29 Sep 2019 01:08:02 GMT) Full text and rfc822 format available.

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

From: Drew Adams <drew.adams <at> oracle.com>
To: Stefan Kangas <stefan <at> marxist.se>, Noam Postavsky
 <npostavs <at> users.sourceforge.net>
Cc: 29397 <at> debbugs.gnu.org
Subject: RE: bug#29397: 26.0.90; regression: `C-h l' from `edit-kbd-macro'
 raises error
Date: Sat, 28 Sep 2019 18:06:53 -0700 (PDT)
Did it again (new Emacs session (-Q)), but with debug-on-error.

It worked correctly the first time, raised the error the second time.  Here's the backtrace:

Debugger entered--Lisp error: (error "Macros with mouse clicks are not supported by this command")
  signal(error ("Macros with mouse clicks are not supported by this command"))
  error("Macros with mouse clicks are not %s" "supported by this command")
  edmacro-fix-menu-commands([(help-echo #<frame emacs <at> DRADAMS-LAP1 0000000400a4eb80> "mouse-2: visit this file in other window" #<window 3 on *scratch*> #<killed buffer> 1261) 24 107 return 134217848 115 101 116 backspace backspace backspace 116 111 103 103 108 101 45 108 backspace 100 101 108 tab backspace backspace 98 tab 101 tab return up up up right right right right right right 24 40 6 6 6 24 41 134217848 110 97 ...])
  edit-kbd-macro("\010l" nil)
  funcall-interactively(edit-kbd-macro "\010l" nil)
  call-interactively(edit-kbd-macro record nil)
  command-execute(edit-kbd-macro record)
  execute-extended-command(nil "edit-kbd-macro" "edit-kb")
  funcall-interactively(execute-extended-command nil "edit-kbd-macro" "edit-kb")
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 27 Oct 2019 11:24:14 GMT) Full text and rfc822 format available.

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

Previous Next


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