* Regresssion in org-capture?
@ 2019-04-02 13:54 Roland Everaert
2019-04-02 20:13 ` Nicolas Goaziou
0 siblings, 1 reply; 3+ messages in thread
From: Roland Everaert @ 2019-04-02 13:54 UTC (permalink / raw)
To: emacs-orgmode
Hi,
Since a few weeks, the following template didn't work anymore.
(setq org-capture-templates
`(("b" "Add url to bookmarks DB" entry (file+headline "~/org/private/bookmarks.org" "URLs")
"** %i\n" :immediate-finish t))
)
Anytime I execute it I got this error:
org-capture: Capture template ‘b’: Template is not a valid Org entry or tree
Org-mode and Emacs version
Org mode version 9.2.3 (9.2.3-elpa @ /home/roland/.emacs.d/elpa/org-20190402/)
GNU Emacs 26.1 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.22.30) of 2018-06-26
Minimal configuration I have used to reproduce the problem:
(require 'package)
(setq package-enable-at-startup nil)
(add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/") t)
(package-initialize) ;; Initialize & Install Package
; Bootstrap `use-package'
(unless (package-installed-p 'use-package)
(package-refresh-contents)
(package-install 'use-package))
(use-package org
:ensure org-plus-contrib
:pin org
:mode (("\\.org$" . org-mode)
("\\.org_archive$" . org-mode))
:bind (("C-c l" . org-store-link)
("C-c b" . org-iswitchb)
("C-c c" . org-capture))
)
(setq org-capture-templates
`(("b" "Add url to bookmarks DB" entry (file+headline "~/org/private/bookmarks.org" "URLs")
"** %i\n" :immediate-finish t))
)
Does anything has changed in the syntax of org-capture-templates?
Regards,
Roland Everaert.
--
Luke, use the FOSS
Sent from Emacs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Regresssion in org-capture?
2019-04-02 13:54 Regresssion in org-capture? Roland Everaert
@ 2019-04-02 20:13 ` Nicolas Goaziou
2019-04-11 7:18 ` Roland Everaert
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2019-04-02 20:13 UTC (permalink / raw)
To: Roland Everaert; +Cc: emacs-orgmode
Hello,
Roland Everaert <reveatwork@gmail.com> writes:
> Since a few weeks, the following template didn't work anymore.
>
> (setq org-capture-templates
> `(("b" "Add url to bookmarks DB" entry (file+headline "~/org/private/bookmarks.org" "URLs")
> "** %i\n" :immediate-finish t))
> )
>
> Anytime I execute it I got this error:
>
> org-capture: Capture template ‘b’: Template is not a valid Org entry
> or tree
Fixed. Thank you.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Regresssion in org-capture?
2019-04-02 20:13 ` Nicolas Goaziou
@ 2019-04-11 7:18 ` Roland Everaert
0 siblings, 0 replies; 3+ messages in thread
From: Roland Everaert @ 2019-04-11 7:18 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: emacs-orgmode
Hello,
With the last version from org ELPA, I can confirm that the bug is fixed.
Thanks,
Roland.
Nicolas Goaziou writes:
> Hello,
>
> Roland Everaert <reveatwork@gmail.com> writes:
>
>> Since a few weeks, the following template didn't work anymore.
>>
>> (setq org-capture-templates
>> `(("b" "Add url to bookmarks DB" entry (file+headline "~/org/private/bookmarks.org" "URLs")
>> "** %i\n" :immediate-finish t))
>> )
>>
>> Anytime I execute it I got this error:
>>
>> org-capture: Capture template ‘b’: Template is not a valid Org entry
>> or tree
>
> Fixed. Thank you.
>
> Regards,
--
Luke, use the FOSS
Sent from Emacs
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-04-11 7:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-02 13:54 Regresssion in org-capture? Roland Everaert
2019-04-02 20:13 ` Nicolas Goaziou
2019-04-11 7:18 ` Roland Everaert
Code repositories for project(s) associated with this public 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).