From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: [ANN] org-crypt version 0.2 Date: Thu, 2 Apr 2009 18:18:12 +0200 Message-ID: <6989CF21-BB0B-4B24-8E0C-CC1E1B86C843@gmail.com> References: <86fxgrxf60.fsf@pmade.com> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LpPcV-0000Vd-3x for emacs-orgmode@gnu.org; Thu, 02 Apr 2009 12:18:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LpPcQ-0000QW-08 for emacs-orgmode@gnu.org; Thu, 02 Apr 2009 12:18:22 -0400 Received: from [199.232.76.173] (port=39754 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LpPcP-0000QJ-Ow for emacs-orgmode@gnu.org; Thu, 02 Apr 2009 12:18:17 -0400 Received: from mail-ew0-f160.google.com ([209.85.219.160]:46949) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LpPcP-0000wU-Et for emacs-orgmode@gnu.org; Thu, 02 Apr 2009 12:18:17 -0400 Received: by mail-ew0-f160.google.com with SMTP id 4so655149ewy.42 for ; Thu, 02 Apr 2009 09:18:17 -0700 (PDT) In-Reply-To: <86fxgrxf60.fsf@pmade.com> 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: Peter Jones Cc: emacs-orgmode@gnu.org On Apr 2, 2009, at 5:12 PM, Peter Jones wrote: > 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. It is funny, I *never* have a headline in line one. Sometimes it is a hassle to handle this special case, but in this case it is actually easy to fix. ... It's done I am looking forward to integrate org-crypt in 6.26. - Carsten > > -- > Peter Jones, http://pmade.com > pmade inc. Louisville, CO US > > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode