all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: Juri Linkov <juri@jurta.org>
Cc: 15234@debbugs.gnu.org
Subject: bug#15234: 24.3.50; Make C-x u repeatable
Date: Sun, 01 Sep 2013 22:15:27 +0530	[thread overview]
Message-ID: <87a9jwbie0.fsf@gmail.com> (raw)
In-Reply-To: <877gf0bj7l.fsf@mail.jurta.org> (Juri Linkov's message of "Sun, 01 Sep 2013 19:27:42 +0300")

Juri Linkov <juri@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.










  reply	other threads:[~2013-09-01 16:45 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-01 12:21 bug#15234: 24.3.50; Make C-x u repeatable Jambunathan K
2013-09-01 15:23 ` Drew Adams
2013-09-01 16:11   ` Jambunathan K
2013-09-01 16:27   ` Juri Linkov
2013-09-01 16:45     ` Jambunathan K [this message]
2013-09-03  1:46 ` Stefan Monnier
2013-09-03  2:15   ` Drew Adams
2013-09-03  2:23   ` Jambunathan K
2013-09-03  2:27     ` Drew Adams
2013-09-03  6:32       ` Dani Moncayo
2013-09-03 14:49         ` Drew Adams
2013-09-03 15:31           ` Dani Moncayo
2013-09-03 16:19             ` Drew Adams
2013-09-03 16:41               ` Dani Moncayo
2013-09-03 20:58                 ` Jambunathan K

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=87a9jwbie0.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=15234@debbugs.gnu.org \
    --cc=juri@jurta.org \
    /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.