[Top][All Lists]

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

[O] SOLVED (was: temporary org-capture-templates)

From: Uwe Brauer
Subject: [O] SOLVED (was: temporary org-capture-templates)
Date: Mon, 14 Mar 2016 10:32:56 +0000
User-agent: Gnus/5.130016 (Ma Gnus v0.16) Emacs/25.1.50 (gnu/linux)

>>> "Uwe" == Uwe Brauer <address@hidden> writes:

   > Hi

   > I would like to one entry for the org-capture-templates
   > which will prompt for the file I want to save the capture.

   > So I tried 

   > (setq org-capture-templates
   > '(
   > ("G" "Generic" table-line (file+headline (read-string "Name of file: " 
   > "|%f| %U|%A|" :prepend t))))

My bad forgot )

So this works nicely
 (setq org-capture-templates
("G" "Generic" table-line (file+headline (expand-file-name (read-string "Name 
of file: ")) "Generic")
                 "|%f| %U|%A|" :prepend t))

reply via email to

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