From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QW5kcmVhcyBSw7ZobGVy?= Subject: Re: org-default-notes-file Date: Mon, 18 Oct 2010 13:54:30 +0200 Message-ID: <4CBC3576.9040601@easy-emacs.de> References: <4CBBEC97.5000402@dayspringpublisher.com> <878w1wotrh.fsf@noorul.maa.corp.collab.net> <4CBC090E.50503@easy-emacs.de> <87y69voour.fsf@noorul.maa.corp.collab.net> <4CBC15DE.8070902@easy-emacs.de> <4CBC2B08.1060606@dayspringpublisher.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from [140.186.70.92] (port=52565 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P7oJL-0000Ae-HT for emacs-orgmode@gnu.org; Mon, 18 Oct 2010 07:55:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P7oJI-0008TC-PA for emacs-orgmode@gnu.org; Mon, 18 Oct 2010 07:55:25 -0400 Received: from moutng.kundenserver.de ([212.227.17.9]:57492) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P7oJI-0008SZ-EK for emacs-orgmode@gnu.org; Mon, 18 Oct 2010 07:55:24 -0400 In-Reply-To: <4CBC2B08.1060606@dayspringpublisher.com> 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: Louis Turk Cc: emacs-orgmode@gnu.org, Noorul Islam K M , Carsten Dominik Am 18.10.2010 13:10, schrieb Louis Turk: > On 10/18/2010 05:39 PM, Andreas Röhler wrote: >> Am 18.10.2010 11:02, schrieb Noorul Islam K M: >>> Andreas Röhler writes: >>> >>>> Am 18.10.2010 09:16, schrieb Noorul Islam K M: >>>> >>>>> Louis Turk writes: >>>>> >>>>>> 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? >>>>>> >>>>> >>>>> This function is defined in org-macs.el. I think you should have in >>>>> your >>>>> .emacs. >>>>> >>>>> (require 'org-macs) >>>>> >>>>> Thanks and Regards >>>>> Noorul >>>>> >>>> >>>> Hi Noorul, >>>> >>>> would this not indicate a bug anyway? >>>> IMHO functions needed should be available, if org-mode is activated. >>>> >>>> BTW at my machine org-string-nw-p is defined in the git-repo only, not >>>> in the installed org-macs.el. >>>> >>>> HTH >>>> >>> >>> Strange that org-string-nw-p is not there in org-macs.el. >> >> Seems not that strange for me. >> >> git blame says, >> >> org-mobile.el, where it's defined, started 2009-09-15 >> >> So vendors might not have it, it's not distributed yet maybe. >> >> If distributed, (require 'org-macs) >> isn't needed BTW, because org.el already requires it then. >> >> So my recommendation is just to load the git-version: >> >> git clone git://repo.or.cz/org-mode.git >> >> Andreas > Andreas, > > Thanks for replying. > > I updated using > > lat-a-ws% git clone git://repo.or.cz/org-mode.git > > but I still get the same error message. > > Lou > > > > > Hi Lou, same here unfortunatly. load-path displays the git-org repo, org-mode is loaded from there. (require 'org-macs) is present there but org-string-nw-p still unknown. Hm, no idea ... I'll drop Carsten a cc, maybe he knows what to do. Andreas