emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Regresssion in org-capture?


From: Roland Everaert
Subject: [O] Regresssion in org-capture?
Date: Tue, 02 Apr 2019 15:54:23 +0200
User-agent: mu4e 1.1.0; emacs 26.1

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]