emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Problem with org-crypt


From: Pieter Praet
Subject: Re: [O] Problem with org-crypt
Date: Fri, 02 Sep 2011 10:43:11 +0200
User-agent: Notmuch/0.7-34-g3a53027 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu)

On Wed, 31 Aug 2011 12:04:52 +0200, Christopher Witte <address@hidden> wrote:
> Hi all,
> 
> I've been using org-crypt and find it a great little addition to 
> org-mode, but I have been noticing some weird behaviour.  When I'm in a 
> file that has NO encrypted entires (or :crypt: tags) and I archive a sub 
> tree, I get asked the question "org-decrypt: auto-save-mode may cause 
> leakage. Disable it for current buffer?".  This must mean 
> org-decrypt-entry is being run but I don't understand why.  I've noticed 
> that org-decrypt-entry is added to the org-reveal-start-hook, I'm not 
> sure why that is.  When I don't add it to that hook, I no longer get 
> asked that question and org-crypt still apears to work as expected, but 
> I'm not sure if this will have broken something else.
> 
> Does anyone know why org-decrypt-entry is added to the 
> org-reveal-start-hook and if it would break anything if I don't add it?
> 
> Thanks for the help
> Chris.
> 

It's a known issue;  Patch available [1].

Bastien's AFK until the 5th, so won't be fixed in mainline before then.

Dropping the `add-hook' line is also a good temporary fix, won't break
anything, only prevents `org-reveal' (`C-c C-r') from decrypting entries.


Peace

-- 
Pieter


[1] id:"address@hidden"



reply via email to

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