GNU bug report logs - #22111
25.0.50; (this-command-keys) doesn't return prefix keys

Previous Next

Package: emacs;

Reported by: Artur Malabarba <bruce.connor.am <at> gmail.com>

Date: Mon, 7 Dec 2015 21:47:02 UTC

Severity: normal

Tags: fixed

Merged with 22107

Found in versions 25.0.50, 25.1

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.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 22111 in the body.
You can then email your comments to 22111 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#22111; Package emacs. (Mon, 07 Dec 2015 21:47:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Artur Malabarba <bruce.connor.am <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 07 Dec 2015 21:47:03 GMT) Full text and rfc822 format available.

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

From: Artur Malabarba <bruce.connor.am <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.50; (this-command-keys) doesn't return prefix keys
Date: Mon, 07 Dec 2015 21:45:22 +0000
From emacs -Q:

1. Type (this-command-keys)
2. Type C-u C-x C-e
3. The result will not include C-u




Forcibly Merged 22107 22111. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 07 Dec 2015 21:57:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22111; Package emacs. (Mon, 07 Dec 2015 22:00:03 GMT) Full text and rfc822 format available.

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

From: Alan Mackenzie <acm <at> muc.de>
To: Artur Malabarba <bruce.connor.am <at> gmail.com>
Cc: 22111 <at> debbugs.gnu.org
Subject: Re: bug#22111: 25.0.50; (this-command-keys) doesn't return prefix keys
Date: 7 Dec 2015 21:59:18 -0000
Hello, Artur.

In article <mailman.1609.1449524829.31583.bug-gnu-emacs <at> gnu.org> you wrote:
>>From emacs -Q:

> 1. Type (this-command-keys)
> 2. Type C-u C-x C-e
> 3. The result will not include C-u

I don't think this is a bug: C-u is bound to command
`universal-argument', and it works by setting `prefix-arg'.  Once it's
done that, `univeral-argument''s runtime is finished.

Then the next command is `eval-last-sexp', whose `this-command-keys' are
precisely C-x C-e.

-- 
Alan Mackenzie (Nuremberg, Germany).





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22111; Package emacs. (Mon, 07 Dec 2015 22:10:04 GMT) Full text and rfc822 format available.

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

From: Artur Malabarba <bruce.connor.am <at> gmail.com>
To: Alan Mackenzie <acm <at> muc.de>
Cc: 22111 <at> debbugs.gnu.org
Subject: Re: bug#22111: 25.0.50; (this-command-keys) doesn't return prefix keys
Date: Mon, 07 Dec 2015 22:09:21 +0000
Alan Mackenzie <acm <at> muc.de> writes:

> I don't think this is a bug: C-u is bound to command
> `universal-argument', and it works by setting `prefix-arg'.  Once it's
> done that, `univeral-argument''s runtime is finished.

That's what I thought at first, but the docs say it should.
See the docstring of `this-single-command-keys' or the elisp manual on
this function.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22111; Package emacs. (Tue, 08 Dec 2015 03:38:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Artur Malabarba <bruce.connor.am <at> gmail.com>
Cc: acm <at> muc.de, 22111 <at> debbugs.gnu.org
Subject: Re: bug#22111: 25.0.50; (this-command-keys) doesn't return prefix keys
Date: Tue, 08 Dec 2015 05:36:39 +0200
> From: Artur Malabarba <bruce.connor.am <at> gmail.com>
> Date: Mon, 07 Dec 2015 22:09:21 +0000
> Cc: 22111 <at> debbugs.gnu.org
> 
> Alan Mackenzie <acm <at> muc.de> writes:
> 
> > I don't think this is a bug: C-u is bound to command
> > `universal-argument', and it works by setting `prefix-arg'.  Once it's
> > done that, `univeral-argument''s runtime is finished.
> 
> That's what I thought at first, but the docs say it should.
> See the docstring of `this-single-command-keys' or the elisp manual on
> this function.

Can you bisect to see which commit caused this?




Removed indication that bug 22111 blocks Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 22 May 2016 16:36:02 GMT) Full text and rfc822 format available.

Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 07 Oct 2020 04:11:01 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.1, send any further explanations to 22107 <at> debbugs.gnu.org and bruce.connor.am <at> gmail.com Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 07 Oct 2020 04:11:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 04 Nov 2020 12:24:04 GMT) Full text and rfc822 format available.

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

Previous Next


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