emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Samuel Wales <samologist@gmail.com>
To: Peter Jones <mlists@pmade.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [ANN] org-crypt Version 0.3
Date: Mon, 18 May 2009 14:25:35 -0700	[thread overview]
Message-ID: <20524da70905181425r3853824evf59ab9953f59dd13@mail.gmail.com> (raw)
In-Reply-To: <867i0euzxs.fsf@pmade.com>

I think that typically you load a library, then run a function to add
stuff to hooks.  That way, loading the library does not have
side-effects.  Some packages use the term "insinuate".

I'd opt for a default of always encrypting when saving and only
decrypting when manually done.  Maybe a little note in the properties
drawer can tell the user how to do this?

On Mon, May 18, 2009 at 09:40, Peter Jones <mlists@pmade.com> wrote:
> Sorry for the delays in getting this posted, I've been doing a lot of
> traveling lately.
>
> The attached version of org-crypt fixes a few bugs and is just about
> ready to be included in org proper.  The only thing it might need before
> inclusion in org is automatic encryption via hooks.
>
> I'd like to find out how people feel about that.  Should org-crypt
> attach itself to org-mode-hook so that it can decrypt encrypted entries
> after you open an org file?  At first I thought yes, but now I'm leaning
> towards no, you should decrypt entries manually as needed.
>
> I do think that org-crypt should hook itself into before-save-hook so
> that all entries that *should* be encrypted are encrypted before the
> file touches the disk.  A user of org-crypt shouldn't have to worry
> about setting up a hook, it should just happen automatically.
>
> Any suggestions on the best way to make that happen in org-crypt?
>
>
>
> --
> Peter Jones, http://pmade.com
> pmade inc.  Louisville, CO US
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>



-- 
Myalgic encephalomyelitis denialism is causing death and severe suffering
worse than MS.  Conflicts of interest are destroying research.  /You/ can
get the disease at any time permanently.  Do science and justice matter to
you?  Posters: http://www.mefreeforall.org/fileadmin/PDFs/ME_Awareness_Posters_2009.pdf
Overview: http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm

  parent reply	other threads:[~2009-05-18 21:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-18 16:40 [ANN] org-crypt Version 0.3 Peter Jones
2009-05-18 19:39 ` Scot Becker
2009-05-18 21:25 ` Samuel Wales [this message]
2009-05-19  6:32 ` Carsten Dominik
2009-05-19 10:38 ` Ian Barton
2009-05-20  8:53   ` [ANN] [Solved] " Ian Barton

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=20524da70905181425r3853824evf59ab9953f59dd13@mail.gmail.com \
    --to=samologist@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mlists@pmade.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).