Louis Turk <l...@dayspringpublisher.com> writes: > On 10/18/2010 05:09 PM, Noorul Islam K M wrote: > >> Louis Turk<l...@dayspringpublisher.com> writes: >> >>> On 10/18/2010 03:16 PM, Noorul Islam K M wrote: >>> >>>> Louis Turk<l...@dayspringpublisher.com> 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 _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode