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


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

From: Artur Malabarba <bruce.connor.am <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: John Wiegley <jwiegley <at> gmail.com>, 22107 <at> debbugs.gnu.org,
 Stefan Monnier <monnier <at> iro.umontreal.ca>, Glenn Morris <rgm <at> gnu.org>
Subject: Re: bug#22107: 25.1; Wrong docstring for this-single-command-keys
Date: Sun, 13 Dec 2015 20:53:39 +0000
[Message part 1 (text/plain, inline)]
On 13 Dec 2015 3:37 pm, "Eli Zaretskii" <eliz <at> gnu.org> wrote:
>
> Do you have a suggestion for how to fix this-command-keys?  AFAIU, the
> last part of this discussion was trying to find a way of doing that.

Define a variable (current-prefix-arg-keys, maybe) that gets set and
cleared in the same way as current-prefix-arg. This variable holds the keys
that were used to invoke the prefix args.

Then this-command-keys simply needs to check that variable and prepend it
to the return value.
[Message part 2 (text/html, inline)]

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.