all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: `delete-frame-hook' isn't defined
Date: Sun, 29 Sep 2002 14:44:29 -0400	[thread overview]
Message-ID: <E17vj3N-00030W-00@fencepost.gnu.org> (raw)
In-Reply-To: <E17v8sT-0003w0-00@bundalo.shootybangbang.com> (message from John Paul Wallington on Sat, 28 Sep 2002 05:06:49 +0100)

    However, `delete-frame-hook' isn't presently defined as a variable.
    `delete-frame' does run the hook if you define it.

    Should it be defined?

Yes, nowadays we may as well give it a defvar.

			   One possible problem is that tooltips are
    frames that are deleted when they disappear.  Users may not expect the
    hook to be run then.

Hmm.  Perhaps it should not be run for tooltip frames.
Can you find a clean way to distinguish tooltip frames?

    Also, should it be renamed to `delete-frame-functions' because it is
    an abnormal hook ?

Yes, definitely.  It was a mistake to give it the name
delete-frame-hook.

  reply	other threads:[~2002-09-29 18:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-28  4:06 `delete-frame-hook' isn't defined John Paul Wallington
2002-09-29 18:44 ` Richard Stallman [this message]
2002-09-30 15:06   ` John Paul Wallington
2002-10-01  6:18     ` Richard Stallman
2002-10-01 15:14       ` John Paul Wallington
2002-10-02  4:07         ` Richard Stallman
2002-10-02  9:59           ` John Paul Wallington
2002-10-02 15:27             ` Juanma Barranquero
2002-10-02 19:23             ` Richard Stallman
2002-09-29 19:54 ` Stefan Monnier
2002-09-30 15:08   ` John Paul Wallington
2002-09-30 15:05     ` Stefan Monnier

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=E17vj3N-00030W-00@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 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.