Re: [O] Regresssion in org-capture?

2019-04-11 Thread Roland Everaert
Hello,

With the last version from org ELPA, I can confirm that the bug is fixed.

Thanks,

Roland.


Nicolas Goaziou writes:

> Hello,
>
> Roland Everaert  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



Re: [O] Regresssion in org-capture?

2019-04-02 Thread Nicolas Goaziou
Hello,

Roland Everaert  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



[O] Regresssion in org-capture?

2019-04-02 Thread Roland Everaert
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