all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 59384-done@debbugs.gnu.org, juri@linkov.net
Subject: bug#59384: 29.0.50; Visiting files in Emacs Git pops up "unsafe variable" prompt
Date: Sun, 20 Nov 2022 12:12:22 +0200	[thread overview]
Message-ID: <83r0xy53zt.fsf@gnu.org> (raw)
In-Reply-To: <jwvv8na60b4.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Sat, 19 Nov 2022 17:38:35 -0500)

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: Juri Linkov <juri@linkov.net>,  59384@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.





      reply	other threads:[~2022-11-20 10:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-19 12:59 bug#59384: 29.0.50; Visiting files in Emacs Git pops up "unsafe variable" prompt Eli Zaretskii
2022-11-19 18:49 ` Juri Linkov
2022-11-19 19:40   ` Eli Zaretskii
2022-11-19 22:38     ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-20 10:12       ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83r0xy53zt.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=59384-done@debbugs.gnu.org \
    --cc=juri@linkov.net \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.