From mboxrd@z Thu Jan 1 00:00:00 1970 From: Noorul Islam K M Subject: Re: org-default-notes-file Date: Mon, 18 Oct 2010 14:50:59 +0530 Message-ID: <87pqv7oo04.fsf@noorul.maa.corp.collab.net> References: <4CBBEC97.5000402@dayspringpublisher.com> <878w1wotrh.fsf@noorul.maa.corp.collab.net> <4CBC0BC1.40304@dayspringpublisher.com> <87tykjooja.fsf@noorul.maa.corp.collab.net> <4CBC101F.3020103@dayspringpublisher.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=45725 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P7lvh-0001zt-Tj for emacs-orgmode@gnu.org; Mon, 18 Oct 2010 05:22:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P7lvg-0004kt-LY for emacs-orgmode@gnu.org; Mon, 18 Oct 2010 05:22:53 -0400 Received: from mail-yw0-f41.google.com ([209.85.213.41]:41844) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P7lvg-0004kn-J0 for emacs-orgmode@gnu.org; Mon, 18 Oct 2010 05:22:52 -0400 Received: by ywh1 with SMTP id 1so362394ywh.0 for ; Mon, 18 Oct 2010 02:22:52 -0700 (PDT) In-Reply-To: <4CBC101F.3020103@dayspringpublisher.com> (Louis Turk's message of "Mon, 18 Oct 2010 17:15:11 +0800") 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 Louis Turk writes: > On 10/18/2010 05:09 PM, Noorul Islam K M wrote: > >> Louis Turk writes: >> >>> On 10/18/2010 03:16 PM, Noorul Islam K M wrote: >>> >>>> 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 >>> Thanks for responding, but that doesn't seem to cure the problem. I >>> still get the same error message. >>> >> Which version of emacs and org-mode are you using? >> >> M-x emacs-version >> M-x org-version >> >> Thanks and Regards >> Noorul > GNU Emacs 23.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.0) of > 2010-05-08 on pidsley.hoetzel.info > > Org-mode version 6.33x (release_7.01h.718.g0cb3c5.dirty) > > also, I'm using archlinux > I think you should use "Reply-To All" so that everyone in the list can see your message and help out. It looks like there is a collision of org-mode versions? Do you have multiple org-mode installations? I think 6.33x is the one that comes with emacs and release 7.01h is the latest. Ensure that you have the latest version ahead in load path. Thanks and Regards Noorul