From: "Kévin Le Gouguec" <kevin.legouguec@gmail.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: emacs-devel <emacs-devel@gnu.org>,
Andreas Schwab <schwab@linux-m68k.org>,
Richard Stallman <rms@gnu.org>, Antoine Kalmbach <ane@iki.fi>,
Thibaut Verron <thibaut.verron@gmail.com>
Subject: Repeating commands (was: Patch for emacs/basic.texi)
Date: Wed, 16 Sep 2020 20:26:03 +0200 [thread overview]
Message-ID: <87y2l9efyc.fsf_-_@gmail.com> (raw)
In-Reply-To: <d5fc094c-7a0f-4f14-a852-45668b70cb1e@default> (Drew Adams's message of "Wed, 16 Sep 2020 16:59:14 +0000 (UTC)")
Drew Adams <drew.adams@oracle.com> writes:
>> (It's one of those bindings, along with with "C-x o", that I wish came
>> with a "C-x z"-like transient map.)
>
> It's trivial to create a repeating command, so you
> can use `C-x u u u u ...'.
Thanks for these tips! I actually already had setup method 1
(set-transient-map) for other-window, but never bothered with undo.
Method 2 (repeat) is neat! I wonder whether these three variables you
bind should be mentioned in repeat's docstring, I would never have
guessed this function could be programmed this way.
(Though I did get a kick just now out of reading repeat.el's commentary,
squinting at the existentialist conclusion, checking the "Author:"
attribute just in case, and finding out that yep, this *is* Will
Mengarini's fine work.)
next prev parent reply other threads:[~2020-09-16 18:26 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-16 5:05 Patch for emacs/basic.texi Richard Stallman
2020-09-16 5:14 ` Alfred M. Szmidt
2020-09-16 14:17 ` Eli Zaretskii
2020-09-16 15:11 ` Alfred M. Szmidt
2020-09-16 6:00 ` Thibaut Verron
2020-09-16 6:20 ` Kévin Le Gouguec
2020-09-16 6:53 ` Andreas Schwab
2020-09-16 9:19 ` Antoine Kalmbach
2020-09-16 15:43 ` Kévin Le Gouguec
2020-09-16 16:59 ` Drew Adams
2020-09-16 18:26 ` Kévin Le Gouguec [this message]
2020-09-16 12:40 ` Stefan Kangas
2020-09-17 3:53 ` Richard Stallman
2020-09-18 4:04 ` Richard Stallman
2020-09-18 6:09 ` Thibaut Verron
2020-09-18 6:35 ` Mathias Dahl
2020-09-16 13:40 ` Stefan Monnier
2020-09-17 3:57 ` Richard Stallman
2020-09-18 7:53 ` Eli Zaretskii
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=87y2l9efyc.fsf_-_@gmail.com \
--to=kevin.legouguec@gmail.com \
--cc=ane@iki.fi \
--cc=drew.adams@oracle.com \
--cc=emacs-devel@gnu.org \
--cc=rms@gnu.org \
--cc=schwab@linux-m68k.org \
--cc=thibaut.verron@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.