[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: .Re: Org Capture Template
From: |
daniela-spit |
Subject: |
Re: .Re: Org Capture Template |
Date: |
Fri, 27 Nov 2020 08:07:15 +0100 |
> Sent: Friday, November 27, 2020 at 7:51 AM
> From: "Arthur Miller" <arthur.miller@live.com>
> To: daniela-spit@gmx.it
> Cc: "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
> Subject: Re: .Re: Org Capture Template
>
> daniela-spit@gmx.it writes:
>
> > Have you tried it? Am still getting "Invalid Capture Template".
> Hah :-) Actually not; I just saw you were missing a parenthesis, wasn't
> even looking at it; I am sorry:
If you were doing it for the glory, it backfired.
> (setq org-capture-templates
>
> `( ("t" "Todo" entry
> (file "~/Dokument/notes.org")
> ,(concat "* TODO %^{Heading}\n Brief: %^{Brief}\n"
> "Detail: %?\n"
> "Entered: %T\n Link: %a\n") )))
>
>
>
> >> Sent: Friday, November 27, 2020 at 6:34 AM
> >> From: "Arthur Miller" <arthur.miller@live.com>
> >> To: daniela-spit@gmx.it
> >> Cc: "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
> >> Subject: Re: Org Capture Template
> >>
> >> daniela-spit@gmx.it writes:
> >>
> >> > I am writing an Org Capture Template. But I want to use concat
> >> > to keep indentation. But it is giving me "Invalid capture template".
> >> >
> >> > (setq org-capture-templates
> >> >
> >> > '( ("t" "Todo" entry
> >> > (file "~/02history/rcl.org")
> >> > (concat "* TODO %^{Heading}\n Brief: %^{Brief}\n"
> >> > "Detail: %?\n"
> >> > "Entered: %T\n Link: %a\n") ))
> >> >
> >> >
> >> > -------
> >> >
> >> > (setq org-capture-templates
> >> >
> >> > '( ("t" "Todo" entry
> >> > (file "~/02history/rcl.org")
> >> > "* TODO %^{Heading}\n Brief: %^{Brief}\n
> >> > Detail: %?\n
> >> > Entered: %T\n Link: %a\n") ))
> >> >
> >> > -------
> >>
> >> This one works:
> >>
> >> (setq org-capture-templates
> >>
> >> '( ("t" "Todo" entry
> >> (file "~/02history/rcl.org")
> >> (concat "* TODO %^{Heading}\n Brief: %^{Brief}\n"
> >> "Detail: %?\n"
> >> "Entered: %T\n Link: %a\n") )))
> >>
> >> I suggest you put this into your init file:
> >>
> >> (setq show-paren-style 'expression)
> >> (show-paren-mode t)
> >>
> >> It will be much easier to see when you miss a parenthesis next time if
> >> you let Emacs match parenthesis for you and syntax colour entire
> >> expressions between matching parenthesis.
> >>
> >>
> >>
>
>
- Org Capture Template, daniela-spit, 2020/11/26
- Re: Org Capture Template, Arthur Miller, 2020/11/27
- .Re: Org Capture Template, daniela-spit, 2020/11/27
- Re: .Re: Org Capture Template, Arthur Miller, 2020/11/27
- Re: .Re: Org Capture Template,
daniela-spit <=
- Re: .Re: Org Capture Template, Arthur Miller, 2020/11/27
- Re: .Re: Org Capture Template, daniela-spit, 2020/11/27
- Re: .Re: Org Capture Template, Arthur Miller, 2020/11/27
- Re: .Re: Org Capture Template, daniela-spit, 2020/11/27
- Re: .Re: Org Capture Template, daniela-spit, 2020/11/27
- Re: .Re: Org Capture Template, Arthur Miller, 2020/11/27
- Re: .Re: Org Capture Template, daniela-spit, 2020/11/27
- Re: .Re: Org Capture Template, daniela-spit, 2020/11/27
- Re: .Re: Org Capture Template, Arthur Miller, 2020/11/27
Re: Org Capture Template, Jean Louis, 2020/11/27