From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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 Message-ID: <83r0xy53zt.fsf@gnu.org> References: <83h6yv85h4.fsf@gnu.org> <86wn7qaiep.fsf@mail.linkov.net> <83pmdi7mx2.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10147"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59384-done@debbugs.gnu.org, juri@linkov.net To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 20 11:13:21 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1owhKC-0002Qi-Rp for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Nov 2022 11:13:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1owhK0-00025n-Nf; Sun, 20 Nov 2022 05:13:08 -0500 Original-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 1owhJy-00025L-01 for bug-gnu-emacs@gnu.org; Sun, 20 Nov 2022 05:13:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1owhJv-0003mE-PB for bug-gnu-emacs@gnu.org; Sun, 20 Nov 2022 05:13:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1owhJu-0005Vg-E6 for bug-gnu-emacs@gnu.org; Sun, 20 Nov 2022 05:13:02 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Nov 2022 10:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 59384 X-GNU-PR-Package: emacs Mail-Followup-To: 59384@debbugs.gnu.org, eliz@gnu.org, eliz@gnu.org Original-Received: via spool by 59384-done@debbugs.gnu.org id=D59384.166893915021134 (code D ref 59384); Sun, 20 Nov 2022 10:13:02 +0000 Original-Received: (at 59384-done) by debbugs.gnu.org; 20 Nov 2022 10:12:30 +0000 Original-Received: from localhost ([127.0.0.1]:42380 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1owhJO-0005Uo-Ek for submit@debbugs.gnu.org; Sun, 20 Nov 2022 05:12:30 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1owhJJ-0005UZ-Qb for 59384-done@debbugs.gnu.org; Sun, 20 Nov 2022 05:12:29 -0500 Original-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 1owhJD-0003jQ-BA; Sun, 20 Nov 2022 05:12:19 -0500 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=KReS9jh7vjXzlRsTqISjw8lmCXad+725tMvkSfFA3S8=; b=ElKAovGI0Ijk qi11NoyZeG5Ly81bULeXEESjLemLgL9MlFBQd8Rt7qewRJ66D/WnPbWKO4S2NLrLcDYmQP5zfKhyn i48qGmdJV9lybIh1VsW6InwTQD9ORENcqmdR/1wOaMR2ZsPOs7QvWfG96vt1FWJ5L456JE7FnMgaf +IkbWI4qT9WNYhqJcIMg1R9PAs2WDPL9dS8340Fu3DqfBjieZn0mHPJjhwaCj448rac4kvYj6cKDy zJ+vVL4FssG1aI2LSRlNISynLQOZl9Cl0zDrEPhYAcbShFmJ2XxkfU9uwxFZO7MHGpipWLzsKCRU9 OnqIG8KTvCqSe14RvQiUbg==; Original-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 1owhJ8-0004YY-2y; Sun, 20 Nov 2022 05:12:18 -0500 In-Reply-To: (message from Stefan Monnier on Sat, 19 Nov 2022 17:38:35 -0500) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:248407 Archived-At: > From: Stefan Monnier > Cc: Juri Linkov , 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 ' 'safe-local-variable ...) Thanks, I went with latter.