From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Danjou Subject: Re: crypt entries and journal Date: Tue, 08 Feb 2011 11:40:11 +0100 Message-ID: <87zkq61i4k.fsf@keller.adm.naquadah.org> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0909895425==" Return-path: Received: from [140.186.70.92] (port=58221 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PmsXw-000207-6L for emacs-orgmode@gnu.org; Tue, 08 Feb 2011 13:44:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PmsXv-0002gC-26 for emacs-orgmode@gnu.org; Tue, 08 Feb 2011 13:44:15 -0500 Received: from prometheus.naquadah.org ([212.85.154.174]:39534 helo=mx1.naquadah.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PmsXu-0002g3-Td for emacs-orgmode@gnu.org; Tue, 08 Feb 2011 13:44:15 -0500 In-Reply-To: (Richard Riley's message of "Mon, 07 Feb 2011 15:04:20 +0100") 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: Richard Riley Cc: Emacs-orgmode mailing list --===============0909895425== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Mon, Feb 07 2011, Richard Riley wrote: > I would like them to. Best way? Decrypt them on file loading. (defun jd:org-decrypt-entires-silently () (let ((m (buffer-modified-p))) (org-decrypt-entries) (unless m (set-buffer-modified-p nil)))) (add-hook 'org-mode-hook 'jd:org-decrypt-entires-silently) I think that's something that could be added to org-crypt. I'll make a patch later. =2D-=20 Julien Danjou =E2=9D=B1 http://julien.danjou.info --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJNUY77AAoJEGEbqVCLeKXC3YEP/jVxUdZwEjqicBzc6BLJxCMQ /o2gUmvSAJbv8h9zC6RwyaVITac4NR/yNHWvkkgdabbkhIrFI0a43mOrcuFDfcRY vRimheQ89gtZn5FMAHPxMhKbe19EJswJcUDGPcvOOapU/+IaveilBMFek8WPipFJ a6XSUzhmog9IxA4DUcCt4rXnnHmz4cy7UsT4g/Tn/u/J0qfCy+r1IDKDGIvGG2B/ QQEFlkI1dP+PKrX55e3XsXp0Y72SO5jm1MKb7RipvUb9UdAor9xHpMSpD44boGhI GjsAHH12TA2Zq8kMzwUk1iYRAIDgXoIPT4EYgMGK1n52KMoIOGO2JB3DxVj2sFwl IwvSnx3ZpQNxJO5f7KuE4DGhZH/fxkmkBBQ3u3DpY0V6rWfj8ufOAGfJZNqE558Y eXPxxB8wHW3TF5I4FQw3AWxpJ1S9qU2bVVpDW3Tk+92it2eahjrdcl0W9JtHNmB2 TDU+41RAjDOkhVaJ1kvXmMph9iu5VlrMhY6qCShFbZldtEoZws9Nz/CQqvwCpvvk HFqwlTqf4yz/ixU6f1448jHmLMOhg5UOFK53FgPLx3vCh8MU4X5aVketHTH5Xyn3 sMK5WcC4kysHEwfu4FDjHkbMPxFQnId25g4Whsi9ITKVh80+0zN/lJ+UXprcwMtd SuBQY/LaYTXRWFEEKl3S =Fbz8 -----END PGP SIGNATURE----- --=-=-=-- --===============0909895425== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0909895425==--