unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: timers and match-data
Date: Tue, 31 May 2005 13:47:03 -0400	[thread overview]
Message-ID: <E1DdApT-0001D2-Kf@fencepost.gnu.org> (raw)
In-Reply-To: <200505310140.j4V1egr16148@raven.dms.auburn.edu> (message from Luc Teirlinck on Mon, 30 May 2005 20:40:42 -0500 (CDT))

    To avoid such problems, either:

    1.  Every function that waits for input or otherwise allows for timers
	to run should save and restore the match data.

    2.  We should make timers automatically save and restore match data.

    3.  Any individual timer function that potentially could alter the
	match data should save and restore the match data.

    Which one?

Currently, #3 is the way it is supposed to work.
However, converting to #2 might be an improvement.
It would be cleaner, but it might be less efficient;
surely most timer functions are rather small and don't
alter the match data.

      parent reply	other threads:[~2005-05-31 17:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-31  1:40 timers and match-data Luc Teirlinck
2005-05-31  3:18 ` Luc Teirlinck
2005-05-31 17:47 ` Richard Stallman [this message]

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=E1DdApT-0001D2-Kf@fencepost.gnu.org \
    --to=rms@gnu.org \
    --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 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).