From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#25581: 25.1; Incorrect statement in (elisp) `Hooks' Date: Tue, 31 Jan 2017 22:35:13 -0500 Message-ID: <87zii6por2.fsf@users.sourceforge.net> References: <8e81acfe-ecaa-4fac-9484-24541b232ba1@default> <87k29cq68h.fsf@users.sourceforge.net> <4218ccf3-da3c-43e3-9901-183e4ec81f71@default> <87efzjrhi7.fsf@users.sourceforge.net> <1578ae0e-be68-47b0-a834-69da76fed9cd@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1485920113 23949 195.159.176.226 (1 Feb 2017 03:35:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 1 Feb 2017 03:35:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: 25581@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 01 04:35:09 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 1cYlhN-0005tB-BE for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Feb 2017 04:35:09 +0100 Original-Received: from localhost ([::1]:42562 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cYlhP-0005S3-Iu for geb-bug-gnu-emacs@m.gmane.org; Tue, 31 Jan 2017 22:35:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40579) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cYlhJ-0005Qs-Ku for bug-gnu-emacs@gnu.org; Tue, 31 Jan 2017 22:35:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cYlhG-0001i0-Fc for bug-gnu-emacs@gnu.org; Tue, 31 Jan 2017 22:35:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54548) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cYlhG-0001hR-Bg for bug-gnu-emacs@gnu.org; Tue, 31 Jan 2017 22:35:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cYlhF-00015s-Vg for bug-gnu-emacs@gnu.org; Tue, 31 Jan 2017 22:35:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Feb 2017 03:35:01 +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.14859200534146 (code B ref 25581); Wed, 01 Feb 2017 03:35:01 +0000 Original-Received: (at 25581) by debbugs.gnu.org; 1 Feb 2017 03:34:13 +0000 Original-Received: from localhost ([127.0.0.1]:52747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYlgS-00014o-Pb for submit@debbugs.gnu.org; Tue, 31 Jan 2017 22:34:12 -0500 Original-Received: from mail-it0-f43.google.com ([209.85.214.43]:36672) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYlgQ-00014c-G4 for 25581@debbugs.gnu.org; Tue, 31 Jan 2017 22:34:10 -0500 Original-Received: by mail-it0-f43.google.com with SMTP id c7so8775508itd.1 for <25581@debbugs.gnu.org>; Tue, 31 Jan 2017 19:34:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=qc4gDfMol7avh4yK+ZDdeBwehfT+K4reG5n8UAoHlhY=; b=G0N0ganvQXZNYfe2e6M5dV5rD9yZaTn0lZSebMokjc+BSajQ40n6k3Ylca1Vuo4+OS hV1lbLkUbYR9qDEOEe5nLXHqKU4Yrtv3zIvjS/2jVUVsLX6qTgvc1KgpcQc8Z/syxOVG dzvLieFGdEtKZQaejLicnVPycL0hzqKWMJh/IWsrQrv4XQWjfXX5jcce74KJzfTW4Avg xr7dzVXI6ipBnTOTi9fQf7mvTpoIqeHgAmfwUKWr5WweWNSTwdXFqFgfLAuO4qq0JfAG zRLyM/hoN82UflBUDbJgrTCYBcLELWnlZrIdyFJw1ciIrdm4WsIWidiU7nDy59nIk/Rt /MJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=qc4gDfMol7avh4yK+ZDdeBwehfT+K4reG5n8UAoHlhY=; b=mqoUTQWf8xP/4dhv4c+YDRikGtGu2T5JoffXwRIPvzGXW4Ty77XDEZEdfPBCEk8Gdp 0EJR71MZhCYngBRxYm/4ceFByJY6ad8G3WtAOL8Llm4z5Tfcpcm1saQvJw3Hpm35KiFc X9acboRkrlVqG2aYZnJwJHK1TqkTho3y5ErOIWRvC8k4KJYI99C1zhCe14QhFujb/XXZ RNjQgK/Pe3U7Sx7E9ga3mM7YMdrMpGyL9eWgsuNnD5bNLSLrCrva6LTH9pNHD25TREEI t8Oz+XHEeaYjS5ErJXExbjE7ic4PTps0FLJwm+Wa/ZEvGY1nSj1j7vbclfc/tfb+h/Xu 63iw== X-Gm-Message-State: AIkVDXIbYSSIzUFOh7JX92kUxD6bi2u4a/BOJ/gW1y9WD38x8UdXe7o2HSPOwLjmxVKTkA== X-Received: by 10.36.139.133 with SMTP id g127mr21909986ite.4.1485920044904; Tue, 31 Jan 2017 19:34:04 -0800 (PST) Original-Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id z13sm11276379ioz.3.2017.01.31.19.34.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 31 Jan 2017 19:34:04 -0800 (PST) In-Reply-To: <1578ae0e-be68-47b0-a834-69da76fed9cd@default> (Drew Adams's message of "Tue, 31 Jan 2017 08:02:31 -0800 (PST)") 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:128859 Archived-At: Drew Adams writes: > > The changes needed, I think, are (1) clarify that the requirement > of the value being a function applies only to `*-function' vars > and (2) be clear that there are multiple ways to change the value, > including plain old `setq' (as Mark O pointed out). Hmm, do we really need to explain that variables can be changed with setq (seems redundant)? Though it might be useful to compare and contrast setq vs add-function (and maybe setq vs add-hook too?) Also wondering if add-function needs a bit of "rebranding", since I see it keeps getting referred to as "advice" (i.e., something to be avoided).