From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Wiegley Subject: Re: org-crypt.el --- Public key encryption for org-mode entries Date: Sat, 29 Sep 2007 19:38:31 -0400 Message-ID: References: <87odfl5peb.fsf@carcosa.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IbltS-0002Yf-SU for emacs-orgmode@gnu.org; Sat, 29 Sep 2007 19:38:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IbltQ-0002Wo-G7 for emacs-orgmode@gnu.org; Sat, 29 Sep 2007 19:38:42 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IbltQ-0002Wi-BP for emacs-orgmode@gnu.org; Sat, 29 Sep 2007 19:38:40 -0400 Received: from johnwiegley.com ([208.70.150.153] helo=mail.johnwiegley.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IbltP-0007GI-WC for emacs-orgmode@gnu.org; Sat, 29 Sep 2007 19:38:40 -0400 Received: from Hermes.local (unknown [72.22.154.67]) by mail.johnwiegley.com (Postfix) with ESMTP id 043B34222B0 for ; Sat, 29 Sep 2007 18:41:01 -0500 (CDT) In-Reply-To: <87odfl5peb.fsf@carcosa.net> (Jason F. McBrayer's message of "Sat\, 29 Sep 2007 13\:53\:48 -0400") 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: emacs-orgmode@gnu.org jmcbray@carcosa.net (Jason F. McBrayer) writes: > This is a very nifty idea. It might be an idea for someone setting up > org-crypt to do something like: > > (eval-after-load "org-crypt" > (add-hook 'org-mode-hook > (lambda nil (add-hook > 'after-save-hook > 'org-encrypt-entries > nil t)))) > > (This is untested, could be wrong in some way). You just need to change the top: (eval-after-load "org-crypt" '(add-hook 'org-mode-hook John