all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: emacs-devel <emacs-devel@gnu.org>
Subject: Any way to make sit-for avoid triggering redisplay in the general case?
Date: Fri, 9 Feb 2018 01:40:44 +0300	[thread overview]
Message-ID: <7c28bc91-6e8a-9e79-c7b9-d263aa79be89@yandex.ru> (raw)

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".

company-mode has a flickering problem associated with asynchronous 
completion backends, and I have a seemingly easy solution in mind that 
turned out to depend on being able to do this.



             reply	other threads:[~2018-02-08 22:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-08 22:40 Dmitry Gutov [this message]
2018-02-08 22:49 ` Any way to make sit-for avoid triggering redisplay in the general case? Noam Postavsky
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=7c28bc91-6e8a-9e79-c7b9-d263aa79be89@yandex.ru \
    --to=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.