emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] org-crypt.el --- Public key encryption for org-mode entrie


From: Jason F. McBrayer
Subject: Re: [Orgmode] org-crypt.el --- Public key encryption for org-mode entries
Date: Sat, 29 Sep 2007 13:53:48 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux)

John Wiegley <address@hidden> 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                    address@hidden  |
| 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    |




reply via email to

[Prev in Thread] Current Thread [Next in Thread]