emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Masterson <dsmasterson92630@outlook.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-capture-template: table lines including newline of sorts
Date: Sun, 14 Mar 2021 16:28:58 -0700	[thread overview]
Message-ID: <SJ0PR03MB54554873471B810342F029A89B6D9@SJ0PR03MB5455.namprd03.prod.outlook.com> (raw)
In-Reply-To: <875z1vseh4.fsf@mat.ucm.es> (Uwe Brauer's message of "Sat, 13 Mar 2021 08:24:39 +0100")

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


  parent reply	other threads:[~2021-03-14 23:29 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-13  7:24 Uwe Brauer
2021-03-14 17:00 ` TRS-80
2021-03-14 20:41   ` Uwe Brauer
2021-03-21 15:01     ` Maxim Nikulin
2021-03-14 22:12   ` Charles Millar
2021-03-15 14:13     ` Uwe Brauer
2021-03-15 14:49       ` Charles Millar
2021-03-15 21:00         ` Uwe Brauer
2021-03-16  0:04           ` Charles Millar
2021-03-16  7:34             ` Uwe Brauer
2021-03-16 11:17               ` Charles Millar
2021-03-18  7:38                 ` Uwe Brauer
2021-03-19 18:15                   ` TRS-80
2021-03-14 23:28 ` David Masterson [this message]
2021-03-15 14:14   ` Uwe Brauer
2021-03-19 18:12     ` TRS-80

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=SJ0PR03MB54554873471B810342F029A89B6D9@SJ0PR03MB5455.namprd03.prod.outlook.com \
    --to=dsmasterson92630@outlook.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: org-capture-template: table lines including newline of sorts' \
    /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

Code repositories for project(s) associated with this 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).