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

2016-04-14 Thread Christian Moe

Nicolas Goaziou writes:

> Fixed. Thank you.

Confirmed! Thank you.

Yours,
Christian




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

2016-04-13 Thread Nicolas Goaziou
Hello,

Christian Moe  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



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

2016-04-13 Thread Christian Moe

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  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,



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

2016-04-13 Thread Nicolas Goaziou
Hello,

Christian Moe  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,

-- 
Nicolas Goaziou



[O] [BUG] Capture template table line specification

2016-04-10 Thread Christian Moe

Hi again,

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.

Yours,
Christian