all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Jambunathan K <kjambunathan@gmail.com>, 15234@debbugs.gnu.org
Subject: bug#15234: 24.3.50; Make C-x u repeatable
Date: Sun, 1 Sep 2013 08:23:28 -0700 (PDT)	[thread overview]
Message-ID: <43f0049b-2988-41e6-be88-709563ccee98@default> (raw)
In-Reply-To: <87k3j0bull.fsf@gmail.com>

> Make C-x u repeatable. 

FWIW, this is what I use:

(defun undo-repeat (arg)
  "Same as `undo', but repeatable even on a prefix key.
E.g., if bound to `C-x u' then you can use `C-x u u u...' to repeat."
  (interactive "*P")
  (undo arg)
  (set-temporary-overlay-map (let ((map  (make-sparse-keymap)))
                               (define-key map "u" 'undo-repeat)
                               map)))

(global-set-key [remap undo] 'undo-repeat)





  reply	other threads:[~2013-09-01 15:23 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 [this message]
2013-09-01 16:11   ` Jambunathan K
2013-09-01 16:27   ` Juri Linkov
2013-09-01 16:45     ` Jambunathan K
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=43f0049b-2988-41e6-be88-709563ccee98@default \
    --to=drew.adams@oracle.com \
    --cc=15234@debbugs.gnu.org \
    --cc=kjambunathan@gmail.com \
    /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.