From: Bernt Hansen <bernt@norang.ca>
To: kelaouchi <kelaouchi@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-crypt
Date: Mon, 20 Dec 2010 13:42:00 -0500 [thread overview]
Message-ID: <87hbe8thfr.fsf@norang.ca> (raw)
In-Reply-To: <87ipyp64yl.fsf@free.fr> (kelaouchi@gmail.com's message of "Sun, 19 Dec 2010 18:35:30 +0100")
kelaouchi <kelaouchi@gmail.com> writes:
> 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 ?
Yes it was. It was fixed in git master this morning.
Regards,
Bernt
prev parent reply other threads:[~2010-12-20 18:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-19 17:35 org-crypt kelaouchi
2010-12-20 18:42 ` Bernt Hansen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87hbe8thfr.fsf@norang.ca \
--to=bernt@norang.ca \
--cc=emacs-orgmode@gnu.org \
--cc=kelaouchi@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).