emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Peter Jones <mlists@pmade.com>
To: emacs-orgmode@gnu.org
Subject: Re: [ANN] org-crypt version 0.2
Date: Thu, 02 Apr 2009 09:12:55 -0600	[thread overview]
Message-ID: <86fxgrxf60.fsf@pmade.com> (raw)
In-Reply-To: FCF0AA33-D8FA-4A02-A8A5-B2D2FB06D2BB@gmail.com

Carsten Dominik <carsten.dominik@gmail.com> writes:
> Below is a patch which will fix this.  Basically you need to
> go back and fix the visibility of the entry, because you are
> inserting in a location that confuses the invisibility code.
> Instead of trying to get the insertion right, it is much better
> to reset it for the entire tree.

Great, thanks!

> The patch also does one other thing:
>
> It makes encryption cover the entire subtree of an entry
> with tag :crypt:, not just the text up to first child.
> I believe this is more consistent with the structure or
> Org-mode files.  Would you agree?

Yes, I had planned to do that, but wasn't sure exactly how.  You saved
me some time, thank you.

I have one other issue, if you want to point me in the right direction.
It seems that org-scan-tags will skip the first heading if that heading
is on the first line in the buffer.  If you add a blank line above the
heading, then org-scan-tags will pass it to the action function.

-- 
Peter Jones, http://pmade.com
pmade inc.  Louisville, CO US

  reply	other threads:[~2009-04-02 15:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-02  3:19 [ANN] org-crypt version 0.2 Peter Jones
2009-04-02  5:28 ` Carsten Dominik
2009-04-02 15:09   ` Peter Jones
2009-04-02  7:52 ` Carsten Dominik
2009-04-02 15:12   ` Peter Jones [this message]
2009-04-02 16:18     ` Carsten Dominik
2009-04-06  5:26     ` Carsten Dominik
2009-04-06 15:06       ` Peter Jones

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=86fxgrxf60.fsf@pmade.com \
    --to=mlists@pmade.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).