From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Jones Subject: Re: [ANN] org-crypt version 0.2 Date: Thu, 02 Apr 2009 09:12:55 -0600 Message-ID: <86fxgrxf60.fsf@pmade.com> References: 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 1LpOdM-0001z7-LG for emacs-orgmode@gnu.org; Thu, 02 Apr 2009 11:15:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LpOdH-0001pf-Ka for emacs-orgmode@gnu.org; Thu, 02 Apr 2009 11:15:11 -0400 Received: from [199.232.76.173] (port=55749 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LpOdH-0001pQ-Fo for emacs-orgmode@gnu.org; Thu, 02 Apr 2009 11:15:07 -0400 Received: from main.gmane.org ([80.91.229.2]:52486 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 1LpOdH-0002Vf-5f for emacs-orgmode@gnu.org; Thu, 02 Apr 2009 11:15:07 -0400 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1LpOdC-0001JH-KY for emacs-orgmode@gnu.org; Thu, 02 Apr 2009 15:15:02 +0000 Received: from 75-166-121-17.hlrn.qwest.net ([75.166.121.17]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Apr 2009 15:15:02 +0000 Received: from mlists by 75-166-121-17.hlrn.qwest.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Apr 2009 15:15:02 +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 Carsten Dominik writes: > Below is a patch which will fix this. Basically you need to > go back and fix the visibility of the entry, because you are > inserting in a location that confuses the invisibility code. > Instead of trying to get the insertion right, it is much better > to reset it for the entire tree. Great, thanks! > The patch also does one other thing: > > It makes encryption cover the entire subtree of an entry > with tag :crypt:, not just the text up to first child. > I believe this is more consistent with the structure or > Org-mode files. Would you agree? Yes, I had planned to do that, but wasn't sure exactly how. You saved me some time, thank you. I have one other issue, if you want to point me in the right direction. It seems that org-scan-tags will skip the first heading if that heading is on the first line in the buffer. If you add a blank line above the heading, then org-scan-tags will pass it to the action function. -- Peter Jones, http://pmade.com pmade inc. Louisville, CO US