* Row reference for :table-line-pos in a capture template.
@ 2016-04-13 15:37 leho.yann
2016-04-14 8:34 ` Christian Moe
0 siblings, 1 reply; 2+ messages in thread
From: leho.yann @ 2016-04-13 15:37 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1083 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 2295 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Row reference for :table-line-pos in a capture template.
2016-04-13 15:37 Row reference for :table-line-pos in a capture template leho.yann
@ 2016-04-14 8:34 ` Christian Moe
0 siblings, 0 replies; 2+ messages in thread
From: Christian Moe @ 2016-04-14 8:34 UTC (permalink / raw)
To: leho.yann@gmail.com; +Cc: emacs-orgmode
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-04-14 8:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-13 15:37 Row reference for :table-line-pos in a capture template leho.yann
2016-04-14 8:34 ` Christian Moe
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).