bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Feature request: more focus events


From: Hannu Koivisto
Subject: Feature request: more focus events
Date: Tue, 15 Jan 2002 14:38:54 +0200
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1

Greetings,

Focus Events section of the Emacs Lisp Reference Manual for Emacs
21.1 explains (and this seems to match the implementation) that
focus events are generated only when the focus is changed from an
Emacs frame to another (both frames belonging to the same Emacs
process).  That is, no focus event is generated when the focus is
changed from an Emacs frame to the window of another program or
vice versa.

I would like to request a possibility to have focus events in those
cases, too.  I don't know if the (switch-frame NEW-FRAME) focus
event representation could be used also for those cases (perhaps
with NEW-FRAME being nil when the focus moves from an Emacs frame
to the window of another program) or not.  If not, then perhaps a
new focus event type could be created?

This feature would make it possible to, for example, save buffers
when Emacs loses the focus (which is what a certain proprietary
Losedows editor used by my colleagues can do).

-- 
Hannu



reply via email to

[Prev in Thread] Current Thread [Next in Thread]