From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Aaron Ecay Newsgroups: gmane.emacs.bugs Subject: bug#21728: 25.0.50; [patch] mention focus-{in,out}-hook in manual Date: Wed, 21 Oct 2015 19:48:06 +0100 Message-ID: <87lhawys61.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1445453380 15301 80.91.229.3 (21 Oct 2015 18:49:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Oct 2015 18:49:40 +0000 (UTC) To: 21728@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 21 20:49:23 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZoyRi-0005fb-IN for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Oct 2015 20:49:10 +0200 Original-Received: from localhost ([::1]:53519 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoyRh-0007ct-MB for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Oct 2015 14:49:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoyRd-0007ce-7D for bug-gnu-emacs@gnu.org; Wed, 21 Oct 2015 14:49:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZoyRa-00073b-11 for bug-gnu-emacs@gnu.org; Wed, 21 Oct 2015 14:49:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40748) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoyRZ-00073K-TO for bug-gnu-emacs@gnu.org; Wed, 21 Oct 2015 14:49:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZoyRZ-0002FX-O1 for bug-gnu-emacs@gnu.org; Wed, 21 Oct 2015 14:49:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Aaron Ecay Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Oct 2015 18:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21728 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14454532968591 (code B ref -1); Wed, 21 Oct 2015 18:49:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Oct 2015 18:48:16 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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) Original-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) 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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:107812 Archived-At: --=-=-= 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 --=-=-=--