GNU bug report logs - #71277
30.0.50; last-prefix-arg lost when universal-argument used

Previous Next

Package: emacs;

Reported by: Sean Whitton <spwhitton <at> spwhitton.name>

Date: Thu, 30 May 2024 11:48:02 UTC

Severity: normal

Found in version 30.0.50

Done: Sean Whitton <spwhitton <at> spwhitton.name>

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: 71277 <at> debbugs.gnu.org, Sean Whitton <spwhitton <at> spwhitton.name>
Subject: bug#71277: 30.0.50; last-prefix-arg lost when universal-argument used
Date: Thu, 30 May 2024 10:42:29 -0400
>> Unlses something is wrong with my arithmetic, this is not correct.
>> You should get "6!" after the third example too.
>> The use of C-u clobbers last-prefix-arg, basically.
>> 
>> I believe this will fix it:
>
> Thanks, I'm adding Stefan to this discussion.

Hmm... I didn't know about `last-prefix-arg`.
[ I'm not sure I like the idea of such a variable, but
  well... it's there.  ]
The patch looks fine to me, thank you.


        Stefan





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

Previous Next


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