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:45:26 +0000 Message-ID: <87vcofdb4p.fsf@ucl.ac.uk> References: <05pqenrfb9.fsf@news.eternal-september.org> <87ehv3u7w0.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:42765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlgVx-0006Vd-Vj for emacs-orgmode@gnu.org; Fri, 13 Jan 2012 07:45:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RlgVr-0003CO-Im for emacs-orgmode@gnu.org; Fri, 13 Jan 2012 07:45:49 -0500 Received: from vscane-c.ucl.ac.uk ([144.82.108.43]:58690) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlgVr-0003Bw-Dt for emacs-orgmode@gnu.org; Fri, 13 Jan 2012 07:45:43 -0500 Received: from [85.210.141.126] (helo=localhost) by vscane-c.ucl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1RlgVc-0001RL-Eu for emacs-orgmode@gnu.org; Fri, 13 Jan 2012 12:45:31 +0000 In-Reply-To: (Richard Riley's message of "Fri, 13 Jan 2012 13:36:00 +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: > Eric S Fraga 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)