emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* template is jumping to org file after auto save + enhancement request
@ 2009-11-03  0:22 Richard Riley
  2009-11-03  5:24 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Riley @ 2009-11-03  0:22 UTC (permalink / raw)
  To: emacs-orgmode


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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: template is jumping to org file after auto save + enhancement request
  2009-11-03  0:22 template is jumping to org file after auto save + enhancement request Richard Riley
@ 2009-11-03  5:24 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2009-11-03  5:24 UTC (permalink / raw)
  To: Richard Riley; +Cc: emacs-orgmode

Hi Richard,

I am not able to reproduce this.

- Carsten

On Nov 3, 2009, at 1:22 AM, Richard Riley wrote:

>
> 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.
>
>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-03  5:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-03  0:22 template is jumping to org file after auto save + enhancement request Richard Riley
2009-11-03  5:24 ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).