unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Thien-Thi Nguyen <ttn@glug.org>
Subject: Re: use of special-event-map
Date: Mon, 09 May 2005 14:33:15 +0200	[thread overview]
Message-ID: <7eacn4bmus.fsf@ada2.unipv.it> (raw)
In-Reply-To: mailman.4149.1115600512.2819.help-gnu-emacs@gnu.org

"Drew Adams" <drew.adams@oracle.com> writes:

> I didn't know at what point Emacs received a window-manager
> event for this. I found no explanation of special events like
> [iconify-frame] in such terms. I tried to follow the code that
> deals with this event (in parts of w32term.c, xterm.c, frame.c,
> and keyboard.c), but this wasn't clear to me.

generally, emacs' awareness of events happens after the event,
which happens after the window manager is through munging and/or
generating the event.

programmability of window manager behavior from elisp is only
possible if the window manager (1) is programmable; (2) provides
an interface that accepts hints from emacs on how to do its job;
and (3) honors those hints.

(1) is easy to arrange, (2) less so, (3) even less.  in any case
it is all very window manager specific unless you are willing to
add to emacs the rest of ICCCM (aside from the "Extended Segments
in X selections" support which is already in place, iiuc).  and
even then, to what extent ICCCM is supported by the window manager
as well as the (non-)expressiveness of ICCCM to implement the
desired behavior, remains uncertain.

thi

  parent reply	other threads:[~2005-05-09 12:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.4149.1115600512.2819.help-gnu-emacs@gnu.org>
2005-05-09  2:12 ` use of special-event-map Stefan Monnier
2005-05-09 12:33 ` Thien-Thi Nguyen [this message]
     [not found] <mailman.4143.1115595521.2819.help-gnu-emacs@gnu.org>
2005-05-08 23:58 ` Stefan Monnier
2005-05-09  0:50   ` Drew Adams
2005-05-09 18:12     ` Kevin Rodgers
     [not found] <mailman.4129.1115586334.2819.help-gnu-emacs@gnu.org>
2005-05-08 22:40 ` Stefan Monnier
2005-05-08 23:35   ` Drew Adams
     [not found] <mailman.3810.1115425040.2819.help-gnu-emacs@gnu.org>
2005-05-07  0:42 ` Michael Cadilhac
2005-05-07  1:00   ` Drew Adams
2005-05-06 18:32 Drew Adams
2005-05-06 23:56 ` Drew Adams
2005-05-08 20:53 ` Drew Adams

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=7eacn4bmus.fsf@ada2.unipv.it \
    --to=ttn@glug.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.
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).