emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] org-crypt and PROPERTIES location


From: Peter Jones
Subject: [Orgmode] org-crypt and PROPERTIES location
Date: Thu, 19 Mar 2009 18:29:44 -0600
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.3 (darwin)

I've started playing with org-crypt, which is very nice.

Unfortunately the org-apply-to-entry-contents function assumes that the
PROPERTIES drawer is at the bottom of the heading's contents.  There
might be a variable in org mode to control this, but all my entries have
the PROPERTIES drawer at the top, with the content underneath.

Of course, this means that org-crypt doesn't actually encrypt anything
for me.

I'm posting this to the org-mode mailing list to see if there is a
better way to get to the contents of a heading, excluding any drawers.
I'm sure there is something in the export system we could reuse.  I say
"we" because I'm more than willing to submit patches.

One last note, the comments in the org-crypt file mention using an
after-save-hook to encrypt the appropriate headings.  Shouldn't that be
a before-save-hook?

Thanks to all.

-- 
Peter Jones, http://pmade.com
pmade inc.  Louisville, CO US





reply via email to

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