From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: Re: [BUG] Capture template table line specification Date: Wed, 13 Apr 2016 14:52:09 +0200 Message-ID: References: <87ega9dczi.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39182) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqKGo-0002es-Q2 for emacs-orgmode@gnu.org; Wed, 13 Apr 2016 08:51:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aqKGk-0000PN-Kw for emacs-orgmode@gnu.org; Wed, 13 Apr 2016 08:51:46 -0400 Received: from mail3.b1.hitrost.net ([91.185.211.214]:35080) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqKGk-0000ML-Df for emacs-orgmode@gnu.org; Wed, 13 Apr 2016 08:51:42 -0400 In-reply-to: <87ega9dczi.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: emacs-org list --=-=-= Content-Type: text/plain 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 --=-=-= Content-Type: text/x-org Content-Disposition: inline; filename=capture-test.org #+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 --=-=-= Content-Type: text/plain 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, --=-=-=--