From unknown Sat Jun 21 03:13:45 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#21728 <21728@debbugs.gnu.org> To: bug#21728 <21728@debbugs.gnu.org> Subject: Status: 25.0.50; [patch] mention focus-{in,out}-hook in manual Reply-To: bug#21728 <21728@debbugs.gnu.org> Date: Sat, 21 Jun 2025 10:13:45 +0000 retitle 21728 25.0.50; [patch] mention focus-{in,out}-hook in manual reassign 21728 emacs submitter 21728 Aaron Ecay severity 21728 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 21 14:48:15 2015 Received: (at submit) by debbugs.gnu.org; 21 Oct 2015 18:48:16 +0000 Received: from localhost ([127.0.0.1]:59689 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZoyQp-0002EV-Ft for submit@debbugs.gnu.org; Wed, 21 Oct 2015 14:48:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51482) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZoyQn-0002EO-Ug for submit@debbugs.gnu.org; Wed, 21 Oct 2015 14:48:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZoyQm-0006GN-MZ for submit@debbugs.gnu.org; Wed, 21 Oct 2015 14:48:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:51456) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoyQm-0006GI-JK for submit@debbugs.gnu.org; Wed, 21 Oct 2015 14:48:12 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33254) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoyQl-0007ZG-Q0 for bug-gnu-emacs@gnu.org; Wed, 21 Oct 2015 14:48:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZoyQi-0006Ew-Ki for bug-gnu-emacs@gnu.org; Wed, 21 Oct 2015 14:48:11 -0400 Received: from mail-wi0-x22b.google.com ([2a00:1450:400c:c05::22b]:37752) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoyQi-0006EP-BF for bug-gnu-emacs@gnu.org; Wed, 21 Oct 2015 14:48:08 -0400 Received: by wicfv8 with SMTP id fv8so88626515wic.0 for ; Wed, 21 Oct 2015 11:48:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:user-agent:date:message-id:mime-version :content-type; bh=oSTaAwfSYuk1hSCUnFl0hF94b6G5SrTNnNPjSKhEjCs=; b=PfqAt/4xYdslZlOrkGrsz9LhVoFkWOlpDOETrhmNAzfhFrXT9c/j39l1fIuasfuu7q WNZH6Kk7c3gaoRbOFvEQVV2k13xGv9bXHi8ZpoVisgzQ9CqubsP7R1YTV4sQLWZwB4x1 FDbfBHlO8WrcxXQqAeYukbqUU1wNBmdmcRB1HJ2c3aXBAsHTEsvQHAUOB3GRuQMrd3uX 9Cew6FsGPaO+KTKFymMrKi3kIvVgU0oynhDV0qTwXbMg5VKcbYX+nmO0iOn232xQbsf0 optL+JlqOK5t+8BAhJAk7FnWcCXOdWKq0patEPARGbdjcR6cA2uVHS+pbW5XouzcDiww iBjQ== X-Received: by 10.180.24.71 with SMTP id s7mr11487263wif.14.1445453287567; Wed, 21 Oct 2015 11:48:07 -0700 (PDT) Received: from localhost (natvip7.york.ac.uk. [144.32.240.7]) by smtp.gmail.com with ESMTPSA id t7sm19669946wib.1.2015.10.21.11.48.06 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Oct 2015 11:48:06 -0700 (PDT) From: Aaron Ecay To: bug-gnu-emacs@gnu.org Subject: 25.0.50; [patch] mention focus-{in,out}-hook in manual User-Agent: Notmuch/0.20.2+65~gbd5504e (http://notmuchmail.org) Emacs/25.0.50.2 (x86_64-unknown-linux-gnu) X-Clacks-Overhead: GNU Terry Pratchett Date: Wed, 21 Oct 2015 19:48:06 +0100 Message-ID: <87lhawys61.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable The emacs lisp reference doesn=E2=80=99t 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=E2=80=99ve added a reference to them in the attached patch. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-doc-lispref-commands.texi-Focus-Events-Mention-focus.patch >From f89a1bc9d70170f77c85ca447b8a8c3efa6f1ccd Mon Sep 17 00:00:00 2001 From: Aaron Ecay 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 --=-=-= Content-Type: text/plain (I have a copyright assignment on file.) Thanks, -- Aaron Ecay --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 21 14:58:16 2015 Received: (at 21728) by debbugs.gnu.org; 21 Oct 2015 18:58:16 +0000 Received: from localhost ([127.0.0.1]:59695 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZoyaV-0002SG-Mc for submit@debbugs.gnu.org; Wed, 21 Oct 2015 14:58:16 -0400 Received: from mtaout24.012.net.il ([80.179.55.180]:41754) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZoyaB-0002RW-CT for 21728@debbugs.gnu.org; Wed, 21 Oct 2015 14:58:14 -0400 Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0NWL00O002Y7U500@mtaout24.012.net.il> for 21728@debbugs.gnu.org; Wed, 21 Oct 2015 21:51:12 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NWL00MUI31C7X20@mtaout24.012.net.il>; Wed, 21 Oct 2015 21:51:12 +0300 (IDT) Date: Wed, 21 Oct 2015 21:57:52 +0300 From: Eli Zaretskii Subject: Re: bug#21728: 25.0.50; [patch] mention focus-{in,out}-hook in manual In-reply-to: <87lhawys61.fsf@gmail.com> X-012-Sender: halo1@inter.net.il To: Aaron Ecay Message-id: <83eggouk0f.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8BIT References: <87lhawys61.fsf@gmail.com> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 21728 Cc: 21728@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Aaron Ecay > 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. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 23 00:32:18 2016 Received: (at 21728-done) by debbugs.gnu.org; 23 Feb 2016 05:32:18 +0000 Received: from localhost ([127.0.0.1]:38860 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aY5a6-000064-9l for submit@debbugs.gnu.org; Tue, 23 Feb 2016 00:32:18 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:38199) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aY5a4-00005x-Qh for 21728-done@debbugs.gnu.org; Tue, 23 Feb 2016 00:32:17 -0500 Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aY5Zf-0001QQ-TN; Tue, 23 Feb 2016 06:31:52 +0100 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#21728: 25.0.50; [patch] mention focus-{in,out}-hook in manual References: <87lhawys61.fsf@gmail.com> <83eggouk0f.fsf@gnu.org> Date: Tue, 23 Feb 2016 16:31:47 +1100 In-Reply-To: <83eggouk0f.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 21 Oct 2015 21:57:52 +0300") Message-ID: <87wppwyou4.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aY5Zf-0001QQ-TN X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1456810314.22217@NKzLV+3LZkFrHpbmTXp+eA X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 21728-done Cc: Aaron Ecay , 21728-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Eli Zaretskii 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 From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 23 10:59:47 2016 Received: (at 21728) by debbugs.gnu.org; 23 Feb 2016 15:59:47 +0000 Received: from localhost ([127.0.0.1]:41509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aYFNH-0002SZ-It for submit@debbugs.gnu.org; Tue, 23 Feb 2016 10:59:47 -0500 Received: from eggs.gnu.org ([208.118.235.92]:39517) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aYFNC-0002SJ-6Y for 21728@debbugs.gnu.org; Tue, 23 Feb 2016 10:59:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYFN2-0001If-C7 for 21728@debbugs.gnu.org; Tue, 23 Feb 2016 10:59:33 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42787) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYFN2-0001Ib-99; Tue, 23 Feb 2016 10:59:28 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2490 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aYFN1-0006VD-FB; Tue, 23 Feb 2016 10:59:27 -0500 Date: Tue, 23 Feb 2016 17:59:21 +0200 Message-Id: <83bn77ju3q.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-reply-to: <87wppwyou4.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 23 Feb 2016 16:31:47 +1100) Subject: Re: bug#21728: 25.0.50; [patch] mention focus-{in,out}-hook in manual References: <87lhawys61.fsf@gmail.com> <83eggouk0f.fsf@gnu.org> <87wppwyou4.fsf@gnus.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 21728 Cc: aaronecay@gmail.com, 21728@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Lars Ingebrigtsen > Cc: Aaron Ecay , 21728-done@debbugs.gnu.org > Date: Tue, 23 Feb 2016 16:31:47 +1100 > > Eli Zaretskii 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. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 23 12:44:22 2016 Received: (at 21728) by debbugs.gnu.org; 23 Feb 2016 17:44:22 +0000 Received: from localhost ([127.0.0.1]:41599 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aYH0Y-0005LU-1y for submit@debbugs.gnu.org; Tue, 23 Feb 2016 12:44:22 -0500 Received: from eggs.gnu.org ([208.118.235.92]:51978) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aYH0T-0005LF-Ai for 21728@debbugs.gnu.org; Tue, 23 Feb 2016 12:44:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYH0K-0000qO-8N for 21728@debbugs.gnu.org; Tue, 23 Feb 2016 12:44:12 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45558) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYH0K-0000qJ-64; Tue, 23 Feb 2016 12:44:08 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2660 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aYH0J-0006Ji-Av; Tue, 23 Feb 2016 12:44:07 -0500 Date: Tue, 23 Feb 2016 19:44:01 +0200 Message-Id: <83si0jiaou.fsf@gnu.org> From: Eli Zaretskii To: larsi@gnus.org, aaronecay@gmail.com In-reply-to: <83bn77ju3q.fsf@gnu.org> (message from Eli Zaretskii on Tue, 23 Feb 2016 17:59:21 +0200) Subject: Re: bug#21728: 25.0.50; [patch] mention focus-{in,out}-hook in manual References: <87lhawys61.fsf@gmail.com> <83eggouk0f.fsf@gnu.org> <87wppwyou4.fsf@gnus.org> <83bn77ju3q.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 21728 Cc: 21728@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > Date: Tue, 23 Feb 2016 17:59:21 +0200 > From: Eli Zaretskii > Cc: aaronecay@gmail.com, 21728@debbugs.gnu.org > > > From: Lars Ingebrigtsen > > Cc: Aaron Ecay , 21728-done@debbugs.gnu.org > > Date: Tue, 23 Feb 2016 16:31:47 +1100 > > > > Eli Zaretskii 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. From unknown Sat Jun 21 03:13:45 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 23 Mar 2016 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator