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: Christian Moe
Subject: Re: [O] [BUG] Capture template table line specification
Date: Wed, 13 Apr 2016 14:52:09 +0200
User-agent: mu4e 0.9.17; emacs 24.5.1

Hello,

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

Nicolas Goaziou writes:

> Hello,
>
> Christian Moe <address@hidden> writes:
>
>> Another odd problems after updating to Emacs 24.5 and Org
>> 8.3.4:
>>
>> I have a capture template that puts the captured info into a table line
>> before the second horizontal line of the table.
>>
>> Capture fails with this message:
>>
>> Capture template `x': Invalid table line specification "II-1"
>>
>> Far as I can tell from the manual, the specification is exactly right,
>> and it has always worked before.
>
> Could you share the template with an Org document to test it on?
>
> Thank you.
>
> Regards,


reply via email to

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