GNU bug report logs - #46290
28.0.50; repeat's ability to repeat complex commands is broken

Previous Next

Package: emacs;

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

Date: Thu, 4 Feb 2021 07:56:01 UTC

Severity: normal

Tags: fixed, patch

Found in version 28.0.50

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: Gregory Heytings <gregory <at> heytings.org>
To: 46290 <at> debbugs.gnu.org
Subject: bug#46290: 28.0.50; repeat's ability to repeat complex commands is broken
Date: Thu, 04 Feb 2021 08:30:28 +0000
>
> But secondly, it doesn't seem like the "Repeating %S" branch works at 
> all.  For if you type M-! date RET C-x z then you get prompted for a 
> shell command, rather than date(1) just getting executed again right 
> away.
>
> I added some debug printing to `repeat' and found that after M-! date 
> RET, last-repeatable-command is set to shell-command, not 
> exit-minibuffer.  So perhaps the way that last-repeatable-command gets 
> set has changed since this code in repeat.el was written?
>

FWIW, the answer to that question seems to be positive.  In Emacs 21 M-! 
date RET C-x z repeats "date" without prompting again, in later Emacsen 
you get prompted again for a shell command.




This bug report was last modified 4 years and 108 days ago.

Previous Next


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