From: Roland Everaert <reveatwork@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Regresssion in org-capture?
Date: Tue, 02 Apr 2019 15:54:23 +0200 [thread overview]
Message-ID: <87imvwbjhs.fsf@gmail.com> (raw)
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
next reply other threads:[~2019-04-02 13:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-02 13:54 Roland Everaert [this message]
2019-04-02 20:13 ` Regresssion in org-capture? Nicolas Goaziou
2019-04-11 7:18 ` Roland Everaert
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=87imvwbjhs.fsf@gmail.com \
--to=reveatwork@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).