all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Felician Nemeth <felician.nemeth@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 70221@debbugs.gnu.org
Subject: bug#70221: [PATCH] New function `funcall-later`
Date: Fri, 05 Apr 2024 22:49:46 +0200	[thread overview]
Message-ID: <87v84vedqt.fsf@betli.tmit.bme.hu> (raw)
In-Reply-To: <jwvbk6nh9c7.fsf@iro.umontreal.ca> (Stefan Monnier via's message of "Fri, 05 Apr 2024 15:56:40 -0400")

> `run-with-timer` does largely the same thing when passed a 0 timeout
> and no repetition, but it is a bit more costly and relies on the timers,
> which don't work as well in batch mode.

Do this mean (run-with-timer 0 nil ...) can always be replaced with a
more efficient (funcall-later ...)?  If so, would it make sense to
modify run-with-time as well to call funcall-later when if its first two
argument is (0 nil)?

Thanks.





  reply	other threads:[~2024-04-05 20:49 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-05 19:56 bug#70221: [PATCH] New function `funcall-later` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-05 20:49 ` Felician Nemeth [this message]
2024-04-05 22:44   ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-06  6:59     ` Eli Zaretskii
2024-04-06  8:14       ` Felician Nemeth
2024-04-06  6:09 ` Eli Zaretskii
2024-04-06  6:36 ` Eli Zaretskii
2024-04-06 14:33   ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-06 15:07     ` Eli Zaretskii
2024-04-06 15:46       ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-06 16:15         ` Eli Zaretskii
2024-04-06 20:00           ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-07  5:28             ` Eli Zaretskii
2024-04-06  8:30 ` Sean Whitton
2024-04-06 17:32   ` 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=87v84vedqt.fsf@betli.tmit.bme.hu \
    --to=felician.nemeth@gmail.com \
    --cc=70221@debbugs.gnu.org \
    --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 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.