emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christian Moe <mail@christianmoe.com>
To: "leho.yann@gmail.com" <leho.yann@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Row reference for :table-line-pos in a capture template.
Date: Thu, 14 Apr 2016 10:34:39 +0200	[thread overview]
Message-ID: <m2h9f4y4f4.fsf@christianmoe.com> (raw)
In-Reply-To: <1460561870.20176.3.camel@yann-fixe>


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

      reply	other threads:[~2016-04-14  8:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-13 15:37 Row reference for :table-line-pos in a capture template leho.yann
2016-04-14  8:34 ` Christian Moe [this message]

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=m2h9f4y4f4.fsf@christianmoe.com \
    --to=mail@christianmoe.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=leho.yann@gmail.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).