From: Noam Postavsky <npostavs@users.sourceforge.net>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: Any way to make sit-for avoid triggering redisplay in the general case?
Date: Thu, 8 Feb 2018 17:49:52 -0500 [thread overview]
Message-ID: <CAM-tV-9W_Ry6tQTUhL44a+ywZPQ4A-M0-ZJ8uUfQ-5zxT5WeJQ@mail.gmail.com> (raw)
In-Reply-To: <7c28bc91-6e8a-9e79-c7b9-d263aa79be89@yandex.ru>
On Thu, Feb 8, 2018 at 5:40 PM, Dmitry Gutov <dgutov@yandex.ru> wrote:
> And not just "if input is available before it starts". Or is there a
> something I can call that would have a similar effect?
>
> Effect like "wait until either a specified about of time passes, or the user
> types something, while allowing subprocess sentinels and filters to run, and
> hopefully timers as well, all without triggering redisplay".
Does the NODISP arg not work?
(sit-for SECONDS &optional NODISP)
Redisplay, then wait for SECONDS seconds. Stop when input is available.
[...]
If optional arg NODISP is t, don't redisplay, just wait for input.
next prev parent reply other threads:[~2018-02-08 22:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-08 22:40 Any way to make sit-for avoid triggering redisplay in the general case? Dmitry Gutov
2018-02-08 22:49 ` Noam Postavsky [this message]
2018-02-08 22:52 ` Dmitry Gutov
2018-02-08 22:55 ` Noam Postavsky
2018-02-08 23:08 ` Dmitry Gutov
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=CAM-tV-9W_Ry6tQTUhL44a+ywZPQ4A-M0-ZJ8uUfQ-5zxT5WeJQ@mail.gmail.com \
--to=npostavs@users.sourceforge.net \
--cc=dgutov@yandex.ru \
--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.