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: Thu, 18 Mar 2021 08:38:53 +0100	[thread overview]
Message-ID: <87czvw29o2.fsf@mat.ucm.es> (raw)
In-Reply-To: <6f19bdbb-5582-4eb1-7041-30aaa9d53727@verizon.net>

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

   > On 3/16/21 3:34 AM, Uwe Brauer wrote:
   > I'm running org 9.4.4 and emacs 28.0.50, (both from source) on Debian
   > testing. According to my notes in my init file I created the template
   > in early July 2011, modified it slightly two years later. I do not
   > recall any problems with it.

   > Just to  make sure that there is no problem with the timeslips
   > template, at least on my system, I commented out all of the capture
   > templates before and after the timeslips template and reloaded my init
   > file. I ran org-capture (bound to C-cm). The timeslips came up in the
   > dispatcher and it ran OK.

   > I notice that I was off by a key and typed periods and not semicolons
   > in the two lines "some capture templates," and, "some more capture
   > templates."

I commented out all my templates

So the only entry is 

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

Timeslips.org is empty.

I mark a line in my org-init file and fire up org-capture using your
template, I insert as file name org-init, 
narrative I insert blabla 
time I insert 10:00
Expense I insert 10

And I obtain 

| Bad template 

What do I miss here?



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

  reply	other threads:[~2021-03-18  7:39 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 [this message]
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:

  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=87czvw29o2.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' \


* 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:


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).