GNU bug report logs - #59384
29.0.50; Visiting files in Emacs Git pops up "unsafe variable" prompt

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Sat, 19 Nov 2022 13:00:02 UTC

Severity: normal

Found in version 29.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #19 received at 59384-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 59384-done <at> debbugs.gnu.org, juri <at> linkov.net
Subject: Re: bug#59384: 29.0.50; Visiting files in Emacs Git pops up "unsafe
 variable" prompt
Date: Sun, 20 Nov 2022 12:12:22 +0200
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Cc: Juri Linkov <juri <at> linkov.net>,  59384 <at> debbugs.gnu.org
> Date: Sat, 19 Nov 2022 17:38:35 -0500
> 
> AFAIK the standard solution is one of:
> 
> - try to arrange for the relevant package to be loaded before
>   hack-local-variables does its thing.  That often works for
>   major-mode dependent variables, where we try and load the
>   major mode early enough.  For the above case I can't see a good way to
>   use this approach.
> 
> - autoload the (put '<VAR> 'safe-local-variable ...)

Thanks, I went with latter.




This bug report was last modified 2 years and 184 days ago.

Previous Next


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