From: storm@cua.dk (Kim F. Storm)
Cc: Chong Yidong <cyd@stupidchicken.com>, emacs-devel@gnu.org
Subject: Re: Revamping sit-for [Was: Lingering input pending with motif menu bar]
Date: Sun, 09 Jul 2006 01:02:43 +0200 [thread overview]
Message-ID: <m33bdbitt8.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <E1FzEmG-0004gN-LK@fencepost.gnu.org> (Richard Stallman's message of "Sat, 08 Jul 2006 11:31:28 -0400")
Richard Stallman <rms@gnu.org> writes:
> Richard has said he wanted to replace sit-for so that only actual
> Emacs Lisp events will interrupt input.
>
> I would like to do this, but first we need to check whether there are
> any callers that really want the current behavior of sit-for. It's
> unlikely that any caller does want it, but not impossible, and we
> should check.
>
> Could people please check?
FYI, there are 534 calls to sit-for in *.el files.
It seems hard to try to understand for each of these calls whether
non-Lisp event are _intended_ to interrupt it or not.
BTW, 134 of those calls are (sit-for 0), which most likely are intended
to do a redisplay, so for clarity, they could be replaced by (redisplay).
Maybe some calls to sit-for may actually wait for process output; in which
case they should really be calls to accept-process-output.
--
Kim F. Storm <storm@cua.dk> http://www.cua.dk
next prev parent reply other threads:[~2006-07-08 23:02 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-01 23:55 [simon.marshall@misys.com: Lingering input pending with motif menu bar] Richard Stallman
2006-07-04 1:13 ` Chong Yidong
2006-07-04 9:08 ` Kim F. Storm
2006-07-04 13:45 ` Chong Yidong
2006-07-04 20:53 ` Richard Stallman
2006-07-04 21:21 ` [simon.marshall@misys.com: Lingering input pending with motifmenu bar] Drew Adams
2006-07-05 17:01 ` Richard Stallman
2006-07-05 20:48 ` [simon.marshall@misys.com: Lingering input pending withmotifmenu bar] Drew Adams
2006-07-07 4:14 ` Richard Stallman
2006-07-05 17:01 ` [simon.marshall@misys.com: Lingering input pending with motifmenu bar] Richard Stallman
2006-07-05 0:06 ` [simon.marshall@misys.com: Lingering input pending with motif menu bar] Chong Yidong
2006-07-05 9:04 ` Kim F. Storm
2006-07-04 17:03 ` [simon.marshall@misys.com: Lingering input pending with motifmenu bar] Drew Adams
2006-07-07 21:55 ` Revamping sit-for [Was: Lingering input pending with motif menu bar] Chong Yidong
2006-07-07 22:02 ` Revamping sit-for David Kastrup
2006-07-07 22:58 ` Revamping sit-for [Was: Lingering input pending with motif menu bar] Drew Adams
2006-07-08 1:39 ` Revamping sit-for Chong Yidong
2006-07-08 3:53 ` Drew Adams
2006-07-08 12:00 ` Chong Yidong
2006-07-08 12:36 ` David Kastrup
2006-07-08 12:56 ` Romain Francoise
2006-07-08 12:40 ` Stefan Monnier
2006-07-08 15:41 ` Drew Adams
2006-07-08 20:57 ` Richard Stallman
2006-07-08 15:31 ` Revamping sit-for [Was: Lingering input pending with motif menu bar] Richard Stallman
2006-07-08 22:49 ` Kim F. Storm
2006-07-09 19:03 ` Richard Stallman
2006-07-10 12:10 ` Kim F. Storm
2006-07-11 5:50 ` Richard Stallman
2006-07-08 23:02 ` Kim F. Storm [this message]
2006-07-10 19:47 ` Revamping sit-for Chong Yidong
2006-07-11 0:24 ` Chong Yidong
2006-07-11 18:16 ` Richard Stallman
2006-07-11 18:39 ` Kim F. Storm
2006-07-12 19:22 ` Richard Stallman
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=m33bdbitt8.fsf@kfs-l.imdomain.dk \
--to=storm@cua.dk \
--cc=cyd@stupidchicken.com \
--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.