emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Richard Riley <rileyrg@googlemail.com>
To: emacs-orgmode@gnu.org
Subject: Bug/feature : crypt encrypts empty string.
Date: Fri, 22 Oct 2010 10:52:17 +0200	[thread overview]
Message-ID: <i9rjc3$rrb$1@dough.gmane.org> (raw)


I was just saving a cleaned up org file as a "template" for later
projects when and a crypt region I had just removed magically
reappeared!

e.g

,----
| * Domain
| ** Registrar							      :crypt:
| -----BEGIN PGP MESSAGE-----
| Version: GnuPG v1.4.10 (GNU/Linux)
| 
| hQEMA7IjL5SkHG4iAQgAgF/BiEMkhfWuohErZy4TulPtq7Tdh+VEBvLP2Eeehash
| ylHAVOBzfdApVud5ByfzywPm8/fzPDjCNCsdZ3M6sL/IFtoMa6qrNnG4utpYQFxt
| 63Tys9dyEfo7qzbi97LRWrla3DUnJZ3d53PGOg9cxZurq2za3n37xZucFV1HRk7y
| sacLdelZ7CaHd1MxfUQcBQo+H9jbUSdkTCldJ/2csm9aL+/ZuUJJfWL0GbgpzJGg
| liSbn3S2LsobcEw5fh6T4OFlqMWPkyn7xJugMOnA4CwuZtSmmqumye80MW4hE/kX
| TCfRhqrPUuyHNRqxgwiOLZaJan0bueelALnprrWoZ9I7AYmV5UjoV6bIqkVE8rL1
| pLZ/sZE+QzEIpRRzHV6uK1v4BE5SPr5TdA5zA7lBy1UVU2SHnBNJ8K25l6k=
| =eE61
| -----END PGP MESSAGE-----
| 
`----

I removed everything after the Registrar line, and then hit C-x C-s to
save and the crypt block reappeared.

Took me a while to realise that it was probably encrypting
nothing.

Could it not do that or does that behaviour seem ok?

                 reply	other threads:[~2010-10-22  8:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='i9rjc3$rrb$1@dough.gmane.org' \
    --to=rileyrg@googlemail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).