From mboxrd@z Thu Jan 1 00:00:00 1970 From: jmcbray@carcosa.net (Jason F. McBrayer) Subject: Re: org-crypt.el --- Public key encryption for org-mode entries Date: Sat, 29 Sep 2007 13:53:48 -0400 Message-ID: <87odfl5peb.fsf@carcosa.net> References: 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 1IbgVo-0004pN-Ao for emacs-orgmode@gnu.org; Sat, 29 Sep 2007 13:53:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IbgVk-0004oq-V8 for emacs-orgmode@gnu.org; Sat, 29 Sep 2007 13:53:55 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IbgVk-0004on-PT for emacs-orgmode@gnu.org; Sat, 29 Sep 2007 13:53:52 -0400 Received: from cdptpa-omtalb.mail.rr.com ([75.180.132.120]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IbgVk-0002Cp-H0 for emacs-orgmode@gnu.org; Sat, 29 Sep 2007 13:53:52 -0400 In-Reply-To: (John Wiegley's message of "Fri\, 28 Sep 2007 23\:48\:34 -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: John Wiegley Cc: emacs-orgmode@gnu.org John Wiegley writes: > The following code is preliminary, but gets the job done in my > simple tests. Now's the time to beat down on, and refine, the user > interface and behavior. 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). Rather than rely on setting a local variable list in their org-mode files. -- +-----------------------------------------------------------+ | Jason F. McBrayer jmcbray@carcosa.net | | If someone conquers a thousand times a thousand others in | | battle, and someone else conquers himself, the latter one | | is the greatest of all conquerors. --- The Dhammapada |