From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Jones Subject: org-crypt and PROPERTIES location Date: Thu, 19 Mar 2009 18:29:44 -0600 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LkSci-0002Fl-33 for emacs-orgmode@gnu.org; Thu, 19 Mar 2009 20:30:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LkScc-0002E8-PI for emacs-orgmode@gnu.org; Thu, 19 Mar 2009 20:30:07 -0400 Received: from [199.232.76.173] (port=41571 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkScc-0002E4-Lf for emacs-orgmode@gnu.org; Thu, 19 Mar 2009 20:30:02 -0400 Received: from main.gmane.org ([80.91.229.2]:43730 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LkScc-00054d-1d for emacs-orgmode@gnu.org; Thu, 19 Mar 2009 20:30:02 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LkScX-0003TO-1n for emacs-orgmode@gnu.org; Fri, 20 Mar 2009 00:29:57 +0000 Received: from c-67-177-235-141.hsd1.co.comcast.net ([67.177.235.141]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Mar 2009 00:29:57 +0000 Received: from mlists by c-67-177-235-141.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Mar 2009 00:29:57 +0000 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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