emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [BUG] Capture template table line specification


From: Nicolas Goaziou
Subject: Re: [O] [BUG] Capture template table line specification
Date: Wed, 13 Apr 2016 23:50:50 +0200

Hello,

Christian Moe <address@hidden> writes:

> Yes, apologies. Here's a fairly minimal example. In making it, I
> discovered that capture works until I add the table-formula line. With
> the formula, it fails as described below.
>
> Yours,
> Christian
>
> #+title: Capture test
>
> #+begin_src emacs-lisp
> (setq org-capture-templates
>        '(("x" "exercise" table-line 
>         (file+headline "~/org/capture-test.org" "Exercise")
>         "| %u | %^{Laps} | %^{Time} | 0 |" 
>         :table-line-pos "II-1")))
> #+end_src
>
>
> * Exercise
>
> | Date             | Laps | Time | Laptime |
> |------------------+------+------+---------|
> | [2016-04-09 Sat] |    2 |   67 |    33.5 |
> | [2016-04-11 Mon] |    1 |   32 |      32 |
> | [2016-04-13 Wed] |    2 |   65 |    32.5 |
> |------------------+------+------+---------|
> |                  |      |      |     0/0 |
> #+TBLFM: $4=$3/$2

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou



reply via email to

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