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: Eli Zaretskii <eliz <at> gnu.org>
To: bruce.connor.am <at> gmail.com
Cc: jwiegley <at> gmail.com, 22107 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca, rgm <at> gnu.org
Subject: bug#22107: 25.1; Wrong docstring for this-single-command-keys
Date: Mon, 14 Dec 2015 05:27:25 +0200
> Date: Sun, 13 Dec 2015 20:53:39 +0000
> From: Artur Malabarba <bruce.connor.am <at> gmail.com>
> Cc: John Wiegley <jwiegley <at> gmail.com>, 22107 <at> debbugs.gnu.org, Glenn Morris <rgm <at> gnu.org>, 
> 	Stefan Monnier <monnier <at> iro.umontreal.ca>
> 
> 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. 

I'm not sure I follow.  Can you show a patch to this effect?

Thanks.




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.