GNU bug report logs - #51930
27.2; Buffer-local functions? Buffers specified buffer-locally?

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Drew Adams <drew.adams@HIDDEN>; dated Wed, 17 Nov 2021 21:52:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 51930 <at> debbugs.gnu.org:


Received: (at 51930) by debbugs.gnu.org; 18 Nov 2021 09:42:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 18 04:42:25 2021
Received: from localhost ([127.0.0.1]:34786 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mndw1-0007mB-LE
	for submit <at> debbugs.gnu.org; Thu, 18 Nov 2021 04:42:25 -0500
Received: from quimby.gnus.org ([95.216.78.240]:46760)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1mndvz-0007lx-Mt
 for 51930 <at> debbugs.gnu.org; Thu, 18 Nov 2021 04:42:24 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=qbmZ4XymlsFf/3JRtRlRpdYwMSKMmILIRTSn5umlfb8=; b=vEyaXuqq+U1mzwFeIG+ALOFKZg
 YCXqQV9nE8S7ROgCa55uBjIjjlfX2TXkGuGo1/7nA0XSIN4aZ1WqwYXod6QJuhbbRGorRXMA85ndP
 xJPvWON4Sa2zY42q4RPOXxaO67ZgzhT7sc6YiAkp8zvncc565zmKDsM/QA+zcjJw+a3A=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1mndvq-00080g-59; Thu, 18 Nov 2021 10:42:16 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#51930: 27.2; Buffer-local functions? Buffers specified
 buffer-locally?
References: <SJ0PR10MB54886AFA7B33CF1E43E2E013F39A9@HIDDEN>
 <83o86hyild.fsf@HIDDEN>
X-Now-Playing: Fotheringay's _Fotheringay_: "The Ballad of Ned Kelly"
Date: Thu, 18 Nov 2021 10:42:13 +0100
In-Reply-To: <83o86hyild.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 18 Nov
 2021 10:27:10 +0200")
Message-ID: <875yspls0a.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Eli Zaretskii <eliz@HIDDEN> writes: > This is a very
 dramatic
 description of a problem ("can't make heads or > tails", "I have no idea
 what is meant", etc.), so I'm not sure whether > a simple cross-reference
 to the documentation of add [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 51930
Cc: 51930 <at> debbugs.gnu.org, Drew Adams <drew.adams@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii <eliz@HIDDEN> writes:

> This is a very dramatic description of a problem ("can't make heads or
> tails", "I have no idea what is meant", etc.), so I'm not sure whether
> a simple cross-reference to the documentation of add-hook, which
> explains what is meant by "buffer-local" in this case, will solve the
> problem.  If it will, doing that is very easy.  In fact, I just did.

I think "Functions specified buffer-locally" is an unusual way to say
"the buffer-local value of window-buffer-change-functions" -- if indeed
that's what it's trying to say.  I think rewriting this in a less
passive voice would be a good idea:

---
Functions specified buffer-locally are called for any window showing
the corresponding buffer if that window has been created or assigned
that buffer since the last time window change functions were run.  In
this case the window is passed as argument.

Functions specified by the default value are called for a frame if at
least one window on that frame has been added, deleted or assigned
another buffer since the last time window change functions were run.
In this case the frame is passed as argument.
---


-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#51930; Package emacs. Full text available.

Message received at 51930 <at> debbugs.gnu.org:


Received: (at 51930) by debbugs.gnu.org; 18 Nov 2021 08:27:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 18 03:27:23 2021
Received: from localhost ([127.0.0.1]:34611 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mnclO-0005HQ-TN
	for submit <at> debbugs.gnu.org; Thu, 18 Nov 2021 03:27:23 -0500
Received: from eggs.gnu.org ([209.51.188.92]:54954)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1mnclL-0005H7-15
 for 51930 <at> debbugs.gnu.org; Thu, 18 Nov 2021 03:27:21 -0500
Received: from [2001:470:142:3::e] (port=40068 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1mnclF-0002gJ-QQ; Thu, 18 Nov 2021 03:27:13 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=wuGzWDjLR8/r4XuW8cpG8VVUug6visaoGsEdqaSnAp0=; b=ZrntWdzCEtO+
 1cIlJMwthkGMEmnT2atB8eTF7rAsWLbLo/G+tvDpZJI520JOa7ird/qO4vl4NxfiHa5sqlStj6OqQ
 JaSPkOwGFO73UBvgXnX5ix+kbkvb+xYhxbFBo19OAtLDBMGNwv4l6rWg7+AeE+FB3XGubmG+Xl99d
 c8WMcnOIheFaYKu0rxB/aOApnMsd15lguKQu3oWmCAxgrGiqgvC3rk1sPtowmcj03Uglo6qHXwDT4
 3EiNPEO9e0rTCsPRrF4ZBuowQA1qPzBw6vckOzyjD8UZBnPpPDi2/C4hxaSSrKPF6YcSHlo427rzu
 wN9rIhZP4Wx9fVESRyYPUQ==;
Received: from [87.69.77.57] (port=4721 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1mnclF-0001Us-9b; Thu, 18 Nov 2021 03:27:13 -0500
Date: Thu, 18 Nov 2021 10:27:10 +0200
Message-Id: <83o86hyild.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Drew Adams <drew.adams@HIDDEN>
In-Reply-To: <SJ0PR10MB54886AFA7B33CF1E43E2E013F39A9@HIDDEN>
 (message from Drew Adams on Wed, 17 Nov 2021 21:51:29 +0000)
Subject: Re: bug#51930: 27.2;
 Buffer-local functions? Buffers specified buffer-locally?
References: <SJ0PR10MB54886AFA7B33CF1E43E2E013F39A9@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 51930
Cc: 51930 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Drew Adams <drew.adams@HIDDEN>
> Date: Wed, 17 Nov 2021 21:51:29 +0000
> 
> I'm trying to read (elisp) `Window Hooks', and I can't make heads or
> tails of it.  Throughout this node there's mention of buffer-local
> functions: "functions specified buffer-locally".
> 
> I have no idea what is meant by this.  I search the Elisp manual for
> buffer-local, and I find zillions of matches that are about
> buffer-local variables, of course.  And I find a couple of mentions
> of buffer-local faces.  No mention, that I can find, of buffer-local
> functions or "functions specified buffer-locally".  How to specify a
> function buffer-locally?
> 
> A wild guess is that what you're trying to say has something to do
> with using the LOCAL argument to `add-hook' or `remove-hook`.  But
> if so, it's not clear what.
> 
> Please clean up this text so it's comprehensible by an average reader.
> If buffer-local functions are indeed a thing now, please document what
> they are, somewhere.

This is a very dramatic description of a problem ("can't make heads or
tails", "I have no idea what is meant", etc.), so I'm not sure whether
a simple cross-reference to the documentation of add-hook, which
explains what is meant by "buffer-local" in this case, will solve the
problem.  If it will, doing that is very easy.  In fact, I just did.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#51930; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 17 Nov 2021 21:51:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 17 16:51:53 2021
Received: from localhost ([127.0.0.1]:34082 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mnSqP-00023l-Jg
	for submit <at> debbugs.gnu.org; Wed, 17 Nov 2021 16:51:53 -0500
Received: from lists.gnu.org ([209.51.188.17]:34122)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1mnSqL-00023Z-9W
 for submit <at> debbugs.gnu.org; Wed, 17 Nov 2021 16:51:52 -0500
Received: from eggs.gnu.org ([209.51.188.92]:46058)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <drew.adams@HIDDEN>)
 id 1mnSqJ-0007fn-F8
 for bug-gnu-emacs@HIDDEN; Wed, 17 Nov 2021 16:51:47 -0500
Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:45726)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <drew.adams@HIDDEN>)
 id 1mnSqH-00088d-25
 for bug-gnu-emacs@HIDDEN; Wed, 17 Nov 2021 16:51:47 -0500
Received: from pps.filterd (m0246617.ppops.net [127.0.0.1])
 by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1AHKvJpa000570
 for <bug-gnu-emacs@HIDDEN>; Wed, 17 Nov 2021 21:51:39 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=from : to : subject :
 date : message-id : content-type : content-transfer-encoding :
 mime-version; s=corp-2021-07-09;
 bh=bk4zHb0YON8afZjhNJoFcuqm/cGG6AWzxkx6/z49wf0=;
 b=fD/BLDxTmwDvMVI7YEE2opPc0iVdyYc9oRCstsmcDEh9PhwgBE/H1dTf4jAP7dnW76QY
 81vhdRsOk0ncN+iiJ2TBkBHefA5DpfYOCD3bTGgvMbeBQ4TewxIOOqAc+7z4T1a0ULvM
 7UTxG+Jp1eLLKatTYaOymb8pRVKpSxz5suViXiWiTBneR+gfVJcBuvPWAdHd6LLxjshA
 BY1kQMvzRVZ8KR/zhNabXSouIJ2iBwE39tStKL7+8xNKA3oC5zqXOXGpO8x1gxD010KJ
 /oAE7u0Ikeu/AREnSZk71keNZyiXEMtwI+o1wwfdTeqcGk0Z4hf+6MMPqGp9sLTL+BAv 7w== 
Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80])
 by mx0b-00069f02.pphosted.com with ESMTP id 3cd382b73v-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK)
 for <bug-gnu-emacs@HIDDEN>; Wed, 17 Nov 2021 21:51:38 +0000
Received: from pps.filterd (userp3030.oracle.com [127.0.0.1])
 by userp3030.oracle.com (8.16.1.2/8.16.1.2) with SMTP id 1AHLoHfD112627
 for <bug-gnu-emacs@HIDDEN>; Wed, 17 Nov 2021 21:51:36 GMT
Received: from nam12-mw2-obe.outbound.protection.outlook.com
 (mail-mw2nam12lp2047.outbound.protection.outlook.com [104.47.66.47])
 by userp3030.oracle.com with ESMTP id 3ca2fye957-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK)
 for <bug-gnu-emacs@HIDDEN>; Wed, 17 Nov 2021 21:51:36 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=iHWAtCOTHxY7qWz5iJ8OaLVclKcu7HuXSKORN4nWQTOyTdAjj73TpvifWfz6+aHeYHGBep82llaypSJg1w2H6hVuj5F/SryOslWNOiOvXJc4wTIEFU7dYTtM1Exyk6tO3zbXMVjmQPC6Iadoh4kaaUhSl+M9Gx/ywXCEfxTqe5Ek3nhkBt0m4mjseczWEdjRJjuMi/ZgDAXEkPmliqYP2OHJsoITzhCyvpMQxGvKenR+wUzUux+MSHTe1Qyp0VxnF4yZsh0JvnZO5cB6t0VTihCMaXbbLLuAr9MajPBkQOYo8nNeeQbDhe5aVq3eslkDq5PMhsbPRK9t3r0ssTmFkg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=bk4zHb0YON8afZjhNJoFcuqm/cGG6AWzxkx6/z49wf0=;
 b=G6+5wlN7AQgwTti9fmXEt3rW/XfeP5vINrrCBD5SJKMYGTAyFXF37otFOTcuGLEFwNYZuaGDxteSMt49TNx0hS/PdNF5veqe5qvCwqFS7DRQxrAwbSnSsiHzSl17li9W/Rdh7MOSis5Vm2C693R0mc7w6gcMdmUVyDS44FOfU7IxRRZ9da+cvmewv34ycgD0awT0kIcAiQTd5T6WMykIRrrGFp1NLcFWbwvVsjYYOAwLw0Uodbq1f0rAQZlZNwVjvIjoHKQvhQwvgTFmPneclLF8V0cRnoA6Lttc5FfzR0Ed1cK0zSASSIskPgs5TO0bilME+dksmYG9VCUFozd7Tg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com;
 dkim=pass header.d=oracle.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=bk4zHb0YON8afZjhNJoFcuqm/cGG6AWzxkx6/z49wf0=;
 b=d0PmZaBLoJtSecZhG6OQKHWYroJa3IOXMN1L9ZdOZdw76xkAtnim41vCmbDWqWNehYBcSuUE08EKDZiy4B2S3Sh/Ybq5Gt4mcn5V9zt97HrNreyNWhfTQKB4Mc0V3ha8nXMjTnOo3JULnK0JPzE9OWisoo2WzcGcwvMyVxeghe4=
Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19)
 by BYAPR10MB3271.namprd10.prod.outlook.com (2603:10b6:a03:152::30)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.19; Wed, 17 Nov
 2021 21:51:32 +0000
Received: from SJ0PR10MB5488.namprd10.prod.outlook.com
 ([fe80::4588:646c:e330:8bc0]) by SJ0PR10MB5488.namprd10.prod.outlook.com
 ([fe80::4588:646c:e330:8bc0%7]) with mapi id 15.20.4713.021; Wed, 17 Nov 2021
 21:51:29 +0000
From: Drew Adams <drew.adams@HIDDEN>
To: "bug-gnu-emacs@HIDDEN" <bug-gnu-emacs@HIDDEN>
Subject: 27.2; Buffer-local functions? Buffers specified buffer-locally?
Thread-Topic: 27.2; Buffer-local functions? Buffers specified buffer-locally?
Thread-Index: Adfb/SMoLZM1BAPyRMqVY4pQpvWpDA==
Date: Wed, 17 Nov 2021 21:51:29 +0000
Message-ID: <SJ0PR10MB54886AFA7B33CF1E43E2E013F39A9@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 62e42824-7dad-4566-cca5-08d9aa14698b
x-ms-traffictypediagnostic: BYAPR10MB3271:
x-microsoft-antispam-prvs: <BYAPR10MB3271FF01931CC4AD6C610905F39A9@HIDDEN>
x-ms-oob-tlc-oobclassifiers: OLM:7691;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 6/3hIzI1AKNCfL7Ndg5pD2/9O4u+IzPOMRwvzDQQ96JbyaMX3a9fAYp1KsdiYkbk+W0n1GtChSLrmp9RZOiVJHNzOwwn/IY5r0qe1Zu0gB8vRNE8jHvopB5fFxsTHLE4Uq8LT9wPUIGw2GKLj4uvyc1lRVj9NuZBaiUHIFbJI+30RaXeUJ12WIZMX/DOvVwoVLDtLyj/MJeOIRJL9JuLCe5czt0G2skxI/zV97MWbCfbNXyQHx8vsHYi2dWnLgkka8DGwFIPnjpcZMxCIGHD0cEIvN2olFFf0oJ1tWl3ahpoHLS4FVayixTPt5hyZXlMb+XNMjzZ7ktrygY4wS72cEO5q7MExfV535lPF8y45Lf4aY/gMi/KzYruKsayQkRjRRQ0m2gqLIHymEyAVIR3I6YC2ghdSff5ZnB5H6ilaODHixLC2J3unCiaUt1Cx40LZID7Y8iD0QkGomHlbP5rFbK28LTWS3CAOPBU0tDkO9BD7PZVF/xnb82GH1M/oggqEw8+bIa+cLLTCyrik2SREMPMFB2KaJ8A5Wbbml2lUV8cULmkCxKLi9AmrEFeFPh2neMj89A5pkKCG1KHY5089B9LECznqU+F7f2qLbwBgIllhBsYznEWBdlzyiwAUY2A9Ne8pOEE/1GXcB7FO+Dph7YZuyI9W04Y+7DjIJCi+t8kinFEEte7gZcXRRwPXrIh/59lSXIQgM/Kkl9mOhKIwg==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE;
 SFS:(366004)(86362001)(2906002)(26005)(66446008)(66556008)(316002)(38070700005)(6916009)(45080400002)(71200400001)(66476007)(64756008)(76116006)(186003)(33656002)(66946007)(7696005)(8936002)(52536014)(5660300002)(508600001)(9686003)(8676002)(6506007)(55016002)(38100700002)(122000001)(44832011);
 DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?9m5Uy6sVGBqdRnFzraZnPfLAVBYAW9JrqHSJ+Lt/i/Sn3n3JXYbavjD9nmsU?=
 =?us-ascii?Q?+nG165Z22A0YIOuwgP0nTN8uRUBkPc5qDY2x8hmvIVLIn60MexiZAxyCubBX?=
 =?us-ascii?Q?OBj+DIo5XWaKxZoo4pbdVGFSiU/w9tSPcDtSwWjxo4AuqsD6cFsIV1pdZ3zR?=
 =?us-ascii?Q?nZE41/WnEi46YjQOOjCeKuD2aJ8/GUE/A8K6ls/JDViNord4U2+XZTTkfZuH?=
 =?us-ascii?Q?f5COypk70eyNA5D9nyor9gzOv7hUc1vbhgjd08XxGzynxyt5EE5kHMICB6ON?=
 =?us-ascii?Q?ruZIIea/yKOnXhstq/uzOPJEQx2WU2r8C7hgPA1bnGL/sYLNPf0L/jd8Ky1m?=
 =?us-ascii?Q?If0+iat9eyYJ4JOG+rsFpuRn9cP7NcWjeVdC2gLuXPYZzCXzSars0vBbp6xZ?=
 =?us-ascii?Q?GN7sJ48ZH3BRlhpunXbHbb07jU7thc93EZJHTyLMJUhHNOoYnxViFO0FixkM?=
 =?us-ascii?Q?OxpjCxekEc3vyl7kLhzhG0Srfd7g6IYbrADMUmG8ADu4cwJCWs2yrXU3Txln?=
 =?us-ascii?Q?AepUDs5ONUy2BnTygKOwBDQLqDh32eICczCGkda/bsWtpZitJfA+MnImFqyq?=
 =?us-ascii?Q?I9+JW6AxywA6VEgWtQQcvPwuxg/3cy6dNgTs4CHDw5X62tzaDR7Vb0mEcFpG?=
 =?us-ascii?Q?T6Wr/TpfaFnaUKZgZGZBe+m1IOyXp1aXbIPX3RpXg7y5xXIWJJwCXLSZjmFh?=
 =?us-ascii?Q?NaFRzHp8rzYVQQe6d0joorGske8ijIqS9vAqE1qK63NRtJOWNfedAy7H40Mr?=
 =?us-ascii?Q?0tdtEIV6K9Sg0BEi982l151YM6PmH2H1vq3iLeQNe00llMAjxAA5j7v+TOF2?=
 =?us-ascii?Q?qvpgbkdSl01rl9/uxzls0gHxcjxnY926F3DrKxq0cznnI9BK499BLBZWVeuT?=
 =?us-ascii?Q?mQ8hMNVCK3lO8bHFraqGyFmzbCgKsXJ30uGx9cUfBtwJ6fIbDg0Tir7Eq7oZ?=
 =?us-ascii?Q?kTO/JBPBSwvaJmoktlB24C3GxO9MRocBy2TDj8MF0XNJCuIM8faVqTSWfToo?=
 =?us-ascii?Q?uSGpJQ5TjyBnNp2PvwXDqkeqLuVH5WA704APIHVe/2ZvdRjmaSkZBz1w/nzT?=
 =?us-ascii?Q?Lf2Kt60dkf8tFYB8hvR5Xs4BYiVPCu5F4ntgpQo1rxWR+UBrS0oC65WCfyGC?=
 =?us-ascii?Q?M42/X5ImPX8y8goWCnX41MaFAfsd5Dmk1qmPN/qS16D/qSek61nUBz9GKu1i?=
 =?us-ascii?Q?+CQ4SlWJJBCVbou2SxVp+IpRFczxhrZNh4sk9+GuH2nzaYhbHjfXGf6U/PlP?=
 =?us-ascii?Q?7Y3j+EylS611IpSk2/eldwqbXdciObv7Z7GgOjMBroMYa5PCp1EeOic4XPOf?=
 =?us-ascii?Q?7c2MnauHpOMcxPAA6dLwIjcvBbmuCSYnfhNK3Tbql9CEVVOhV9EvrdRIpl4g?=
 =?us-ascii?Q?miYkyKDpjMaGc0v0RdPeeZY7Exx8RDCkDPvgx2LIWHpMDtxwHFQ/a9bdFwV2?=
 =?us-ascii?Q?cUHrsqr/Go5CzO32jm/9d6QyHTB8dGEH+sDClErDLGOTn2pAQCjIh3OuA42C?=
 =?us-ascii?Q?gbnP5TCnfUXfuxd83641665WHfGo9YiQIiSChwZfKi5zBCON9VZhhOFsQg7z?=
 =?us-ascii?Q?P58V058+l390MPQ5w//pske+1Eb6a/Frl6nKykJwq+rSRjGQqseoD820ATLs?=
 =?us-ascii?Q?mw=3D=3D?=
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: oracle.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 62e42824-7dad-4566-cca5-08d9aa14698b
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Nov 2021 21:51:29.5089 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: GbD8IYFkTniEs4YMtdSSW1+9cDMzHC3q0xJ2i8RkXceVf6N0kz4YO9V+93CxkyLH10uUiWuc5YrYMuiidhO37g==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR10MB3271
X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10171
 signatures=668683
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0
 phishscore=0 bulkscore=0
 adultscore=0 mlxlogscore=768 malwarescore=0 mlxscore=0 suspectscore=0
 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000
 definitions=main-2111170099
X-Proofpoint-ORIG-GUID: 6-1NGZIvkF6NK_4DvUzEjGcHXn1PmHoV
X-Proofpoint-GUID: 6-1NGZIvkF6NK_4DvUzEjGcHXn1PmHoV
Received-SPF: pass client-ip=205.220.165.32;
 envelope-from=drew.adams@HIDDEN; helo=mx0a-00069f02.pphosted.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

I'm trying to read (elisp) `Window Hooks', and I can't make heads or
tails of it.  Throughout this node there's mention of buffer-local
functions: "functions specified buffer-locally".

I have no idea what is meant by this.  I search the Elisp manual for
buffer-local, and I find zillions of matches that are about
buffer-local variables, of course.  And I find a couple of mentions
of buffer-local faces.  No mention, that I can find, of buffer-local
functions or "functions specified buffer-locally".  How to specify a
function buffer-locally?

A wild guess is that what you're trying to say has something to do
with using the LOCAL argument to `add-hook' or `remove-hook`.  But
if so, it's not clear what.

Please clean up this text so it's comprehensible by an average reader.
If buffer-local functions are indeed a thing now, please document what
they are, somewhere.

In GNU Emacs 27.2 (build 1, x86_64-w64-mingw32)
 of 2021-03-26 built on CIRROCUMULUS
Repository revision: deef5efafb70f4b171265b896505b92b6eef24e6
Repository branch: HEAD
Windowing system distributor 'Microsoft Corp.', version 10.0.19042
System Description: Microsoft Windows 10 Pro (v10.0.2009.19042.1288)





Acknowledgement sent to Drew Adams <drew.adams@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#51930; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 18 Nov 2021 09:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.