From: Julien Danjou <julien@danjou.info>
To: Richard Riley <rileyrg@googlemail.com>
Cc: Emacs-orgmode mailing list <emacs-orgmode@gnu.org>
Subject: Re: crypt entries and journal
Date: Tue, 08 Feb 2011 11:40:11 +0100 [thread overview]
Message-ID: <87zkq61i4k.fsf@keller.adm.naquadah.org> (raw)
In-Reply-To: <jwipwwszyz.fsf@news.eternal-september.org> (Richard Riley's message of "Mon, 07 Feb 2011 15:04:20 +0100")
[-- Attachment #1.1: Type: text/plain, Size: 473 bytes --]
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.
--
Julien Danjou
❱ http://julien.danjou.info
[-- Attachment #1.2: Type: application/pgp-signature, Size: 835 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
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
prev parent reply other threads:[~2011-02-08 18:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-07 14:04 crypt entries and journal Richard Riley
2011-02-07 16:12 ` Richard Riley
2011-02-08 10:40 ` Julien Danjou [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zkq61i4k.fsf@keller.adm.naquadah.org \
--to=julien@danjou.info \
--cc=emacs-orgmode@gnu.org \
--cc=rileyrg@googlemail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).