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: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: rgm <at> gnu.org, 22107 <at> debbugs.gnu.org, bruce.connor.am <at> gmail.com
Subject: bug#22107: 25.1; Wrong docstring for this-single-command-keys
Date: Thu, 10 Dec 2015 23:24:48 -0500
>> > So how about saying a few words about the meaning of the return value
>> > of internal-echo-keystrokes-prefix?  I think it's important enough to
>> > have that at least documented in comments.
>> It's used as a proxy for "we're in the middle of a command-with-prefix,
> When it returns non-nil, I presume?

Right.

>> which may be using the `prefix-arg' variable or any other variable".
> But this means we can never be sure a non-nil value actually mean the
> user typed a prefix-arg command, is that true?

Yes and no.  It depends on how you define "prefix arg command".

> Do we want to treat the "other" prefixes as prefix-arg in this case?

I think so, yes.  Or rather I think I know that we want to get rid of
the special casing of prefix commands.

> (which ones, btw?)

There's C-x 4 and C-x 5 (or is C-x 8 and C-x 9) in GNU ELPA's
other-frame-window.

PCL-CVS had some other prefix commands, tho they weren't recognizable by
Emacs as such.  I think Gnus's M-& is another example.


        Stefan




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.