From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Re: [ANN] org-crypt Version 0.3 Date: Mon, 18 May 2009 14:25:35 -0700 Message-ID: <20524da70905181425r3853824evf59ab9953f59dd13@mail.gmail.com> References: <867i0euzxs.fsf@pmade.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M6ALS-0008Og-DP for emacs-orgmode@gnu.org; Mon, 18 May 2009 17:26:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M6ALM-0008JR-Vl for emacs-orgmode@gnu.org; Mon, 18 May 2009 17:26:01 -0400 Received: from [199.232.76.173] (port=60016 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6ALM-0008JM-R8 for emacs-orgmode@gnu.org; Mon, 18 May 2009 17:25:56 -0400 Received: from mail-pz0-f175.google.com ([209.85.222.175]:33996) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M6ALM-0004PV-Gg for emacs-orgmode@gnu.org; Mon, 18 May 2009 17:25:56 -0400 Received: by pzk5 with SMTP id 5so2461084pzk.14 for ; Mon, 18 May 2009 14:25:55 -0700 (PDT) In-Reply-To: <867i0euzxs.fsf@pmade.com> 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: Peter Jones Cc: emacs-orgmode@gnu.org 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 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. =A0The only thing it might need befor= e > inclusion in org is automatic encryption via hooks. > > I'd like to find out how people feel about that. =A0Should org-crypt > attach itself to org-mode-hook so that it can decrypt encrypted entries > after you open an org file? =A0At first I thought yes, but now I'm leanin= g > 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. =A0A 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. =A0Louisville, 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 > > --=20 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_Post= ers_2009.pdf Overview: http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm