emacs-devel
[Top][All Lists]
Advanced

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

Fwd: [PATCH] frame.c: focus hooks


From: Bozhidar Batsov
Subject: Fwd: [PATCH] frame.c: focus hooks
Date: Mon, 18 Nov 2013 16:20:27 +0200

That's the terminology used in several GUI libraries (and in client-side web) when you want to listen for focus events. Anyways, the name is not particularly important - if X is using "FocusIn" and "FocusOut" and Emacs uses the X terminology that's fine.


On 18 November 2013 15:32, Stefan Monnier <address@hidden> wrote:
> I welcome your idea! In fact I've been thinking for quite some time we
> needed something like this. I don't like the names of the hooks, however,
> since they don't seem particularly standard - usually the terminology used
> with focus is "focus gained" and "focus lost" (or "on focus" and "on lose
> focus").

I've never heard "gain focus".  I think focus-in-hook and focus-out-hook
look fine to me.  At least, "FocusIn" and "FocusOut" are the terms used
by the X library, and so far Emacs has followed this naming convention.


        Stefan



reply via email to

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