From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Christian Moe <mail@christianmoe.com>
Cc: emacs-org list <emacs-orgmode@gnu.org>
Subject: Re: [BUG] Capture template table line specification
Date: Wed, 13 Apr 2016 23:50:50 +0200 [thread overview]
Message-ID: <871t6918lh.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <m237qp658m.fsf@christianmoe.com> (Christian Moe's message of "Wed, 13 Apr 2016 14:52:09 +0200")
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
next prev parent reply other threads:[~2016-04-13 21:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2016-04-14 8:32 ` Christian Moe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871t6918lh.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=mail@christianmoe.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).