emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Belohrad <david@belohrad.ch>
To: Bastien <bzg@gnu.org>,
	Jonathan Leech-Pepin <jonathan.leechpepin@gmail.com>
Cc: org-mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: encrypted items, but not timestamp
Date: Mon, 03 Mar 2014 13:48:51 +0100	[thread overview]
Message-ID: <uaxy50rsb0s.fsf@beesknees.cern.ch> (raw)
In-Reply-To: <878usrcvci.fsf@bzg.ath.cx>

Nice.

So far I have made a capture template, which enters the timestamp into
heading. Surprisingly it works pretty nicely as the timestamp does not
appear in agenda heading 'name'. Have something like this:

(require 'org-crypt)
(org-crypt-use-before-save-magic)
(setq org-crypt-tag-matcher "@CRYPT")
(setq org-crypt-key "david@bleh")

and then org-capture-templates contains following record:

("C" "Encrypted journal" entry (file+datetree (concat my-org-files "journal.org"))
"* %? %T :@CRYPT:\n  %a\n")




works as a charm.
.d.


Bastien <bzg@gnu.org> writes:

> Jonathan Leech-Pepin <jonathan.leechpepin@gmail.com> writes:
>
>> I can think of one possible method (although slightly more work to do
>> so):
>
> Indeed, good idea!
>
> -- 
>  Bastien

      reply	other threads:[~2014-03-03 12:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-20  8:13 encrypted items, but not timestamp David Belohrad
2014-03-03 12:28 ` Bastien
2014-03-03 12:34   ` Jonathan Leech-Pepin
2014-03-03 12:36     ` Bastien
2014-03-03 12:48       ` David Belohrad [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=uaxy50rsb0s.fsf@beesknees.cern.ch \
    --to=david@belohrad.ch \
    --cc=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=jonathan.leechpepin@gmail.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).