From mboxrd@z Thu Jan 1 00:00:00 1970 From: kelaouchi Subject: org-crypt Date: Sun, 19 Dec 2010 18:35:30 +0100 Message-ID: <87ipyp64yl.fsf@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=52483 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PUNL3-0003IO-8M for emacs-orgmode@gnu.org; Sun, 19 Dec 2010 12:46:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PUNL1-0004aW-VU for emacs-orgmode@gnu.org; Sun, 19 Dec 2010 12:46:29 -0500 Received: from mail-ww0-f49.google.com ([74.125.82.49]:61347) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PUNL1-0004aM-RA for emacs-orgmode@gnu.org; Sun, 19 Dec 2010 12:46:27 -0500 Received: by wwb17 with SMTP id 17so2274100wwb.30 for ; Sun, 19 Dec 2010 09:46:26 -0800 (PST) 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 Hello, here are my settings for org-crypt : (require 'org-crypt) (org-crypt-use-before-save-magic) (setq org-tags-exclude-from-inheritance (quote ("crypt"))) (setq org-crypt-key "C48ED4D2") I create a buffer : * heading 1 :crypt: ** subheading 1 text 1 ** subheading 2 text 2 * heading 2 :crypt: ** subheading 1 text 1 ** subheading 2 text 2 When saving it, "heading 1" and "heading 2" are encrypted. When trying to org-decrypt-entries, emacs prompts for passphrase one time. Only "heading 2" is decrypted. I kill buffer; then reopen it and run org-decrypt-entries. The same : only "heading 2" is decrypted. I remove heading 1; create a new heading 1, but this once, tagging "subheading 1" as crypt instead of "heading 1" : * heading 1 ** subheading 1 :crypt: text 1 ** subheading 2 text 2 * heading 2 :crypt: ** subheading 1 text 1 ** subheading 2 text 2 I then save and try to run org-decrypt-entries. Emacs prompts twice for passphrase and everything is well decrypted. I run Org-mode version 7.3 on GNU Emacs 23.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.0) of 2010-05-08 on pidsley.hoetzel.info . Is it a bug ?