From mboxrd@z Thu Jan 1 00:00:00 1970 From: Louis Turk Subject: org-default-notes-file Date: Mon, 18 Oct 2010 14:43:35 +0800 Message-ID: <4CBBEC97.5000402@dayspringpublisher.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=59563 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P7jTD-0001TL-A0 for emacs-orgmode@gnu.org; Mon, 18 Oct 2010 02:45:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P7jTC-0000mf-8a for emacs-orgmode@gnu.org; Mon, 18 Oct 2010 02:45:19 -0400 Received: from cpoproxy2-pub.bluehost.com ([67.222.39.38]:47203) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1P7jTC-0000mU-14 for emacs-orgmode@gnu.org; Mon, 18 Oct 2010 02:45:18 -0400 Received: from [125.167.140.159] (helo=[192.168.1.5]) by box521.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1P7jT9-0004a3-D6 for emacs-orgmode@gnu.org; Mon, 18 Oct 2010 00:45:15 -0600 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi everyone, I trying to set up capture to use refile.org as the default notes file. lat-a-ws% locate refile.org /home/lat/org/refile.org lat-a-ws% (setq org-default-notes-file "~/org/refile.org") But I get: Debugger entered--Lisp error: (void-function org-string-nw-p) (org-string-nw-p file) (or (org-string-nw-p file) org-default-notes-file (error "No notes file specified, and no default available")) (setq file (or (org-string-nw-p file) org-default-notes-file (error "No notes file specified, and no default available"))) org-capture-target-buffer("~/org/refile.org") (set-buffer (org-capture-target-buffer (nth 1 target))) How do I fix this? lou