From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs@Alexander.Shukaev.name, emacs-devel@gnu.org
Subject: Re: Temporarily disable `timer-event-handler'
Date: Mon, 03 Feb 2020 17:44:50 +0200 [thread overview]
Message-ID: <83wo93hdzh.fsf@gnu.org> (raw)
In-Reply-To: <jwvzhdz7pu8.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Mon, 03 Feb 2020 09:01:47 -0500)
[I removed help-gnu-emacs from the CC list.]
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Date: Mon, 03 Feb 2020 09:01:47 -0500
> Cc: help-gnu-emacs@gnu.org, emacs-devel@gnu.org
>
> > Finally, what's the motivation behind this design? This looks fragile and
> > error-prone to run some arbitrary code in the middle of execution of another
> > code without separating their "stacks" (environment scopes),
>
> It's a direct consequence of the implementation, rather than the result
> of design, AFAICT.
There's also the need to run a timer as close to its expected time as
possible, so waiting for any Lisp to return might delay timers too
much.
next prev parent reply other threads:[~2020-02-03 15:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-02 23:25 Temporarily disable `timer-event-handler' Alexander Shukaev
2020-02-03 1:36 ` Drew Adams
2020-02-03 8:23 ` Michael Albinus
2020-02-03 14:01 ` Stefan Monnier
2020-02-03 15:44 ` Eli Zaretskii [this message]
2020-02-04 22:30 ` Alexander Shukaev
2020-02-05 0:53 ` Stefan Monnier
2020-02-05 1:21 ` Alexander Shukaev
2020-02-05 1:30 ` Stefan Monnier
2020-02-05 14:29 ` Eli Zaretskii
2020-02-05 15:09 ` Michael Albinus
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83wo93hdzh.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=emacs@Alexander.Shukaev.name \
--cc=monnier@iro.umontreal.ca \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).