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: David Masterson
Subject: Re: org-capture-template: table lines including newline of sorts
Date: Sun, 14 Mar 2021 16:28:58 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Uwe Brauer <oub@mat.ucm.es> writes:

> 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?

Break up the line however you wish into quoted substrings and concat
them together..?

-- 
David Masterson



reply via email to

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