emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] [ANN] [Solved] org-crypt Version 0.3


From: Ian Barton
Subject: Re: [Orgmode] [ANN] [Solved] org-crypt Version 0.3
Date: Wed, 20 May 2009 09:53:08 +0100
User-agent: Thunderbird 2.0.0.21 (X11/20090409)

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]