From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Barton Subject: Re: [ANN] [Solved] org-crypt Version 0.3 Date: Wed, 20 May 2009 09:53:08 +0100 Message-ID: <4A13C4F4.7080103@manor-farm.org> References: <867i0euzxs.fsf@pmade.com> <4A128C10.2050401@manor-farm.org> Reply-To: lists@manor-farm.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M6hY5-0001tx-Eh for emacs-orgmode@gnu.org; Wed, 20 May 2009 04:53:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M6hY2-0001tA-PD for emacs-orgmode@gnu.org; Wed, 20 May 2009 04:53:16 -0400 Received: from [199.232.76.173] (port=59316 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6hY2-0001sx-EQ for emacs-orgmode@gnu.org; Wed, 20 May 2009 04:53:14 -0400 Received: from li40-130.members.linode.com ([72.14.178.130]:50145) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M6hY1-0002XL-VS for emacs-orgmode@gnu.org; Wed, 20 May 2009 04:53:14 -0400 Received: from localhost (mail.wilkesley.org [127.0.0.1]) by li40-130.members.linode.com (Postfix) with ESMTP id B44DFCC63 for ; Wed, 20 May 2009 09:53:12 +0100 (BST) Received: from li40-130.members.linode.com ([127.0.0.1]) by localhost (wilkesley.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pnuk5LoJt6-a for ; Wed, 20 May 2009 09:53:12 +0100 (BST) Received: from [192.168.0.55] (unknown [217.146.125.41]) by li40-130.members.linode.com (Postfix) with ESMTPSA id CD3D5CC60 for ; Wed, 20 May 2009 09:53:11 +0100 (BST) In-Reply-To: <4A128C10.2050401@manor-farm.org> 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 Cc: emacs-orgmode@gnu.org Ian Barton wrote: >> >> The attached version of org-crypt fixes a few bugs and is just about >> ready to be included in org proper. The only thing it might need before >> inclusion in org is automatic encryption via hooks. >> > Peter, > I have just been trying out org-crypt. With a minimal org file: > > -*- mode: org; before-save-hook: (org-encrypt-entries) -*- > #+STARTUP: showall > #+STARTUP: hidestars > > * Headline 1 > > * Headline 2 :crypt: > -----BEGIN PGP MESSAGE----- > Version: GnuPG v1.4.9 (GNU/Linux) > > [Rest of buffer deleted] > > I get the following error: > > ----------------------------------------------------------------------- > The local variables list in test_crypt.org contains variables that are > risky (**). > > Do you want to apply it? > > ** before-save-hook: (org-encrypt-entries) > ----------------------------------------------------------------------- > > I am presuming that this error is coming from org. Any idea what might > be causing it? > I have now fixed this by adding: (setq safe-local-variable-values (quote ((before-save-hook org-encrypt-entries)))) to my .emacs. Ian.