From mboxrd@z Thu Jan 1 00:00:00 1970 From: Noorul Islam Subject: Re: File-level execute permissions? Date: Sat, 25 Sep 2010 11:10:54 +0530 Message-ID: References: <87zkv74778.fsf@moenchweiler.bach> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=40579 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OzNVJ-0007S1-TF for emacs-orgmode@gnu.org; Sat, 25 Sep 2010 01:40:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OzNVI-0005lR-98 for emacs-orgmode@gnu.org; Sat, 25 Sep 2010 01:40:57 -0400 Received: from mail-gx0-f169.google.com ([209.85.161.169]:42005) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OzNVI-0005lD-6Y for emacs-orgmode@gnu.org; Sat, 25 Sep 2010 01:40:56 -0400 Received: by gxk24 with SMTP id 24so1777121gxk.0 for ; Fri, 24 Sep 2010 22:40:55 -0700 (PDT) In-Reply-To: <87zkv74778.fsf@moenchweiler.bach> 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: Bill Harris Cc: emacs-orgmode On Fri, Sep 24, 2010 at 6:41 PM, Bill Harris wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I understand at least the obvious risks in executing source code blocks > inside an unknown org file, but, when I created the org file myself, it > would be nice to be able to export the file without confirming execution > 20+ times. > > Is there a header element I can set that asks one time for the entire > file (or session, perhaps) for execute permission? =A0I think that would > be safer than blindly turning on permission, for I'd at least get one > opportunity to abort exporting if I was surprised by the existence of > src blocks. > How about setting `org-confirm-babel-evaluate' to nil Thanks and Regards Noorul