* [BUG] Capture template table line specification
@ 2016-04-10 20:47 Christian Moe
2016-04-13 10:22 ` Nicolas Goaziou
0 siblings, 1 reply; 5+ messages in thread
From: Christian Moe @ 2016-04-10 20:47 UTC (permalink / raw
To: emacs-org list
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [BUG] Capture template table line specification
2016-04-10 20:47 [BUG] Capture template table line specification Christian Moe
@ 2016-04-13 10:22 ` Nicolas Goaziou
2016-04-13 12:52 ` Christian Moe
0 siblings, 1 reply; 5+ messages in thread
From: Nicolas Goaziou @ 2016-04-13 10:22 UTC (permalink / raw
To: Christian Moe; +Cc: emacs-org list
Hello,
Christian Moe <mail@christianmoe.com> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [BUG] Capture template table line specification
2016-04-13 10:22 ` Nicolas Goaziou
@ 2016-04-13 12:52 ` Christian Moe
2016-04-13 21:50 ` Nicolas Goaziou
0 siblings, 1 reply; 5+ messages in thread
From: Christian Moe @ 2016-04-13 12:52 UTC (permalink / raw
To: Nicolas Goaziou; +Cc: emacs-org list
[-- Attachment #1: Type: text/plain, Size: 206 bytes --]
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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: capture-test.org --]
[-- Type: text/x-org, Size: 592 bytes --]
#+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
[-- Attachment #3: Type: text/plain, Size: 606 bytes --]
Nicolas Goaziou writes:
> Hello,
>
> Christian Moe <mail@christianmoe.com> 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,
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [BUG] Capture template table line specification
2016-04-13 12:52 ` Christian Moe
@ 2016-04-13 21:50 ` Nicolas Goaziou
2016-04-14 8:32 ` Christian Moe
0 siblings, 1 reply; 5+ messages in thread
From: Nicolas Goaziou @ 2016-04-13 21:50 UTC (permalink / raw
To: Christian Moe; +Cc: emacs-org list
Hello,
Christian Moe <mail@christianmoe.com> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-04-14 8:31 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-10 20:47 [BUG] Capture template table line specification Christian Moe
2016-04-13 10:22 ` Nicolas Goaziou
2016-04-13 12:52 ` Christian Moe
2016-04-13 21:50 ` Nicolas Goaziou
2016-04-14 8:32 ` Christian Moe
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.