From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: bug in org-crypt? Date: Wed, 14 Apr 2010 09:43:43 +0200 Message-ID: <76C3E538-9C95-4C57-B417-2DBE2862D9D3@gmail.com> References: <87bpe9ky2d.fsf@columbia.edu> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O1yJW-0000c5-Ur for emacs-orgmode@gnu.org; Wed, 14 Apr 2010 04:51:14 -0400 Received: from [140.186.70.92] (port=45410 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O1yJV-0000aj-25 for emacs-orgmode@gnu.org; Wed, 14 Apr 2010 04:51:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O1yJT-0001tr-6s for emacs-orgmode@gnu.org; Wed, 14 Apr 2010 04:51:12 -0400 Received: from mail-ew0-f214.google.com ([209.85.219.214]:44819) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O1yJT-0001td-0q for emacs-orgmode@gnu.org; Wed, 14 Apr 2010 04:51:11 -0400 Received: by ewy6 with SMTP id 6so805741ewy.32 for ; Wed, 14 Apr 2010 01:51:10 -0700 (PDT) In-Reply-To: <87bpe9ky2d.fsf@columbia.edu> 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: Xiao-Yong Jin Cc: emacs-orgmode@gnu.org Hi Xiao, I have just checked in a patch by Peter Jones, which should fix this bug. Please check if this is indeed the case and let me know. Thanks. - Carsten On Mar 28, 2010, at 3:57 AM, Xiao-Yong Jin wrote: > Hi, > > If you have the follow org file > > * test crypt :crypt: > ** subheading 1 > text 1 > ** subheading 2 > text 2 > > with setup as > > (require 'org-crypt) > (setq org-tags-exclude-from-inheritance '("crypt")) > (setq org-crypt-key "CBC0714E") ; my key > > On calling org-encrypt-entry on the first head line, only > subheading 1 get encrypted, subheading 2 remains plain text. > But, if you add an empty line or some text under the first > heading, both subheading 1 and 2 are encrypted. > > Testing on recent git checkout results the same. Is it a bug? > > -- > J c/* __o/* > X <\ * (__ > Y */\ < > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten