all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Al Petrofsky <al@petrofsky.org>,
	Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 64138@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	[thread overview]
Message-ID: <83fs6pp8l1.fsf@gnu.org> (raw)
In-Reply-To: <CAPMQwz67koRW-FCGmGthaGou38q+_ZECdZ=y5G2dj=U04vzZng@mail.gmail.com> (message from Al Petrofsky on Sat, 17 Jun 2023 19:47:47 -0400)

> From: Al Petrofsky <al@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?





  reply	other threads:[~2023-06-18  6:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-17 23:47 bug#64138: 28.2; C-x ) won't accept the universal argument Al Petrofsky
2023-06-18  6:50 ` Eli Zaretskii [this message]
2023-06-18 11:00   ` Al Petrofsky
2023-06-18 11:05     ` Eli Zaretskii
2023-06-18 13:05   ` Drew Adams
2023-06-18 13:36   ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-06-18 14:08     ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-06-21 14:02       ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83fs6pp8l1.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=64138@debbugs.gnu.org \
    --cc=al@petrofsky.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.