GNU bug report logs - #8160
`hack-local-variables-confirm' <-- a confirmed hack!

Previous Next

Package: emacs;

Reported by: MON KEY <monkey <at> sandpframing.com>

Date: Wed, 2 Mar 2011 22:38:02 UTC

Severity: minor

Tags: notabug

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chong Yidong <cyd <at> stupidchicken.com>
To: MON KEY <monkey <at> sandpframing.com>
Cc: 8160 <at> debbugs.gnu.org
Subject: bug#8160: `hack-local-variables-confirm' <-- a confirmed hack!
Date: Sat, 05 Mar 2011 14:46:14 -0500
MON KEY <monkey <at> sandpframing.com> writes:

> The safety of a package name (and Emacs poorly informed consideration
> thereof) is simply _NONE_ of Emacs' business!

If so, (setq enable-local-variables :all) will do the job for you (and
possibly lead to security problems, but it's your call).

> Worst of all is that if I "C-g' inside `hack-local-variables-confirm'
> it doesn't even bother to clean up after itself with an
> `unwind-protect' and instead leaves behind the "*Local Variables*"
> buffer created with (get-buffer-create "*Local Variables*").

This is so that you can go back and look at what the problematic
variables were.




This bug report was last modified 14 years and 8 days ago.

Previous Next


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