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.

Full log


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).





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

Previous Next


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