emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: org-capture-template: table lines including newline of sorts


From: Charles Millar
Subject: Re: org-capture-template: table lines including newline of sorts
Date: Sun, 14 Mar 2021 18:12:43 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0

Hi,

On 3/14/21 1:00 PM, TRS-80 wrote:
On 2021-03-13 02:24, Uwe Brauer wrote:
Hi

Currently I have the following setting for one org-capture-template:


("mu" "Stat+Num:Exercises English"
table-line (file+headline "~/Somefile.org" "Exercise Group-E")
"| %:fromname|%:fromaddress |
%(my-extract-cc)|%^{Sheet|1|2|3|4|5|6}|%^{Exercise|1|} |  %a|%:date |
"  :prepend t
)

That line is too long, I'd like something like this
("mu" "Stat+Num:Exercises English"
table-line (file+headline "~/Somefile.org" "Exercise Group-E")
"| %:fromname|%:fromaddress\n
%(my-extract-cc)|%^{Sheet|1|2|3|4|5|6}|%^{Exercise|1|} |  %a|%:date |
"  :prepend t
)

Or

("mu" "Stat+Num:Exercises English"
table-line (file+headline "~/Somefile.org" "Exercise Group-E")
"| %:fromname|%:fromaddress\n
%(my-extract-cc)|%^{Sheet|1|2|3|4|5|6}|%^{Exercise|1|} |  %a|%:date |
"  :prepend t
"|   | %(my-extract-cc) |   |   |   |   |   |   |    |  |   |   |    |
       | "  :prepend t
)


But nothing worked, any ideas?

Thanks and regards

Uwe Brauer

Do you need to add more pipes to keep the table structure on the line
after the newline?

Cheers,
TRS-80

You may have to escape the pipes. I did that in a similar capture template.

Charlie Millar


reply via email to

[Prev in Thread] Current Thread [Next in Thread]