From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xiao-Yong Jin Subject: bug in org-crypt? Date: Sat, 27 Mar 2010 21:57:30 -0400 Message-ID: <87bpe9ky2d.fsf@columbia.edu> 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 1Nvhl7-0004yX-Mq for emacs-orgmode@gnu.org; Sat, 27 Mar 2010 21:57:49 -0400 Received: from [140.186.70.92] (port=43059 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nvhl6-0004yP-60 for emacs-orgmode@gnu.org; Sat, 27 Mar 2010 21:57:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nvhl4-0000Bh-L0 for emacs-orgmode@gnu.org; Sat, 27 Mar 2010 21:57:48 -0400 Received: from serrano.cc.columbia.edu ([128.59.29.6]:49188) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nvhl4-00005I-IR for emacs-orgmode@gnu.org; Sat, 27 Mar 2010 21:57:46 -0400 Received: from lattice (dyn-160-39-50-239.dyn.columbia.edu [160.39.50.239]) (user=xj2106 mech=PLAIN bits=0) by serrano.cc.columbia.edu (8.14.3/8.14.3) with ESMTP id o2S1vdGE005799 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Sat, 27 Mar 2010 21:57:40 -0400 (EDT) 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 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 */\ <