emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-crypt and PROPERTIES location
@ 2009-03-20  0:29 Peter Jones
  2009-03-20 13:23 ` Carsten Dominik
  0 siblings, 1 reply; 8+ messages in thread
From: Peter Jones @ 2009-03-20  0:29 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: John Wiegley

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-03-25  3:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-20  0:29 org-crypt and PROPERTIES location Peter Jones
2009-03-20 13:23 ` Carsten Dominik
2009-03-20 17:27   ` Peter Jones
2009-03-20 18:33     ` Carsten Dominik
2009-03-23 12:59     ` news
2009-03-24  2:50       ` Peter Jones
2009-03-25  3:15         ` news
2009-03-20 19:50   ` John Wiegley

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).