GNU bug report logs - #64138
28.2; C-x ) won't accept the universal argument

Previous Next

Package: emacs;

Reported by: Al Petrofsky <al <at> petrofsky.org>

Date: Sat, 17 Jun 2023 23:49:02 UTC

Severity: normal

Found in version 28.2

Done: Eli Zaretskii <eliz <at> gnu.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: Al Petrofsky <al <at> petrofsky.org>, Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 64138 <at> debbugs.gnu.org
Subject: bug#64138: 28.2; C-x ) won't accept the universal argument
Date: Sun, 18 Jun 2023 09:50:50 +0300
> From: Al Petrofsky <al <at> petrofsky.org>
> Date: Sat, 17 Jun 2023 19:47:47 -0400
> 
>    emacs-28.2 -Q -nw
>    C-x ( x C-u C-x )
> 
> The C-u C-x ) should complete the macro definition and then execute
> the macro three times, making the buffer contents "xxxx".  Instead,
> the error "Wrong type argument: fixnump, (4)" occurs.
> 
> (Changing "C-u" to "C-u 4" gives the expected result.)
> 
> The "P" in the interactive declaration of kmacro-end-macro should be a
> "p".

These commands always required a numeric prefix argument, and that is
how they are documented.  So just "C-u" is invalid, you should use
"C-u 4" instead.

I have no objections to extending those commands to accept just C-u,
though.  Stefan, any reasons why not?




This bug report was last modified 1 year and 336 days ago.

Previous Next


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