From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: Re: Row reference for :table-line-pos in a capture template. Date: Thu, 14 Apr 2016 10:34:39 +0200 Message-ID: References: <1460561870.20176.3.camel@yann-fixe> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60317) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqcj4-0008HN-Ny for emacs-orgmode@gnu.org; Thu, 14 Apr 2016 04:34:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aqcj1-0003Fj-Fv for emacs-orgmode@gnu.org; Thu, 14 Apr 2016 04:34:10 -0400 Received: from mail3.b1.hitrost.net ([91.185.211.214]:46902) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqcj1-0003FR-9S for emacs-orgmode@gnu.org; Thu, 14 Apr 2016 04:34:07 -0400 In-reply-to: <1460561870.20176.3.camel@yann-fixe> 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: "leho.yann@gmail.com" Cc: emacs-orgmode@gnu.org Hello, Nicolas just fixed a bug related to this. If you can pull the latest version, try and see if it works now. Yours, Christian leho.yann@gmail.com writes: > hello, > I'm trying to use :table-line-pos in a capture template. > I want add new line just after the third hline in the table. > I try "III" "III+" "III+1" "4"... Any ideas? > > this is the line in my org-capture-templates : > ("X" "Test" table-line (file+headline > "/media/yann/crypt/gtd/collecte/projets/test.org" "table") "| | | | |%t > | |" :table-line-pos "4") > > and this is my files test.org : > > * table > |---+--------+-------+-------------+--------------------+---| > | | Somme | Objet | Compte | Date | | > |---+--------+-------+-------------+--------------------+---| > | _ | Total | | | | | > | # | 140.00 | | | | | > |---+--------+-------+-------------+--------------------+---| > | | 60 | test2 | 03 | <2016-04-13 mer.> | | > | | 50 | test | 12040538001 | <2016-03-12 sam.> | | > | | 10 | 10 | 13221312 | <2016-02-11 jeu.> | | > |---+--------+-------+-------------+--------------------+---| > #+TBLFM:$Total=vsum(@III..@IIII);%.2f > > Thank you. > Regards, > > Yann