From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Writing an new org entry to a .gpg file - ends up in .org file instead Date: Fri, 13 Jan 2012 12:03:27 +0000 Message-ID: <87ehv3u7w0.fsf@ucl.ac.uk> References: <05pqenrfb9.fsf@news.eternal-september.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:59605) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlfrC-0005j5-Jv for emacs-orgmode@gnu.org; Fri, 13 Jan 2012 07:03:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rlfr6-0005Qb-M5 for emacs-orgmode@gnu.org; Fri, 13 Jan 2012 07:03:42 -0500 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:35567) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rlfr6-0005QC-6j for emacs-orgmode@gnu.org; Fri, 13 Jan 2012 07:03:36 -0500 Received: from [85.210.141.126] (helo=localhost) by vscane-b.ucl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1Rlfqy-0003I1-33 for emacs-orgmode@gnu.org; Fri, 13 Jan 2012 12:03:28 +0000 In-Reply-To: <05pqenrfb9.fsf@news.eternal-september.org> (Richard Riley's message of "Fri, 13 Jan 2012 12:51:22 +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 Richard Riley writes: > I have an org template set up like this and frequently use the journal > option [...] > | ("j" "Journal" entry > | (file+datetree "journal.gpg") > | "* %?\n\t:PROPERTIES:\n\t:DateCreated: %T\n\t:END:\n%i\n%a") [...] > > 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. 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? -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.92.1 : using Org-mode version 7.8.03 (release_7.8.03.122.g5b407)