emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: org-default-notes-file


From: Noorul Islam K M
Subject: [Orgmode] Re: org-default-notes-file
Date: Mon, 18 Oct 2010 14:39:29 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Louis Turk <address@hidden> writes:

>  On 10/18/2010 03:16 PM, Noorul Islam K M wrote:
>
>> Louis Turk<address@hidden>  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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]