On 3/15/21 5:00 PM, Uwe Brauer wrote:
"CM" == Charles Millar <mill...@verizon.net> writes:
> On 3/15/21 10:13 AM, Uwe Brauer wrote:
>>
>>> Hi,
>>> On 3/14/21 1:00 PM, TRS-80 wrote:
>>> You may have to escape the pipes. I did that in a similar capture
template.
>> Can you give me an example, please?
>>
> HTH
> ("s" "timeslip" table-line
> (file "/mnt/Data/ActiveFiles/timeslips.org")
> "\| %(org-read-date)\| %^{FileName} %i\|
> %^{Narrative} %i\| %^{Time} %i\| %^{Expense} %i"
There is a ) missing, no?
I tried
("s" "timeslip" table-line
(file "/home/oub/timeslips.org")
"\| \| %fromname\|
:%subject\| %a \| %:date")
But I obtain bad template when executing the code
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
))