[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How about making `sleep-for' interactive?
From: |
Marcin Borkowski |
Subject: |
How about making `sleep-for' interactive? |
Date: |
Thu, 27 Jun 2019 06:43:09 +0200 |
User-agent: |
mu4e 1.1.0; emacs 27.0.50 |
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