From unknown Sun Jun 22 00:54:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45864: 27.1; hack-local-variables-hook is not documented in Emacs Manual Resent-From: Howard Melman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Jan 2021 15:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45864 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 45864@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16106390392603 (code B ref -1); Thu, 14 Jan 2021 15:44:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Jan 2021 15:43:59 +0000 Received: from localhost ([127.0.0.1]:38944 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l04n1-0000fv-13 for submit@debbugs.gnu.org; Thu, 14 Jan 2021 10:43:59 -0500 Received: from lists.gnu.org ([209.51.188.17]:53430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l04mw-0000fl-Bd for submit@debbugs.gnu.org; Thu, 14 Jan 2021 10:43:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56470) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l04mv-0004Kd-Ue for bug-gnu-emacs@gnu.org; Thu, 14 Jan 2021 10:43:53 -0500 Received: from mail-qt1-x830.google.com ([2607:f8b0:4864:20::830]:36311) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l04mu-0002ZW-Ch for bug-gnu-emacs@gnu.org; Thu, 14 Jan 2021 10:43:53 -0500 Received: by mail-qt1-x830.google.com with SMTP id z20so3783552qtq.3 for ; Thu, 14 Jan 2021 07:43:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=oL6Dys6646FuyVINEkn1+AZ775TfT0Rq8NDO71l7mjc=; b=ZObMFEkTiEnIj5I9ec35pB804xHl7GyeNz5LttwtqzOwtpa+HPvATPJj32nKELe57B WaUmLRlixptfCmWQl/iXhe1O39XqiZPP0yUksJ85LbhPjoEY7IoTGmBZHX41f/jR4vXC rxQA9/MhHo3RbfS6nDynphbjWaG2xAcPWZLxsJ6ioaixYzJ/qR9/eLF7nLOfrmMxa35V TLmvVSrJyogAdqB1Fspgq/zMNEUgqjOCrzenVOrlWoABuU73u4NHgRAMYYyI1c6/svU9 mqlxHx8MunX1hgaVfYunM1sLrk2uc+fCNXs06DzrFQt1tksbvVRISfxbhFT7yYWy9Eew vNsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=oL6Dys6646FuyVINEkn1+AZ775TfT0Rq8NDO71l7mjc=; b=I9iPLdYPST+NXKI6FgxP3TFeDEQqXiUkJsK91EK0U0zSqJ66U86x/zmH+tUg+PRBIT wGrUKRWCRwTdsSYzhKcBQO7WN8znvZCbwjPC0Z+88ldOsO4msdAh8WKqi4sw9ZbCYXZC meij/yVUKW9vJecXrGxa7oir+LOcFWX4uD/sN+3oHOfspfD0oLu60mDFEgeJwTh4jmrO ktC/n5PFsePB9raMPymR31Dj6mDhg7St6z3D5ajX4uqiIroCr3lXULKLNpaEQRQNTb9J K/2+n3rZzJh+zHl2Vz8TbrN1/gTKKiGnbPf90l6zXOev+SoGI9w0w53wDCNeIIVb9Xf+ Po4Q== X-Gm-Message-State: AOAM530uEEsybAF3mC2IJ+kGUXmCHe1VWfpffHGWykxMZWvoWL84Kp3e 7xyesv9fWvfcnM69pgAkKR1cPLIOq2A= X-Google-Smtp-Source: ABdhPJzrVjMQgmnPmp4qI/P4Zc3Gt4N7DxJcR3Czh404pIqNhN/vP2gBKlCsI2gRQgRY0LVq5SGLyQ== X-Received: by 2002:ac8:5995:: with SMTP id e21mr7331715qte.294.1610639030511; Thu, 14 Jan 2021 07:43:50 -0800 (PST) Received: from lumet2.home (pool-108-26-232-211.bstnma.fios.verizon.net. [108.26.232.211]) by smtp.gmail.com with ESMTPSA id y10sm3178920qkb.115.2021.01.14.07.43.49 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Jan 2021 07:43:49 -0800 (PST) From: Howard Melman Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Message-Id: <62F9C4EE-B85D-4348-BAF1-3358CF49193C@gmail.com> Date: Thu, 14 Jan 2021 10:43:48 -0500 X-Mailer: Apple Mail (2.3608.120.23.2.4) Received-SPF: pass client-ip=2607:f8b0:4864:20::830; envelope-from=hmelman@gmail.com; helo=mail-qt1-x830.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) I've been frustrated with a few packages that set outline-regexp as a file local variable in a way I don't prefer. Since this is set after my major-mode hook is run I didn't think I had a way to override these. The Emacs manual only describes how to affect this with the variable enable-local-variables which isn't granular enough to fix this.=20 Today I learned about the hack-local-variables-hook which allows me to correct these. I'm surprised that it and before-hack-local-variables-hook are not documented in the Emacs Manual but are only mentioned in the Elisp Reference Manual. Unless I'm misunderstanding something they're meant for users and not just for elisp programmers so they should be in the Emacs Manual. In GNU Emacs 27.1 (build 1, x86_64-apple-darwin19.5.0, Carbon Version = 162 AppKit 1894.5) of 2020-11-14 built on Traviss-Mac.local Repository revision: 443027ae4946e227b8eb7754751eea62ab7f3386 Repository branch: HEAD Windowing system distributor 'Apple Inc.', version 10.15.7 System Description: Mac OS X 10.15.7 --=20 Howard From unknown Sun Jun 22 00:54:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45864: 27.1; hack-local-variables-hook is not documented in Emacs Manual Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Jan 2021 06:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45864 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Howard Melman Cc: 45864@debbugs.gnu.org Received: via spool by 45864-submit@debbugs.gnu.org id=B45864.161103738713852 (code B ref 45864); Tue, 19 Jan 2021 06:24:01 +0000 Received: (at 45864) by debbugs.gnu.org; 19 Jan 2021 06:23:07 +0000 Received: from localhost ([127.0.0.1]:49170 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l1kPy-0003bM-W1 for submit@debbugs.gnu.org; Tue, 19 Jan 2021 01:23:07 -0500 Received: from quimby.gnus.org ([95.216.78.240]:55230) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l1kPx-0003aa-Cu for 45864@debbugs.gnu.org; Tue, 19 Jan 2021 01:23:05 -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=x/1B6TfRwcAg4JGVOSWj5/vKUTjpNz6xp1BS+RwbL5s=; b=SME4fT2qhF92MtypgnQsoIMnIF VLqHOe/lKQcho0BOXBIawoJL+/tZwkjkLVosmnAd9qr5qf0YEFhs2RTcEry0lzTPn+OadX3g+1ZHG +HGMWAM8PDaxFBc8GtOPiryvGtUWEBqyFOs8iRgHIu/IG/ZyHiUAu1nFb65OSVB39YWg=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l1kPo-0004MY-US; Tue, 19 Jan 2021 07:22:59 +0100 From: Lars Ingebrigtsen References: <62F9C4EE-B85D-4348-BAF1-3358CF49193C@gmail.com> X-Now-Playing: Sylvester's _For Discos Only (2)_: "Dance (Disco Heat)(Special 12inch Disco Mix)" Date: Tue, 19 Jan 2021 07:22:55 +0100 In-Reply-To: <62F9C4EE-B85D-4348-BAF1-3358CF49193C@gmail.com> (Howard Melman's message of "Thu, 14 Jan 2021 10:43:48 -0500") Message-ID: <875z3to37k.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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: Howard Melman writes: > Today I learned about the hack-local-variables-hook which > allows me to correct these. I'm surprised that it and > before-hack-local-variables-hook are not documented in the > Emacs Manual but are [...] 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: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Howard Melman writes: > Today I learned about the hack-local-variables-hook which > allows me to correct these. I'm surprised that it and > before-hack-local-variables-hook are not documented in the > Emacs Manual but are only mentioned in the Elisp Reference > Manual. Unless I'm misunderstanding something they're meant > for users and not just for elisp programmers so they should > be in the Emacs Manual. The doc string of the former variable says: ---- Major modes can use this to examine user-specified local variables in order to initialize other data structure based on them. ---- So they are meant for people implementing major modes, which is why they're in the lispref manual, and not the Emacs manual. (Users can use them, too, but that's not really their purpose.) So I think it makes sense to keep the documentation as is, and I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 19 01:23:17 2021 Received: (at control) by debbugs.gnu.org; 19 Jan 2021 06:23:17 +0000 Received: from localhost ([127.0.0.1]:49173 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l1kQ9-0003bl-7T for submit@debbugs.gnu.org; Tue, 19 Jan 2021 01:23:17 -0500 Received: from quimby.gnus.org ([95.216.78.240]:55246) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l1kQ7-0003bW-Ox for control@debbugs.gnu.org; Tue, 19 Jan 2021 01:23:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=hlI42fZ5u9tN6fNIA401tTvY5nW8TXx5SBxaEFYYSic=; b=W5is6KYyH0x6agShPE7AEsALHm U35sLrl4Lhw6NuV3/Kc5oiYT6ELKOdjbQfjbfT9fjWimrb+vI+Ac1D72QHVto/Le5ul0DW7bgEbAw swnDEpBHFglYvYRnnkDxO7TppNF4SDpfZ0e51SIMXp/X7Cwq7CPZiaE32Ta5H11bJMaE=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l1kQ0-0004Mj-6j for control@debbugs.gnu.org; Tue, 19 Jan 2021 07:23:10 +0100 Date: Tue, 19 Jan 2021 07:23:07 +0100 Message-Id: <874kjdo378.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #45864 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: tags 45864 wontfix close 45864 quit 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: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 45864 wontfix close 45864 quit From unknown Sun Jun 22 00:54:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45864: 27.1; hack-local-variables-hook is not documented in Emacs Manual Resent-From: Howard Melman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Jan 2021 13:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45864 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix To: 45864@debbugs.gnu.org Cc: Lars Ingebrigtsen Received: via spool by 45864-submit@debbugs.gnu.org id=B45864.16110624107193 (code B ref 45864); Tue, 19 Jan 2021 13:21:02 +0000 Received: (at 45864) by debbugs.gnu.org; 19 Jan 2021 13:20:10 +0000 Received: from localhost ([127.0.0.1]:49706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l1qvZ-0001rx-Qn for submit@debbugs.gnu.org; Tue, 19 Jan 2021 08:20:10 -0500 Received: from mail-qk1-f177.google.com ([209.85.222.177]:35828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l1qvW-0001rK-2x for 45864@debbugs.gnu.org; Tue, 19 Jan 2021 08:20:08 -0500 Received: by mail-qk1-f177.google.com with SMTP id n142so21769673qkn.2 for <45864@debbugs.gnu.org>; Tue, 19 Jan 2021 05:20:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ye/Kya2JoJogRscXcwd9gjzsfH5IB6puZ7l/fVpQIn8=; b=CrCELunlkqK9smvn0eT2UH2h4uqtAoKokNzReE44dYQqawV0mPqxboJ7aRvjeN/7YS 4D/79nxP84YiKQkUsmyZdTRGMDTEu2bZKfleEMHvPVQe5H00rvt0Yn1wMQ74xUaULZvG IWb8Uxh7j8Z6S4C1xx5phWp2TsUGJU6V0hnNcGtEYtnIrBptabZzdNYHWD2gXwUjxeDy hoLrqzE9NlZwjIvKCGjEf5iYXOZ4n7M3PzvmNmhieQ5iixNEIszS+uIh/B5uyU9kzhvn weRu5dj+iZLQASlkrtlS3KqNkSN/GWWne0cfs1fz3MZ8m9M8jig+V0UDdyoznggyk1pf EUdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ye/Kya2JoJogRscXcwd9gjzsfH5IB6puZ7l/fVpQIn8=; b=qpgRb9Ov6GvvnRSR3St3QfBWh90qtGDyNxkmLvtdtIdQz6+yPtBjjkAkOC5s1yQzUn Qe3fwvfbGTglP3tth6tbwxn3bi37b5EgVjci8wFGWzdhHm5F6mxjh2lvbmNCrDdbwZ4W 84F/EQoZypnpt+9jWvsxEpDxXEznZoyk+/bZ1Ao4NzOim9/NTXd7m6psqaOlkiVTx4qJ AzGpXiXSmkpvteoyvQigFAHFS3KAZ0ygLoH+0Z2iCJOWH8SvyaUMN/iv8PbsDx7wmsjQ xNJh1bUkIetVR/ylP0NRaYVBLjE+APmdGEUPiXZmujruf7vSnrN6zdB5KAJB093sSktz A9WA== X-Gm-Message-State: AOAM530lJfqHFCRoAy4HH9aNlPj4Cd43SBfLKOb3p+WbgNCBsz/TUHl6 Oa9Km69uKKl72l92HOZnsBZbmFdlyV0= X-Google-Smtp-Source: ABdhPJxcPvZkDN9ERGKf6FjbGCS2H9TyoZ9U1TY6WfjIYT5HtSbl3w0tCfR4Ju6+wYdNtceaSXGCzw== X-Received: by 2002:a37:9c8a:: with SMTP id f132mr4216674qke.189.1611062400165; Tue, 19 Jan 2021 05:20:00 -0800 (PST) Received: from lumet2.home (pool-108-26-232-211.bstnma.fios.verizon.net. [108.26.232.211]) by smtp.gmail.com with ESMTPSA id r8sm12774929qkm.106.2021.01.19.05.19.59 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Jan 2021 05:19:59 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) From: Howard Melman In-Reply-To: Date: Tue, 19 Jan 2021 08:19:58 -0500 Content-Transfer-Encoding: 7bit Message-Id: References: <62F9C4EE-B85D-4348-BAF1-3358CF49193C@gmail.com> <875z3to37k.fsf@gnus.org> X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > On Jan 19, 2021, at 8:18 AM, Howard Melman wrote: > > On Jan 19, 2021, at 1:22 AM, Lars Ingebrigtsen wrote: >> >> Howard Melman writes: >> >>> Today I learned about the hack-local-variables-hook which >>> allows me to correct these. I'm surprised that it and >>> before-hack-local-variables-hook are not documented in the >>> Emacs Manual but are only mentioned in the Elisp Reference >>> Manual. Unless I'm misunderstanding something they're meant >>> for users and not just for elisp programmers so they should >>> be in the Emacs Manual. >> >> The doc string of the former variable says: >> >> ---- >> Major modes can use this to examine user-specified local variables >> in order to initialize other data structure based on them. >> ---- >> >> So they are meant for people implementing major modes, which is why >> they're in the lispref manual, and not the Emacs manual. (Users can use >> them, too, but that's not really their purpose.) > > Ok, so is there another way to address my issue. Some packages set > outline-regexp as a file local variable in their elisp source and I'd > prefer a different value. Since file local variables are set after > the major mode hooks are run I didn't think there was a way for me to > override the. I know about enable-local-variables but that's about > safety and not really granular enough for me to override an otherwise > safe variable without having to get asked about them every time I > visit the file. I found out about this hook and it seems to be > exactly what I want, it lets me override the file local variables set > in the file. Is there another way to do this? If not, can this hook > be exposed to users for this purpose? > > Howard From unknown Sun Jun 22 00:54:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45864: 27.1; hack-local-variables-hook is not documented in Emacs Manual Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Jan 2021 15:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45864 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix To: Howard Melman Cc: 45864@debbugs.gnu.org Received: via spool by 45864-submit@debbugs.gnu.org id=B45864.161107124418834 (code B ref 45864); Tue, 19 Jan 2021 15:48:02 +0000 Received: (at 45864) by debbugs.gnu.org; 19 Jan 2021 15:47:24 +0000 Received: from localhost ([127.0.0.1]:51341 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l1tE4-0004ti-Gk for submit@debbugs.gnu.org; Tue, 19 Jan 2021 10:47:24 -0500 Received: from quimby.gnus.org ([95.216.78.240]:32810) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l1tE2-0004tS-W7 for 45864@debbugs.gnu.org; Tue, 19 Jan 2021 10:47:23 -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=6Pa08uBCS8PKQ9Edp1kloRJYfmxVKTviL4yvcQ+ivAM=; b=aIpVq9cGBZCv7U5tBmQnvT0a+G d9QDAoSfiEtrbapREQyFKms0GYpTIs55YzzN+qp9flOkFvtQGcM5+SdPvr9b2lw8fTbZbqQsUo/Mt A7NdMrt3hnSMBa+YYf+jkb2IrnY9FQ+KynWy7pJbpMFpyOrtBlcqKHl/Cn8mYimHcVJ4=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l1tDp-0001lL-DV; Tue, 19 Jan 2021 16:47:16 +0100 From: Lars Ingebrigtsen References: <62F9C4EE-B85D-4348-BAF1-3358CF49193C@gmail.com> <875z3to37k.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEVIPjA4MCiAd3D/ ///D3Px/AAAAAWJLR0QDEQxM8gAAAAd0SU1FB+UBEw8SMKDg9hIAAAFaSURBVCjPPVJNquYwDHMg 3qcQ32GOYUO9dyC61zvCLId3ypG/+TGUosaRJbmyj+zhI2RA+NQORF5psKVQlZaqorAwnDQRlQSm KvK1zU5cWc9ZERqiuaK0VmKomBV5Pd6mRpSMcA1NUodWpOjALFG1o0O3wUpeyzMJalsKCtgz1+WL c4C1X7vn5VBNqDulzS1bNZ5Qczxgm6ryy7gUipu6v/KNopz0PbGAzHjFdl08iSSLGO6lTVJPaT+X 3gw1e2h5rgys1+TUcFf4GrRwotOgscy+cwrGvEYRnPDSubpfjkrIxVrmjG5rRgPolkFXjrmy1D/m Ar7JJ5SDIDDMD9g8uwaOER+dCUFISes+UPAOhd7u6mxZYLLnNldTf//8/uVS3iB/fBq4C1LwRl2p qoX67MdhQvLeabMwTKZMammB3MV9SG09kuVCDYY/Fc5/51/p3/au/pP+H5Ts3xYhccLVdOv3AAAA JXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTAxLTE5VDE1OjE4OjQ3KzAwOjAwhR+60gAAACV0RVh0ZGF0 ZTptb2RpZnkAMjAyMS0wMS0xOVQxNToxODo0NyswMDowMPRCAm4AAAAASUVORK5CYII= X-Now-Playing: Fennesz's _Agora_: "Agora" Date: Tue, 19 Jan 2021 16:47:08 +0100 In-Reply-To: (Howard Melman's message of "Tue, 19 Jan 2021 08:19:58 -0500") Message-ID: <87eeihhqtf.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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: Howard Melman writes: >> I found out about this hook and it seems to be >> exactly what I want, it lets me override the file local variables set >> in the file. Is there another way to do this? If not, can this hook >> be [...] 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: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Howard Melman writes: >> I found out about this hook and it seems to be >> exactly what I want, it lets me override the file local variables set >> in the file. Is there another way to do this? If not, can this hook >> be exposed to users for this purpose? Users are free to use whatever parts of Emacs they want, so there's nothing much to expose. Things that we don't expect users to commonly want to hack around with (because things are a bit more complicated) are not documented in the Emacs manual, but in the Emacs Lisp manual. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no