emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Bug: Org Capture with Concatenated filenames [9.0 (9.0-elpa @ .emacs


From: Klarre N
Subject: [O] Bug: Org Capture with Concatenated filenames [9.0 (9.0-elpa @ .emacs.d/elpa/org-20161102/)]
Date: Fri, 4 Nov 2016 23:17:30 +0100

Hi,
concatenated filenames for org-capture templates no longer works (since 9.0).

ECM:
(setq org-default-notes-file "absolute-path/default.org")
(defvar absolute "absolute-path/"
    "Path to Desired directory.")
(setq org-capture-templates '(
  ("e" "Example" entry
   (file+headline (concat absolute "example.org") "Example")
   "* Capture"
   :empty-lines 1)))

Expected result:
Add "* Capture" to absolute-path/example.org.

Result: "* Capture" is added to "absolute-path/default.org".

This provides the desired result, but unable to use variable filenames (very useful):
(setq org-default-notes-file "absolute-path/default.org")
(setq org-capture-templates '(
  ("e" "Example" entry
   (file+headline "absolute-path/example.org" "Example")
   "* Capture"
   :empty-lines 1)))



Thanks!

reply via email to

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