From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: safe-local-variable-values does not work for one variable Date: Sun, 03 Aug 2014 20:34:38 +0200 Message-ID: <87mwbl2zi9.fsf@web.de> References: <2014-08-02T11-45-09@devnull.Karl-Voit.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1407090927 15662 80.91.229.3 (3 Aug 2014 18:35:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Aug 2014 18:35:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 03 20:35:20 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XE0cp-0004pL-GN for geh-help-gnu-emacs@m.gmane.org; Sun, 03 Aug 2014 20:35:19 +0200 Original-Received: from localhost ([::1]:48836 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XE0co-0000IJ-Sp for geh-help-gnu-emacs@m.gmane.org; Sun, 03 Aug 2014 14:35:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49245) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XE0cY-0000D6-Ae for help-gnu-emacs@gnu.org; Sun, 03 Aug 2014 14:35:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XE0cS-0000eA-CY for help-gnu-emacs@gnu.org; Sun, 03 Aug 2014 14:35:02 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:52061) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XE0cS-0000e2-52 for help-gnu-emacs@gnu.org; Sun, 03 Aug 2014 14:34:56 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XE0cR-0004LH-2P for help-gnu-emacs@gnu.org; Sun, 03 Aug 2014 20:34:55 +0200 Original-Received: from 188-23-35-222.adsl.highway.telekom.at ([188.23.35.222]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Aug 2014 20:34:55 +0200 Original-Received: from michael_heerdegen by 188-23-35-222.adsl.highway.telekom.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Aug 2014 20:34:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 188-23-35-222.adsl.highway.telekom.at User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux) Cancel-Lock: sha1:/CAjbrQWONP2QdKtHFOWJiNj/3M= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:99064 Archived-At: Karl Voit writes: > : %%% Local Variables: > : %%% reftex-default-bibliography: '("~/archive/library") > : %%%% End: You don't need to quote list expressions in local variable specs. > Each time I start my Emacs[1], I get asked the usual > yes/no/accept_as_safe question regarding this local variable. > > I press "!" to mark/store it as being safe. I get the message: > > : Saving file /home/vk/hosts/all/config/emacs.d/init-gary.el... > > NOTE: This is a symlink to /home/vk/hosts/all/config/emacs.d/init.el > and /home/vk/hosts/all/config/emacs.d is linked to ~/.emacs.d -> so > this indirection is working in general and thus, the symlinks should > not cause this issue: "grep bibliography ~/.emacs.d/init.el" is > returning the saved custom-set-variables as expected: I'm not sure whether your problem comes from symlinking. Are you sure your custom file is loaded when you start Emacs? What's the value of `safe-local-variable-values' after starting Emacs? Michael.