emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: emacs-orgmode@gnu.org
Subject: Re: Writing an new org entry to a .gpg file - ends up in .org file instead
Date: Fri, 13 Jan 2012 12:45:26 +0000	[thread overview]
Message-ID: <87vcofdb4p.fsf@ucl.ac.uk> (raw)
In-Reply-To: <anmx9rdbkf.fsf@news.eternal-september.org> (Richard Riley's message of "Fri, 13 Jan 2012 13:36:00 +0100")

Richard Riley <rileyrg@gmail.com> writes:

> Eric S Fraga <e.fraga@ucl.ac.uk> writes:
>
>>
>> I don't know if this may help but I do something similar.  In my case,
>> my file is named "secure.org.gpg".  Maybe try "journal.org.gpg" in your
>> case, i.e. add the ".org" element?
>
> Hi Eric,
>
> I tried this and its still creating and writing out to journal.org.
>
> (org-mode with emacs 24 snapshot)
>
> regards
>
> r.

Interesting.  It must have something to do with the extra settings you
have for that template.  My template is:

("s" "secure" entry (file+datetree+prompt "~/git/notes/secure.org.gpg")
     "* %(format-time-string \"%H:%M\") %^{Entry} %^G\n%i%?")

I have just tested it (hadn't added a secure entry in a while) and it
works just fine.  This is with emacs snapshot (most recent) and org from
last night my time (see signature for version).

Maybe try without the PROPERTY etc. bits you have in your template?
-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.92.1
: using Org-mode version 7.8.03 (release_7.8.03.122.g5b407)

  reply	other threads:[~2012-01-13 12:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-13 11:51 Writing an new org entry to a .gpg file - ends up in .org file instead Richard Riley
2012-01-13 12:03 ` Eric S Fraga
2012-01-13 12:36   ` Richard Riley
2012-01-13 12:45     ` Eric S Fraga [this message]
2012-01-13 13:19       ` Richard Riley

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=87vcofdb4p.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    /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).