From unknown Fri Jun 20 18:18:22 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#64621 <64621@debbugs.gnu.org> To: bug#64621 <64621@debbugs.gnu.org> Subject: Status: 28.2; [PATCH] Document ':all' of 'enable-local-variables' in Emacs manual Reply-To: bug#64621 <64621@debbugs.gnu.org> Date: Sat, 21 Jun 2025 01:18:22 +0000 retitle 64621 28.2; [PATCH] Document ':all' of 'enable-local-variables' in = Emacs manual reassign 64621 emacs submitter 64621 YE severity 64621 normal tag 64621 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 14 12:12:39 2023 Received: (at submit) by debbugs.gnu.org; 14 Jul 2023 16:12:40 +0000 Received: from localhost ([127.0.0.1]:43309 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qKLPL-0005ub-IO for submit@debbugs.gnu.org; Fri, 14 Jul 2023 12:12:39 -0400 Received: from lists.gnu.org ([2001:470:142::17]:38062) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qKLPK-0005uL-CB for submit@debbugs.gnu.org; Fri, 14 Jul 2023 12:12:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qKLP7-0000HJ-6M for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2023 12:12:26 -0400 Received: from out-28.mta1.migadu.com ([2001:41d0:203:375::1c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qKLP4-000458-CK for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2023 12:12:24 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ego.team; s=key1; t=1689351137; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type; bh=+l7f7vByezAinLQj08JF/BWP4jpcMyuY29HcOShJNpU=; b=E1cDDrgY+Wo0i2hNkdAFQ6/sv9p29aLakMQoH8psiKj+EL+MxxEcp3Y8MZIhHnF3jTrGBR F4eHUfBwy1phCbGOZKsYmxetKFWn1WP4pPiuh2LbO/S79wF9wErAe2s/QHoe3hn0X5OvGj ZlSh9pFQS9YUt1q047+mOVtpPXqA2/I= From: YE To: bug-gnu-emacs@gnu.org Subject: 28.2; [PATCH] Document ':all' of 'enable-local-variables' in Emacs manual Date: Fri, 14 Jul 2023 19:11:56 +0300 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=2001:41d0:203:375::1c; envelope-from=yet@ego.team; helo=out-28.mta1.migadu.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit 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: , Reply-To: YE Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) --=-=-= Content-Type: text/plain Hi, The suggested patch documents ':all' value of 'enable-local-variables' in the Emacs manual. Currently, the last sentence of 'enable-local-variables' description (the one starting with "Any other value ...") is not correct and brings confusion. I first doubted whether ':all' value was omitted on purpose from the Emacs manual, but it is already mentioned in doc/emacs/misc.texi (Host Security). --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Improve-doc-of-enable-local-variables-in-Emacs-manua.patch Content-Description: Document ':all' of 'enable-local-variables' in Emacs manual >From d431b2a4b7c9ecb8d87ca2c1217aa99ae120b119 Mon Sep 17 00:00:00 2001 From: YugaEgo Date: Fri, 14 Jul 2023 18:49:36 +0300 Subject: [PATCH] Improve doc of 'enable-local-variables' in Emacs manual * doc/emacs/custom.texi (Safe File Variables): Document value ':all' --- doc/emacs/custom.texi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi index d8221f51425..b527af46fa7 100644 --- a/doc/emacs/custom.texi +++ b/doc/emacs/custom.texi @@ -1368,9 +1368,11 @@ can include remote directories as well (@pxref{Remote Files}). way Emacs processes local variables. Its default value is @code{t}, which specifies the behavior described above. If it is @code{nil}, Emacs simply ignores all file local variables. @code{:safe} means use -only the safe values and ignore the rest. Any other value says to -query you about each file that has local variables, without trying to -determine whether the values are known to be safe. +only the safe values and ignore the rest. @code{:all} instructs Emacs +to set all file local variables (we advise not to use it permanently). +Any other value says to query you about each file that has local +variables, without trying to determine whether the values are known to +be safe. @vindex enable-local-eval @vindex safe-local-eval-forms -- 2.39.2 (Apple Git-143) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 14 13:34:21 2023 Received: (at 64621-done) by debbugs.gnu.org; 14 Jul 2023 17:34:21 +0000 Received: from localhost ([127.0.0.1]:43404 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qKMgP-0008Ei-BY for submit@debbugs.gnu.org; Fri, 14 Jul 2023 13:34:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47354) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qKMgN-0008ET-Ao for 64621-done@debbugs.gnu.org; Fri, 14 Jul 2023 13:34:19 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qKMgH-0004h4-L8; Fri, 14 Jul 2023 13:34:13 -0400 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=/ayUODtGop/flxdfe2MlwRTUPDYVKp6Hk4nwI8MOch0=; b=FaIeq824WJNa XJAx8nQp3E7H+H+qCgo2Frjekzf1JQc7LTf8rZjCx+ipzRHVlwIIIXp7Bhj0Ftf/Ya5trQkYVY1EU C55I/qUn0oUfkBwROJmNQSUb2LBkQTChWj69cSunh7qB4QsePGoG70zGT/cc/1dm3OAC/MEQXQEd/ Zw+DaC8fFzd6egHJt+71wwiAK32XRjGjIANUWm9mvIOyoetgGD952puNZ+791QDd4QoMvhM2spcH5 eCgCc/U2+wIYyfsrHU36TUAcAhrMnHbV+PspN9erv9VpTsgbr+g35vvuaL+fsaR+lGTflkjl0vqVE dEOsLPtzIqkDuS32Qu9d7g==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qKMgH-0001Aw-1c; Fri, 14 Jul 2023 13:34:13 -0400 Date: Fri, 14 Jul 2023 20:34:32 +0300 Message-Id: <83v8eme6s7.fsf@gnu.org> From: Eli Zaretskii To: YE In-Reply-To: (bug-gnu-emacs@gnu.org) Subject: Re: bug#64621: 28.2; [PATCH] Document ':all' of 'enable-local-variables' in Emacs manual References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 64621-done Cc: 64621-done@debbugs.gnu.org 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: -3.3 (---) > Date: Fri, 14 Jul 2023 19:11:56 +0300 > From: YE via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > The suggested patch documents ':all' value of 'enable-local-variables' > in the Emacs manual. Thanks, installed on the emacs-29 branch, and closing the bug. From unknown Fri Jun 20 18:18:22 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 12 Aug 2023 11:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator