unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
Cc: David Reitter <dreitter@inf.ed.ac.uk>, rms@gnu.org, emacs-devel@gnu.org
Subject: Re: image-load-path / tool-bar icons / dumped Emacs with images.el
Date: Fri, 21 Oct 2005 17:08:27 +0200	[thread overview]
Message-ID: <m3vezqzz4k.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <874q7bkkbc.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Fri, 21 Oct 2005 10:40:52 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> In general, maybe we could set "run-once" hook variables to t after
>> they have run, and signal an error if someone tries to modify a hook
>> which is t.
>
> Sounds like a good idea.  But I'm wondering how many such hooks exist and
> what happens to code that checks (eq foo-hook t) when Emacs changes cause
> the hook to not be t any more because it may be run again later (I'm
> thinking of things like term-setup-hook which currently can only be run
> once but which may be run several times once we add multi-tty).

Ok, so we have to think carefully before setting a hook to t.
But in any case, such _errors_ only need to be found once :-)

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

  reply	other threads:[~2005-10-21 15:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-20 14:32 image-load-path / tool-bar icons / dumped Emacs with images.el David Reitter
2005-10-20 23:38 ` Richard M. Stallman
2005-10-21  7:30   ` Kim F. Storm
2005-10-21 14:40     ` Stefan Monnier
2005-10-21 15:08       ` Kim F. Storm [this message]
2005-10-21 22:19     ` Richard M. Stallman
2005-10-27 23:06     ` David Reitter
2005-10-28 16:17       ` Richard M. 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

  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=m3vezqzz4k.fsf@kfs-l.imdomain.dk \
    --to=storm@cua.dk \
    --cc=dreitter@inf.ed.ac.uk \
    --cc=emacs-devel@gnu.org \
    --cc=rms@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).