From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: buffer local part of a hook Date: Mon, 07 Mar 2016 12:31:41 -0500 Message-ID: References: <5259b4d6-c2f8-5279-1d0f-abd19b10a63c@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1457371939 18924 80.91.229.3 (7 Mar 2016 17:32:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Mar 2016 17:32:19 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Dmitry Gutov Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 07 18:32:09 2016 Return-path: Envelope-to: geh-help-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 1acz0q-0006kY-Bm for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Mar 2016 18:32:08 +0100 Original-Received: from localhost ([::1]:57350 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acz0p-00026Q-Pc for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Mar 2016 12:32:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45909) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acz0c-00026F-Ob for help-gnu-emacs@gnu.org; Mon, 07 Mar 2016 12:31:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1acz0Y-0001pT-Lv for help-gnu-emacs@gnu.org; Mon, 07 Mar 2016 12:31:54 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:58032) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acz0Y-0001nn-H7 for help-gnu-emacs@gnu.org; Mon, 07 Mar 2016 12:31:50 -0500 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.DIT.UMontreal.CA (8.14.1/8.14.1) with ESMTP id u27HW9vT000778; Mon, 7 Mar 2016 12:32:09 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 5DD496041F; Mon, 7 Mar 2016 12:31:41 -0500 (EST) In-Reply-To: <5259b4d6-c2f8-5279-1d0f-abd19b10a63c@yandex.ru> (Dmitry Gutov's message of "Mon, 7 Mar 2016 17:41:18 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5603=0 X-NAI-Spam-Version: 2.3.0.9418 : core <5603> : inlines <4452> : streams <1599180> : uri <2160383> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:109505 Archived-At: >> No, it's part of the exposed functionality, since add/remove-hook >> specify explicitly with the `local' argument whether the specified >> function should be added-to/removed-from the global or the local part. > So we're fine with users changing the values of hooks directly, without > using add-hook/remove-hook? No. But we're fine with exposing the concept that a hook as a "local part" and a "global part". Stefan