From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [BUG] Capture template table line specification Date: Wed, 13 Apr 2016 23:50:50 +0200 Message-ID: <871t6918lh.fsf@nicolasgoaziou.fr> References: <87ega9dczi.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54710) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqSeS-00080A-L9 for emacs-orgmode@gnu.org; Wed, 13 Apr 2016 17:48:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aqSeP-0004Tl-DG for emacs-orgmode@gnu.org; Wed, 13 Apr 2016 17:48:44 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:52083) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqSeP-0004TZ-7S for emacs-orgmode@gnu.org; Wed, 13 Apr 2016 17:48:41 -0400 In-Reply-To: (Christian Moe's message of "Wed, 13 Apr 2016 14:52:09 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Christian Moe Cc: emacs-org list 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