From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: Intercepting windowClosed (OS X or in general)
Date: Mon, 02 May 2005 13:05:46 -0600 [thread overview]
Message-ID: <d55tam$q2a$1@sea.gmane.org> (raw)
In-Reply-To: <93a360d101848255ab39d4847190a7b2@gmail.com>
David Reitter wrote:
> how would one intercept handling of windowClosed events, that is, when
> a user clicks the closer button to delete a frame. I would ideally
> like to advise a function to do something special or use a hook.
See the "Misc(ellaneous Window System) Events" node of the Emacs Lisp
manual:
| A few other event types represent occurrences within the window
| ystem.
|
| (delete-frame (FRAME))'
| This kind of event indicates that the user gave the window manager
| a command to delete a particular window, which happens to be an
| Emacs frame.
|
| The standard definition of the `delete-frame' event is to delete
| FRAME.
--
Kevin Rodgers
next prev parent reply other threads:[~2005-05-02 19:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-02 11:16 Intercepting windowClosed (OS X or in general) David Reitter
2005-05-02 19:05 ` Kevin Rodgers [this message]
[not found] <mailman.464.1115054139.2819.help-gnu-emacs@gnu.org>
2005-05-03 23:26 ` Stefan Monnier
2005-05-04 21:57 ` David Reitter
2005-05-05 17:18 ` Kevin Rodgers
[not found] ` <mailman.3349.1115245914.2819.help-gnu-emacs@gnu.org>
2005-05-06 3:30 ` Stefan Monnier
2005-05-06 9:26 ` Thien-Thi Nguyen
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='d55tam$q2a$1@sea.gmane.org' \
--to=ihs_4664@yahoo.com \
/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.
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).