GNU bug report logs -
#21728
25.0.50; [patch] mention focus-{in,out}-hook in manual
Previous Next
Reported by: Aaron Ecay <aaronecay <at> gmail.com>
Date: Wed, 21 Oct 2015 18:49:01 UTC
Severity: wishlist
Found in version 25.0.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
The emacs lisp reference doesn’t mention focus-in-hook and its -out-
variant, except in a list of hooks. Yet it contains some discussion of
focus events. To make it clear that the hooks exist, I’ve added a
reference to them in the attached patch.
[0001-doc-lispref-commands.texi-Focus-Events-Mention-focus.patch (text/x-diff, inline)]
From f89a1bc9d70170f77c85ca447b8a8c3efa6f1ccd Mon Sep 17 00:00:00 2001
From: Aaron Ecay <aaronecay <at> gmail.com>
Date: Wed, 21 Oct 2015 19:38:23 +0100
Subject: [PATCH] doc/lispref/commands.texi (Focus Events): Mention
`focus-{in,out}-hook'.
* doc/lispref/commands.texi (Focus Events): Mention `focus-{in,out}-hook'.
---
doc/lispref/commands.texi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi
index 7ddf5ee..1aee2b5 100644
--- a/doc/lispref/commands.texi
+++ b/doc/lispref/commands.texi
@@ -1682,6 +1682,9 @@ Focus Events
so that the focus event comes either before or after the multi-event key
sequence, and not within it.
+Another facility that Emacs provides for running lisp code on focus
+changes is @code{focus-in-hook} and @code{focus-out-hook}.
+
@node Misc Events
@subsection Miscellaneous System Events
--
2.6.1
[Message part 3 (text/plain, inline)]
(I have a copyright assignment on file.)
Thanks,
--
Aaron Ecay
This bug report was last modified 9 years and 91 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.