From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Default location for "./" with respect to capture file+headline Date: Fri, 5 Feb 2016 21:19:58 -0600 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59672) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRtPj-0005I6-NZ for emacs-orgmode@gnu.org; Fri, 05 Feb 2016 22:20:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRtPi-0004og-Rw for emacs-orgmode@gnu.org; Fri, 05 Feb 2016 22:19:59 -0500 Received: from mail-ob0-x229.google.com ([2607:f8b0:4003:c01::229]:34435) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRtPi-0004oY-MH for emacs-orgmode@gnu.org; Fri, 05 Feb 2016 22:19:58 -0500 Received: by mail-ob0-x229.google.com with SMTP id wb13so106396909obb.1 for ; Fri, 05 Feb 2016 19:19:58 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode Greetings, I'm trying to show an Org-mode demo within a folder for a talk. I can't show my actual work stuff as it's confidential, so I'm trying to create a self-contained org directory. I have a dir with a setup like so: dir/ dir/setup/example-config dir/libs/{org-mode, ESS, others} dir/demo/demo-file.org I'm loading emacs like this (after cd-ing to dir) emacs -q -l setup/example-config It's loading org-mode from the ./libs directory (vs. ~/.elisp) and the first line is: (cd "/path/to/dir/") When I do =C-c c= to try a capture example, it's trying to file it with respect to ~/org and I'm not sure why. Here's the capture section of dir/setup/example-config: (setq org-capture-templates '(("l" "log" entry (file+headline "./demo/org-demo_capture.org" "Log") "* %? \n%u " :clock-in t :clock-resume t) ("t" "task" entry (file+headline "./demo/org-demo_article.org" "Tasks") "* todo %? %^g\n%u" :prepend t) ("c" "clock" entry (file+datetree "./demo/org-demo_clocking.org") "* %?\n%u" :clock-in t :clock-keep t))) The capture buffer wants to create the directory ~/org/demo. Thanks for any pointers! John