GNU bug report logs - #22107
this-command-keys no longer returns prefix argument

Previous Next

Package: emacs;

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

Date: Mon, 7 Dec 2015 15:43:02 UTC

Severity: normal

Tags: fixed

Merged with 22111

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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: bruce.connor.am <at> gmail.com
Subject: bug#22107: closed (Re: bug#22107: 25.1; Wrong docstring for
 this-single-command-keys)
Date: Mon, 07 Dec 2015 21:47:04 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#22107: this-command-keys no longer returns prefix argument

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 22107 <at> debbugs.gnu.org.

-- 
22107: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22107
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Artur Malabarba <bruce.connor.am <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 22107-done <at> debbugs.gnu.org
Subject: Re: bug#22107: 25.1; Wrong docstring for this-single-command-keys
Date: Mon, 7 Dec 2015 21:46:19 +0000
Good point. I've filed a new bug and I'm closing this one.

[Message part 3 (message/rfc822, inline)]
From: Artur Malabarba <bruce.connor.am <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.1; Wrong docstring for this-single-command-keys
Date: Mon, 7 Dec 2015 15:42:39 +0000
[Message part 4 (text/plain, inline)]
The docstring says:

Unlike ‘this-command-keys’, this function’s value
does not include prefix arguments.

However, the function ‘this-command-keys’ also does not seem to return
prefix arguments. I tested this by evaluating the following code and then
typing C-u C-F3. (the output is just [C-f3])


(defun bababa ()
  (interactive)
  (message "%s" (this-command-keys)))

(global-set-key (kbd "C-<f3>") #'bababa)
[Message part 5 (text/html, inline)]

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

Previous Next


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