From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Riley Subject: template is jumping to org file after auto save + enhancement request Date: Tue, 03 Nov 2009 01:22:05 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N57AQ-0006lt-VG for emacs-orgmode@gnu.org; Mon, 02 Nov 2009 19:22:35 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N57AM-0006jm-HH for emacs-orgmode@gnu.org; Mon, 02 Nov 2009 19:22:34 -0500 Received: from [199.232.76.173] (port=57666 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N57AM-0006jj-Bj for emacs-orgmode@gnu.org; Mon, 02 Nov 2009 19:22:30 -0500 Received: from lo.gmane.org ([80.91.229.12]:48087) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N57AM-0000nS-0g for emacs-orgmode@gnu.org; Mon, 02 Nov 2009 19:22:30 -0500 Received: from list by lo.gmane.org with local (Exim 4.50) id 1N57AK-0000lc-44 for emacs-orgmode@gnu.org; Tue, 03 Nov 2009 01:22:28 +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 ; Tue, 03 Nov 2009 01:22:28 +0100 Received: from rileyrgdev by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Nov 2009 01:22:28 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I use this remember template to auto store an org item. ("vocab" ?v "** TODO Learn %(rgr/orig-word)\t:VOCAB:\n:PROPERTIES:\n:orig:\t%(rgr/orig-word)\n:trans:\t%(rgr/trans-word)\n:from:\t%(rgr/from-lang)\n:to:\t%(rgr/to-lang)\n:END:\n%!" "vocab.org" bottom) Where the rgr/ functions are merely returning some text. The creation and save of the org item involves no prompts and works great. The problem is that after org-mode does its thing it jumps me to my vocab.org buffer and tells me: Restore window configuration with C-x r j R How can I stop this jumping to the org file? The docs suggest this should not happen when using %! in the template. Carsten : It would be nice to be able to store the results of a SEXP as a property similar to the %^{PROMPT}p template marker so one doesnt have to specifically write out the PROPERTIES wrapper. Is that possible or could it be please? regards r.