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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 21728 in the body.
You can then email your comments to 21728 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#21728
; Package
emacs
.
(Wed, 21 Oct 2015 18:49:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Aaron Ecay <aaronecay <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 21 Oct 2015 18:49:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[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
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#21728
; Package
emacs
.
(Wed, 21 Oct 2015 18:59:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 21728 <at> debbugs.gnu.org (full text, mbox):
> From: Aaron Ecay <aaronecay <at> gmail.com>
> Date: Wed, 21 Oct 2015 19:48:06 +0100
>
> The emacs lisp reference doesn’t mention focus-in-hook and its -out-
> variant, except in a list of hooks.
No, they are also mentioned in the node "Input Focus". And the node
"Focus Events", where you suggested the addition, has a
cross-reference to "Input Focus", near its beginning. So perhaps what
we need is a sentence near that cross-reference that somehow mentions
these two hooks, and all the rest is already in place? Would you like
to suggest an alternative patch along these lines?
Thanks.
Reply sent
to
Lars Ingebrigtsen <larsi <at> gnus.org>
:
You have taken responsibility.
(Tue, 23 Feb 2016 05:33:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Aaron Ecay <aaronecay <at> gmail.com>
:
bug acknowledged by developer.
(Tue, 23 Feb 2016 05:33:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 21728-done <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
> No, they are also mentioned in the node "Input Focus". And the node
> "Focus Events", where you suggested the addition, has a
> cross-reference to "Input Focus", near its beginning. So perhaps what
> we need is a sentence near that cross-reference that somehow mentions
> these two hooks, and all the rest is already in place? Would you like
> to suggest an alternative patch along these lines?
Hm... is that really necessary, though? With that xref it seems pretty
clear that the user should go to that node for more info on everything
connected with input focus, I think...
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#21728
; Package
emacs
.
(Tue, 23 Feb 2016 16:00:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 21728 <at> debbugs.gnu.org (full text, mbox):
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: Aaron Ecay <aaronecay <at> gmail.com>, 21728-done <at> debbugs.gnu.org
> Date: Tue, 23 Feb 2016 16:31:47 +1100
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> > No, they are also mentioned in the node "Input Focus". And the node
> > "Focus Events", where you suggested the addition, has a
> > cross-reference to "Input Focus", near its beginning. So perhaps what
> > we need is a sentence near that cross-reference that somehow mentions
> > these two hooks, and all the rest is already in place? Would you like
> > to suggest an alternative patch along these lines?
>
> Hm... is that really necessary, though? With that xref it seems pretty
> clear that the user should go to that node for more info on everything
> connected with input focus, I think...
The xref doesn't mention the hooks. I suggested to add a single
sentence that does, that's all.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#21728
; Package
emacs
.
(Tue, 23 Feb 2016 17:45:01 GMT)
Full text and
rfc822 format available.
Message #19 received at 21728 <at> debbugs.gnu.org (full text, mbox):
> Date: Tue, 23 Feb 2016 17:59:21 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: aaronecay <at> gmail.com, 21728 <at> debbugs.gnu.org
>
> > From: Lars Ingebrigtsen <larsi <at> gnus.org>
> > Cc: Aaron Ecay <aaronecay <at> gmail.com>, 21728-done <at> debbugs.gnu.org
> > Date: Tue, 23 Feb 2016 16:31:47 +1100
> >
> > Eli Zaretskii <eliz <at> gnu.org> writes:
> >
> > > No, they are also mentioned in the node "Input Focus". And the node
> > > "Focus Events", where you suggested the addition, has a
> > > cross-reference to "Input Focus", near its beginning. So perhaps what
> > > we need is a sentence near that cross-reference that somehow mentions
> > > these two hooks, and all the rest is already in place? Would you like
> > > to suggest an alternative patch along these lines?
> >
> > Hm... is that really necessary, though? With that xref it seems pretty
> > clear that the user should go to that node for more info on everything
> > connected with input focus, I think...
>
> The xref doesn't mention the hooks. I suggested to add a single
> sentence that does, that's all.
Now done on the emacs-25 branch.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 23 Mar 2016 11:24:05 GMT)
Full text and
rfc822 format available.
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.