From: Marcin Borkowski <mbork@mbork.pl>
To: Emacs developers <emacs-devel@gnu.org>
Subject: How about making `sleep-for' interactive?
Date: Thu, 27 Jun 2019 06:43:09 +0200 [thread overview]
Message-ID: <87v9wrwsde.fsf@mbork.pl> (raw)
Hi all,
I noticed today that `sleep-for' is not an (interactive) command. IMHO
it should be - at least I can see a need for it. Here is my use case.
I recorded a keyboard macro which edits the text in some way. The macro
begins with isearching for something (which may be outside the part of
the buffer currently seen) and then changing. Having e.g. a 1-second
delay between moving to that part and actually changing it would help
spot mistakes.
Since `sleep-for' is a builtin, I can't prepare a patch (I don't speak
C very well), but if I get a hint I can try (just to learn something
new).
WDYT?
--
Marcin Borkowski
http://mbork.pl
next reply other threads:[~2019-06-27 4:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-27 4:43 Marcin Borkowski [this message]
2019-06-27 7:46 ` How about making `sleep-for' interactive? Søren Pilgård
2019-06-27 7:55 ` Marcin Borkowski
2019-06-27 13:19 ` Stefan Monnier
2019-06-27 13:32 ` Søren Pilgård
2019-06-27 19:40 ` Noam Postavsky
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=87v9wrwsde.fsf@mbork.pl \
--to=mbork@mbork.pl \
--cc=emacs-devel@gnu.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.