emacs-orgmode
[Top][All Lists]
Advanced

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

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


From: Andreas Röhler
Subject: Re: [Orgmode] Re: org-default-notes-file
Date: Mon, 18 Oct 2010 10:45:02 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6

Am 18.10.2010 09:16, schrieb Noorul Islam K M:
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


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

Andreas

--
https://code.launchpad.net/~a-roehler/python-mode/python-mode-components
https://code.launchpad.net/s-x-emacs-werkstatt/









reply via email to

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