From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#25794: 24.5; Doc of `Info-selection-hook' Date: Sat, 25 Feb 2017 10:53:49 +0200 Message-ID: <838touslb6.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1488012919 25508 195.159.176.226 (25 Feb 2017 08:55:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 25 Feb 2017 08:55:19 +0000 (UTC) Cc: 25794-done@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 25 09:55:10 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1chY8D-0005Zi-Ac for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Feb 2017 09:55:09 +0100 Original-Received: from localhost ([::1]:41842 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chY8H-0004J0-Pz for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Feb 2017 03:55:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chY89-0004GG-R2 for bug-gnu-emacs@gnu.org; Sat, 25 Feb 2017 03:55:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1chY86-0001Z4-JT for bug-gnu-emacs@gnu.org; Sat, 25 Feb 2017 03:55:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56961) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1chY86-0001Yu-HL for bug-gnu-emacs@gnu.org; Sat, 25 Feb 2017 03:55:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1chY86-00052p-9e for bug-gnu-emacs@gnu.org; Sat, 25 Feb 2017 03:55:02 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Feb 2017 08:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 25794 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 25794@debbugs.gnu.org, eliz@gnu.org, drew.adams@oracle.com Original-Received: via spool by 25794-done@debbugs.gnu.org id=D25794.148801286519340 (code D ref 25794); Sat, 25 Feb 2017 08:55:02 +0000 Original-Received: (at 25794-done) by debbugs.gnu.org; 25 Feb 2017 08:54:25 +0000 Original-Received: from localhost ([127.0.0.1]:55159 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1chY7U-00051s-MX for submit@debbugs.gnu.org; Sat, 25 Feb 2017 03:54:24 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37134) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1chY7S-00051f-IV for 25794-done@debbugs.gnu.org; Sat, 25 Feb 2017 03:54:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1chY7K-0001Jz-Aw for 25794-done@debbugs.gnu.org; Sat, 25 Feb 2017 03:54:17 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53221) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chY7K-0001Jr-7b; Sat, 25 Feb 2017 03:54:14 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2917 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1chY7J-0004UV-Cg; Sat, 25 Feb 2017 03:54:13 -0500 In-reply-to: (message from Drew Adams on Sun, 19 Feb 2017 09:28:27 -0800 (PST)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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" Xref: news.gmane.org gmane.emacs.bugs:129770 Archived-At: > Date: Sun, 19 Feb 2017 09:28:27 -0800 (PST) > From: Drew Adams > > This is a hook: a variable used by users to automatically invoke > functions when something happens. > > Sure, it's true that "when something happens" means, more precisely, at > certain places in the implementation (code). But a hook is a user-level > thing, and hooks should be, first of all, presented to users as such. > Their descriptions should make clear to users when they are used. > > That's not really the case for `Info-selection-hook', IMO. Why? > Because users do not know what "when `Info-select-node' is called" > means. They know nothing about non-interactive function > `Info-select-node'. > > (Also, the doc string says "Hooks run" - that should be singular.) Fixed on the emacs-25 branch. Thanks.