GNU bug report logs - #15234
24.3.50; Make C-x u repeatable

Previous Next

Package: emacs;

Reported by: Jambunathan K <kjambunathan <at> gmail.com>

Date: Sun, 1 Sep 2013 12:20:02 UTC

Severity: wishlist

Merged with 12572

Found in versions 24.2.50, 24.3.50

Done: Dani Moncayo <dmoncayo <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 15234 <at> debbugs.gnu.org (full text, mbox):

From: Jambunathan K <kjambunathan <at> gmail.com>
To: Juri Linkov <juri <at> jurta.org>
Cc: 15234 <at> debbugs.gnu.org, Drew Adams <drew.adams <at> oracle.com>
Subject: Re: bug#15234: 24.3.50; Make C-x u repeatable
Date: Sun, 01 Sep 2013 22:15:27 +0530
Juri Linkov <juri <at> jurta.org> writes:

> You can make any command repeatable more easily with:
>
> (advice-add 'undo :after

Thanks.  I need to catch up with new advice functions. 
----------------------------------------------------------------

Emacs Lisp is quite scary.  I don't mind customizing my Emacs but I want
 an interface that is simple.

    (mapc 
     (put 'undo 'repeat t)
     (list 'undo 'command-1 'command-2 'command-3))

May be a post-command hook that checks the 'repeat property and does
it's temporary overlay magic.

To top it all have a defcustom where I can add the list of commands.

----------------------------------------------------------------

So the point really not that it be doable but that it be readily (made)
available (in a way that the user can relate) with no second thought.









This bug report was last modified 11 years and 318 days ago.

Previous Next


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