From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Embedded code Date: Tue, 18 Jan 2011 13:35:19 -0500 Message-ID: <8959.1295375719@gamaville.dokosmarshall.org> References: <2324250583714673900@unknownmsgid> <87aaizhz23.fsf@gmail.com> <4D3554AC.1060303@gmail.com> <8762tmfa74.fsf@gmail.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from [140.186.70.92] (port=47306 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PfGP4-000342-OP for emacs-orgmode@gnu.org; Tue, 18 Jan 2011 13:35:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PfGP3-0008Ph-C2 for emacs-orgmode@gnu.org; Tue, 18 Jan 2011 13:35:38 -0500 Received: from vms173007pub.verizon.net ([206.46.173.7]:57212) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PfGP3-0008PH-7Z for emacs-orgmode@gnu.org; Tue, 18 Jan 2011 13:35:37 -0500 Received: from gamaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173007.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LF800IEVEAV3U70@vms173007.mailsrvcs.net> for emacs-orgmode@gnu.org; Tue, 18 Jan 2011 12:35:20 -0600 (CST) In-reply-to: Message from Ido Magal of "Tue, 18 Jan 2011 09:12:58 PST." List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Ido Magal Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org, Rainer M Krug Ido Magal wrote: > > 1. Is it possible to avoid the confirmations on every file load? > Yes: check out the variable safe-local-variable-values (and the related safe-local-eval-forms) for the general emacs-level nagging mechanism and the variable org-confirm-babel-evaluate for the babel-specific one. I had already set the latter to nil so when I tried out Eric's solution, I got the first nag, together with an invitation to type y, no or ! to resp. apply, ignore, or apply and save for future sessions. I typed ! and it saved the setting in my customization file. No more nags.[fn:1] Nick Footnotes: [fn:1] I'd have expected it to modify safe-local-eval-forms, but it modified safe-local-variable-values instead. Regardless, it seems to work fine.