emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] reuse input (was: New implementation of the Org remember proce


From: Memnon Anon
Subject: [Orgmode] reuse input (was: New implementation of the Org remember process ready for comments and testing)
Date: Wed, 23 Jun 2010 14:24:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Hi,

Sebastian Rose <address@hidden> writes:

> * Reuse input
>
>   I would like to prompt for a value and use the input in several
>   places. E.g. part of the last entry in my training diary looks like
>   this:
>
>
> => --->8----------------------------->8----------------------------->8---
> ***** DONE [2010-06-21 Mo] (run)  22761  5:52
>       :PROPERTIES:
>       :date:     [2010-06-21 Mo]
>       :meters:   22761
>       :time:     02:13:32
>       :pace:     5:52
>       :start:    16:00
>       :type:     lgDL
>       :kcal:     1525
>       :rpuls:    42
>       :END:
[...]
>    As you can see, I use the "distance" and the "pace" in two
>    places. One in the title for better overview, one as property for
>    column view. But I'd like to enter it only once.

I am not exactly sure, but afaik yasnippet has this feature.

http://yasnippet.googlecode.com/svn/trunk/doc/snippet-development.html
,----
| Mirrors
| 
| We refer the tab stops with placeholders as a field. A field can have
| mirrors. Its mirrors will get updated when you change the text of a
| field. Here's an example:
| 
| \begin{${1:enumerate}}
|     $0
| \end{$1}
`----

So I guess a predefined yasnippet template would be able to get the
behaviour you want in a org-remember^Worg-capture buffer?

memnon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]