emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-capture-expand-file: Invalid file location: nil
@ 2017-11-04 11:23 Xi Shen
  2017-11-04 21:23 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Xi Shen @ 2017-11-04 11:23 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 672 bytes --]

Hi,

When I do C-c c, I got an error:

org-capture-expand-file: Invalid file location: nil

But (org-capture-expand-file "") returns the expected value. And the file
does exist. But (org-capture-expand-file nil) raise an error. So I guess
the function was given an erroneous value.

My relevant settings are:

(org-capture-templates
   (quote
    (("t" "Task" entry
      (file+headline nil "Tasks")
      "* TODO %? %^g")
     ("q" "Quick note" entry
      (file+datetree nil)
      "* [%<%H:%M>] %?"))))

(setq org-default-notes-file (concat org-directory "/.notes"))

I did not change my configurations for a long time. Maybe some of them are
outdated?


Thanks,
David

[-- Attachment #2: Type: text/html, Size: 1133 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-11-05  2:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-04 11:23 org-capture-expand-file: Invalid file location: nil Xi Shen
2017-11-04 21:23 ` Nicolas Goaziou
2017-11-05  2:27   ` Xi Shen

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).