From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Phil Sainty Newsgroups: gmane.emacs.bugs Subject: bug#51930: 27.2; Buffer-local functions? Buffers specified buffer-locally? Date: Wed, 21 Sep 2022 12:13:05 +1200 Message-ID: <2f85eda92184de27e10572e6b2320885@webmail.orcon.net.nz> References: <83o86hyild.fsf@gnu.org> <877d1ycbom.fsf@gnus.org> <835yhivx39.fsf@gnu.org> <83v8piuh5k.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4529"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Orcon Webmail Cc: 51930@debbugs.gnu.org, Eli Zaretskii , larsi@gnus.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 21 03:10:15 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oaoFi-00014T-EG for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Sep 2022 03:10:14 +0200 Original-Received: from localhost ([::1]:49650 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oaoFh-0007NX-FX for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 20 Sep 2022 21:10:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46576) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oanNK-0000NA-1x for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2022 20:14:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60935) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oanNJ-0007ju-Ps for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2022 20:14:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oanNJ-0007BF-K7 for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2022 20:14:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Phil Sainty Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Sep 2022 00:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51930 X-GNU-PR-Package: emacs Original-Received: via spool by 51930-submit@debbugs.gnu.org id=B51930.166371919727508 (code B ref 51930); Wed, 21 Sep 2022 00:14:01 +0000 Original-Received: (at 51930) by debbugs.gnu.org; 21 Sep 2022 00:13:17 +0000 Original-Received: from localhost ([127.0.0.1]:60003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oanMb-00079b-Ba for submit@debbugs.gnu.org; Tue, 20 Sep 2022 20:13:17 -0400 Original-Received: from smtp-3.orcon.net.nz ([60.234.4.44]:48919) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oanMY-00079Q-DK for 51930@debbugs.gnu.org; Tue, 20 Sep 2022 20:13:16 -0400 Original-Received: from [10.253.37.70] (port=40470 helo=webmail.orcon.net.nz) by smtp-3.orcon.net.nz with esmtpa (Exim 4.90_1) (envelope-from ) id 1oanMQ-00044b-0R; Wed, 21 Sep 2022 12:13:06 +1200 Original-Received: from ip-116-251-140-135.kinect.net.nz ([116.251.140.135]) via [10.253.37.253] by webmail.orcon.net.nz with HTTP (HTTP/1.1 POST); Wed, 21 Sep 2022 12:13:05 +1200 In-Reply-To: X-Sender: psainty@orcon.net.nz X-GeoIP: -- X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:243259 Archived-At: The pattern I see in the manual is: -- Variable: HOOK-NAME This variable specifies functions ... Functions specified buffer-locally are called ... Functions specified by the default value are called ... So there's a minor inconsistency in phrasing there. How about we change all of these like so: Functions specified by the buffer-local value are called ... Functions specified by the default value are called ... Then it's consistent, and I think also resolves Drew's concern? -Phil