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
Cc: tracker <at> debbugs.gnu.org
Subject: bug#22107: closed (this-command-keys no longer returns prefix
 argument)
Date: Mon, 07 Dec 2015 21:47:04 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 7 Dec 2015 21:46:19 +0000
with message-id <CAAdUY-+zE3iDw3_ninEhdu8vMGZ7C5iOYAoxbmo=uzqkvSOVoA <at> mail.gmail.com>
and subject line Re: bug#22107: 25.1; Wrong docstring for this-single-command-keys
has caused the debbugs.gnu.org bug report #22107,
regarding this-command-keys no longer returns prefix argument
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> 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: 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 3 (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 4 (text/html, inline)]
[Message part 5 (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.


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.