From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#25581: 25.1; Incorrect statement in (elisp) `Hooks' Date: Mon, 30 Jan 2017 20:06:27 -0800 (PST) Message-ID: <46baf5b5-e436-4476-bdf5-5ea10e0048d8@default> References: <8e81acfe-ecaa-4fac-9484-24541b232ba1@default> <87k29cq68h.fsf@users.sourceforge.net> <87y3xrdhnw.fsf@holos> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1485835636 22248 195.159.176.226 (31 Jan 2017 04:07:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2017 04:07:16 +0000 (UTC) Cc: 25581@debbugs.gnu.org To: Mark Oteiza , npostavs@users.sourceforge.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 31 05:07:12 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 1cYPiq-0005cw-CN for geb-bug-gnu-emacs@m.gmane.org; Tue, 31 Jan 2017 05:07:12 +0100 Original-Received: from localhost ([::1]:36042 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cYPiu-0000sK-0S for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Jan 2017 23:07:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58238) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cYPik-0000ra-1t for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2017 23:07:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cYPig-00065d-Uw for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2017 23:07:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53389) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cYPig-00065Z-SA for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2017 23:07:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cYPig-0004sZ-Bw for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2017 23:07:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 31 Jan 2017 04:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25581 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25581-submit@debbugs.gnu.org id=B25581.148583560218677 (code B ref 25581); Tue, 31 Jan 2017 04:07:02 +0000 Original-Received: (at 25581) by debbugs.gnu.org; 31 Jan 2017 04:06:42 +0000 Original-Received: from localhost ([127.0.0.1]:51588 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYPiL-0004rA-Uz for submit@debbugs.gnu.org; Mon, 30 Jan 2017 23:06:42 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:22550) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYPiJ-0004qd-Gd for 25581@debbugs.gnu.org; Mon, 30 Jan 2017 23:06:39 -0500 Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v0V46VcZ024267 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 31 Jan 2017 04:06:32 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0021.oracle.com (8.13.8/8.14.4) with ESMTP id v0V46VXV032080 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 31 Jan 2017 04:06:31 GMT Original-Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v0V46UQX008672; Tue, 31 Jan 2017 04:06:30 GMT In-Reply-To: <87y3xrdhnw.fsf@holos> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6753.5000 (x86)] X-Source-IP: aserv0021.oracle.com [141.146.126.233] 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:128818 Archived-At: > Better, but the typical practice of setq'ing to another named > function should be mentioned before advice. Before or after, I don't know. But it should be clear to a user at the end that s?he _can_ use _any_ of these (and similar): setq (-local etc), set add-hook add-function And if Emacs wants to make a point of _recommending_ one of these (for a hook named `*-function') then it should, I think, point out some of its _advantages_.