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.
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode