Eric S Fraga <ucec...@ucl.ac.uk> writes:

> At Thu, 23 Jul 2009 14:09:23 -0500,
> Kyle Sexton wrote:
>> 
>> Currently I'm using org-mode with EasyPG and it works great.  Files
>
> Kyle,
>
> can you tell me exactly how you are doing this?  I used to do this
> just fine but something broke about 6 months ago and I'm no longer
> able to encrypt the file automatically when saving.  That is, it
> decrypts just fine and I can edit the file but I get an error when
> trying to save it:
>
> ,----
> | byte-code: Opening output file: integer-or-marker-p, nil
> `----
>
> What settings do you have for EasyPG?  All I have are:
>
> ,----
> | ;; ------------------------------------------ EASYPG
> | (require 'epa)
> | (epa-file-enable)
> | (setq epa-file-cache-passphrase-for-symmetric-encryption t)
> `----

I have the cache setting above plus

,----
| (setenv "GPG_AGENT_INFO" nil)
`----

Which means emacs prompts you for the pass. I also have the following at
the top of the org (gpg extension)  file fwiw:

,----
| -*- mode: org -*- -*- epa-file-encrypt-to: ("r...@richardriley.net") -*-
`----

and I dont call epa-file.

Works fine for me with emacs-snapshot on Debian Lenny.


_______________________________________________
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

Reply via email to