From: Ian Barton <lists@manor-farm.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: [ANN] [Solved] org-crypt Version 0.3
Date: Wed, 20 May 2009 09:53:08 +0100 [thread overview]
Message-ID: <4A13C4F4.7080103@manor-farm.org> (raw)
In-Reply-To: <4A128C10.2050401@manor-farm.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.
prev parent reply other threads:[~2009-05-20 8:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-18 16:40 [ANN] org-crypt Version 0.3 Peter Jones
2009-05-18 19:39 ` Scot Becker
2009-05-18 21:25 ` Samuel Wales
2009-05-19 6:32 ` Carsten Dominik
2009-05-19 10:38 ` Ian Barton
2009-05-20 8:53 ` Ian Barton [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A13C4F4.7080103@manor-farm.org \
--to=lists@manor-farm.org \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.