From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Riley Subject: Writing an new org entry to a .gpg file - ends up in .org file instead Date: Fri, 13 Jan 2012 12:51:22 +0100 Message-ID: <05pqenrfb9.fsf@news.eternal-september.org> Reply-To: emacs-orgmode@gnu.org Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:41712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlffZ-0000PF-Ka for emacs-orgmode@gnu.org; Fri, 13 Jan 2012 06:51:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RlffY-0003Tn-LM for emacs-orgmode@gnu.org; Fri, 13 Jan 2012 06:51:41 -0500 Received: from lo.gmane.org ([80.91.229.12]:37601) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlffY-0003Tg-EC for emacs-orgmode@gnu.org; Fri, 13 Jan 2012 06:51:40 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RlffU-0005rb-Dx for emacs-orgmode@gnu.org; Fri, 13 Jan 2012 12:51:36 +0100 Received: from 85.183.18.158 ([85.183.18.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Jan 2012 12:51:36 +0100 Received: from rileyrg by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Jan 2012 12:51:36 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I have an org template set up like this and frequently use the journal option ,---- | (setq org-capture-templates '(("t" "Todo" entry | (file+headline "" "Tasks To Refile") | "* TODO %?\n\t:PROPERTIES:\n\t:DateCreated: %T\n\t:END:\n%i\n%a") | ("c" "Contacts" entry (file "~/Org/contacts.org") | "* %(org-contacts-template-name) | :PROPERTIES: | :EMAIL: %(org-contacts-template-email) | :END:") | ("j" "Journal" entry | (file+datetree "journal.gpg") | "* %?\n\t:PROPERTIES:\n\t:DateCreated: %T\n\t:END:\n%i\n%a") | ("n" "Quick note to refile later" entry | (file+headline "" "Notes To Refile") | "* %?\n\t:PROPERTIES:\n\t:DateCreated: %T\n\t:END:\n%i\n%a") | ("w" "web capture" entry | (file "refile.org") | "* %a %?\n\t:PROPERTIES:\n\t:DateCreated: %T\n\t:END:n%i"))) `---- Notice the journal.gpg which has a first line : ,---- | ;;-*- mode:org -*- epa-file-encrypt-to: ("rileyrg@gmail.com") -*- `---- so I can open the file in org mode just fine. So far so good, but when I C-c C-c the new journal item its being written to journal.org instead of journal.gpg. I'm guessing I missed something in my browse of the manual, but what? cheers r.