GNU bug report logs - #78939
30.1.90; wishlist: separate storage location for safe-local-variable data

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: wishlist; Reported by: Christopher Howard <christopher@HIDDEN>; dated Tue, 1 Jul 2025 22:41:05 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at submit) by debbugs.gnu.org; 1 Jul 2025 22:40:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 01 18:40:21 2025
Received: from localhost ([127.0.0.1]:59380 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uWjeF-0003hg-13
	for submit <at> debbugs.gnu.org; Tue, 01 Jul 2025 18:40:20 -0400
Received: from lists.gnu.org ([2001:470:142::17]:40988)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <christopher@HIDDEN>)
 id 1uWje7-0003eV-AI
 for submit <at> debbugs.gnu.org; Tue, 01 Jul 2025 18:40:14 -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 <christopher@HIDDEN>)
 id 1uWje0-00028o-TL
 for bug-gnu-emacs@HIDDEN; Tue, 01 Jul 2025 18:40:05 -0400
Received: from mx.kolabnow.com ([212.103.80.155])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <christopher@HIDDEN>)
 id 1uWjdu-0001Dy-MB
 for bug-gnu-emacs@HIDDEN; Tue, 01 Jul 2025 18:40:04 -0400
Received: from localhost (unknown [127.0.0.1])
 by mx.kolabnow.com (Postfix) with ESMTP id 468083004C5A
 for <bug-gnu-emacs@HIDDEN>; Wed,  2 Jul 2025 00:39:56 +0200 (CEST)
Authentication-Results: ext-mx-out013.mykolab.com (amavis); dkim=pass
 reason="pass (just generated, assumed good)" header.d=librehacker.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=librehacker.com;
 h=content-transfer-encoding:content-type:content-type
 :mime-version:message-id:date:date:subject:subject:from:from
 :received:received:received; s=dkim2; t=1751409593; x=
 1753223994; bh=RN+T+uYcB0Z9iX3pTLinn1cxO0kyCu4rcIx9CxMIKZg=; b=X
 fO5P67PXyPIPmSUszORa0wcN3qoxe4A1tq2lIetFpmIK6My38sjpxM0zdKPVIuJJ
 /TuDbTtrQU6bIQVi1ITbwmGxiXlP+s5ur4VNlWdQybL5xOqmwL4LQGCeUjLRQ20q
 iOb23lvA624bVSoq1S0iO8raXk+1bk94ubs1QRiNdfXuuJj/rElHzItDohIfZDaY
 zEVwVcjSqkQMaGwYRdVmer0ZR5sdB/iwhXtRdFtKF+kwDWHfhRIIxZdwXN/5xn/o
 nL3vi1qxV/hmw9EdHYW2RHypCpBRVoTCgff7IiTesufqUHEu77eyy6QybU/ptPmJ
 TQXFNWfB8AZkeazRXSiYQ==
X-Virus-Scanned: amavis at mykolab.com
X-Spam-Flag: NO
X-Spam-Score: 0.001
X-Spam-Level: 
X-Spam-Status: No, score=0.001 tagged_above=-10 required=5
 tests=[URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mx.kolabnow.com ([127.0.0.1])
 by localhost (ext-mx-out013.mykolab.com [127.0.0.1]) (amavis, port 10024)
 with ESMTP id HDNCSO-Hdb7G for <bug-gnu-emacs@HIDDEN>;
 Wed,  2 Jul 2025 00:39:53 +0200 (CEST)
Received: from int-mx009.mykolab.com (unknown [10.9.13.9])
 by mx.kolabnow.com (Postfix) with ESMTPS id 9073630011B4
 for <bug-gnu-emacs@HIDDEN>; Wed,  2 Jul 2025 00:39:53 +0200 (CEST)
Received: from ext-subm010.mykolab.com (unknown [10.9.6.10])
 by int-mx009.mykolab.com (Postfix) with ESMTPS id 20B0320C19AB
 for <bug-gnu-emacs@HIDDEN>; Wed,  2 Jul 2025 00:39:53 +0200 (CEST)
From: Christopher Howard <christopher@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 30.1.90; wishlist: separate storage location for
 safe-local-variable data
X-Debbugs-Cc: 
Date: Tue, 01 Jul 2025 14:39:50 -0800
Message-ID: <87ldp7a62x.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=212.103.80.155;
 envelope-from=christopher@HIDDEN; helo=mx.kolabnow.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,
 RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=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.0 (+)
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: -0.0 (/)



Emacs has a sophisticated system for managing safe evaluation of file and d=
irectory local variables, as documented in 51.2.4.2 Safety of File Variable=
s, which I appreciate. However, something that I find bothersome is that th=
e permanently recorded data for safe and unsafe values is stored in the cus=
tom-set-variables code, which is stored in the init file or another file of=
 your choice. This creates a quandary for me because I like to use the cust=
omization system, but I don't want my customized settings to change often o=
r to be highly system or project specific. Using the safety system in a rou=
tine manner results in the custom-set-variables code (which I keep in the i=
nit file) being filled with pages and pages of (mostly safe) values, which =
feels awkward.

In my mind, these safe and unsafe values are more like cached data which sh=
ould be kept in a separate file, which I don't need to look at ever. As a w=
ishlist item, could a facility be integrated which allows such data to be s=
tored in a completely separate file?


In GNU Emacs 30.1.90 (build 1, x86_64-pc-linux-gnu, GTK+ Version
 3.24.43, cairo version 1.18.4) of 2025-06-23 built on theoden
Repository revision: a2bfce5d2a7d046a45c25364f3c69b3d8a776081
Repository branch: emacs-30
Windowing system distributor 'The X.Org Foundation', version 11.0.12401006
System Description: Guix System

Configured using:
 'configure --prefix=3D/home/christopher/local'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
LCMS2 LIBOTF LIBSELINUX LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER
PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS
TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB

Important settings:
  value of $EMACSLOADPATH: /home/christopher/local/share/emacs/30.1.90/lisp
  value of $EMACSNATIVELOADPATH: /home/christopher/.guix-home/profile/lib/e=
macs/native-site-lisp:/home/christopher/.guix-home/profile/lib/emacs/native=
-site-lisp:/home/christopher/.guix-home/profile/lib/emacs/native-site-lisp:=
/home/christopher/.guix-home/profile/lib/emacs/native-site-lisp
  value of $LANG: en_US.utf8
  locale-coding-system: utf-8-unix

Major mode: Info

Minor modes in effect:
  ready-player-mode: t
  repeat-mode: t
  pdf-occur-global-minor-mode: t
  engine-mode: t
  rcirc-track-minor-mode: t
  global-git-commit-mode: t
  magit-auto-revert-mode: t
  server-mode: t
  helm-mode: t
  helm-minibuffer-history-mode: t
  minibuffer-depth-indicate-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  isearch-fold-quotes-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  minibuffer-regexp-mode: t
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
/home/christopher/.emacs.d/elpa/helm-4.0.4/helm-packages hides /home/christ=
opher/.emacs.d/elpa/helm-core-4.0.4/helm-packages
/home/christopher/.emacs.d/elpa/helm-4.0.4/helm-x-icons hides /home/christo=
pher/.emacs.d/elpa/helm-core-4.0.4/helm-x-icons
/home/christopher/.emacs.d/elpa/magit-4.3.6/magit-dired hides /home/christo=
pher/.emacs.d/elpa/magit-section-4.3.6/magit-dired
/home/christopher/.emacs.d/elpa/magit-4.3.6/magit-autorevert hides /home/ch=
ristopher/.emacs.d/elpa/magit-section-4.3.6/magit-autorevert
/home/christopher/.emacs.d/elpa/transient-0.9.2/transient hides /home/chris=
topher/local/share/emacs/30.1.90/lisp/transient

Features:
(shadow emacsbug fortran vc-hg vc-bzr apropos calc-yank tramp-cmds
wdired calc-embed ...)

Memory information:
((conses 16 4813246 531611) (symbols 48 61336 16)
 (strings 32 399993 91946) (string-bytes 1 78971958)
 (vectors 16 219636) (vector-slots 8 2817732 840987)
 (floats 8 7822 11910) (intervals 56 327806 10005) (buffers 992 229))

--=20
=F0=9F=93=9B Christopher Howard
=F0=9F=9A=80 gemini://gem.librehacker.com
=F0=9F=8C=90 http://gem.librehacker.com

=D7=91=D7=A8=D7=90=D7=A9=D7=99=D7=AA =D7=91=D7=A8=D7=90 =D7=90=D7=9C=D7=94=
=D7=99=D7=9D =D7=90=D7=AA =D7=94=D7=A9=D7=9E=D7=99=D7=9D =D7=95=D7=90=D7=AA=
 =D7=94=D7=90=D7=A8=D7=A5




Acknowledgement sent to Christopher Howard <christopher@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#78939; 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: Tue, 1 Jul 2025 22:45:03 UTC

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