From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Riley Subject: Re: Writing an new org entry to a .gpg file - ends up in .org file instead Date: Fri, 13 Jan 2012 14:19:59 +0100 Message-ID: <6zmx9roi2o.fsf@news.eternal-september.org> References: <05pqenrfb9.fsf@news.eternal-september.org> <87ehv3u7w0.fsf@ucl.ac.uk> <87vcofdb4p.fsf@ucl.ac.uk> 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]:54168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rlh3I-0000JS-SL for emacs-orgmode@gnu.org; Fri, 13 Jan 2012 08:20:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rlh3E-0008Te-3h for emacs-orgmode@gnu.org; Fri, 13 Jan 2012 08:20:16 -0500 Received: from lo.gmane.org ([80.91.229.12]:39827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rlh3D-0008TV-Pt for emacs-orgmode@gnu.org; Fri, 13 Jan 2012 08:20:12 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Rlh3C-00066m-US for emacs-orgmode@gnu.org; Fri, 13 Jan 2012 14:20:10 +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 14:20:10 +0100 Received: from rileyrg by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Jan 2012 14:20:10 +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 Eric S Fraga writes: > 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? thanks for that example, that worked... no idea why. Anyone? (I hate prompts for tags etc ;)