emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: emacs-orgmode@gnu.org
Subject: Re: org-capture-template: table lines including newline of sorts
Date: Tue, 16 Mar 2021 08:34:44 +0100	[thread overview]
Message-ID: <87tupbr1pn.fsf@mat.ucm.es> (raw)
In-Reply-To: <f81a4468-9f23-4864-23fd-47d2818cff35@verizon.net>

[-- Attachment #1: Type: text/plain, Size: 1054 bytes --]


   > On 3/15/21 5:00 PM, Uwe Brauer wrote:
   > My bad; I did not pay attention to a four line comment, so here it is
   > again, with the comment and final line for the template, etc.

   > (setq org-capture-template '(

   > . . . some capture templates

   >                 ("s" "timeslip" table-line
   >      	     (file "/mnt/Data/ActiveFiles/timeslips.org")
   >        ;;    	    (file "d:/ActiveFiles/timeslips.org")
   >     	          "\| %(org-read-date)\| %^{FileName} %i\|
   >     	          %^{Narrative} %i\| %^{Time} %i\| %^{Expense} %i"

   > ;; Note that there is no escape and pipe after the final content input
   >    expansion
   > ;; if there were a \| then an empty column is added
   > ;; (org-read-date) added 2013-07-12; see Sacha Chua's use of same as in
   > ;; the ledger templates below.
   >                  :empty-lines 1)

   > , , , some more capture templates

   > ))


I still obtain 

| Bad template 


Even copying your code without any modifications! I am running org
9.3.7

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]

  reply	other threads:[~2021-03-16  7:36 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 [this message]
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
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=87tupbr1pn.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --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).