From: Noorul Islam K M <noorul@noorul.com>
To: Louis Turk <lou@dayspringpublisher.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-default-notes-file
Date: Mon, 18 Oct 2010 12:46:34 +0530 [thread overview]
Message-ID: <878w1wotrh.fsf@noorul.maa.corp.collab.net> (raw)
In-Reply-To: <4CBBEC97.5000402@dayspringpublisher.com> (Louis Turk's message of "Mon, 18 Oct 2010 14:43:35 +0800")
Louis Turk <lou@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
next prev parent reply other threads:[~2010-10-18 7:18 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-18 6:43 org-default-notes-file Louis Turk
2010-10-18 7:16 ` Noorul Islam K M [this message]
2010-10-18 8:45 ` org-default-notes-file Andreas Röhler
2010-10-18 9:02 ` org-default-notes-file Noorul Islam K M
2010-10-18 9:39 ` org-default-notes-file Andreas Röhler
2010-10-18 11:10 ` org-default-notes-file Louis Turk
2010-10-18 11:54 ` org-default-notes-file Andreas Röhler
2010-10-18 18:16 ` org-default-notes-file David Maus
2010-10-18 18:59 ` Andreas Röhler
2010-10-18 19:18 ` Andreas Röhler
[not found] ` <4CBC0BC1.40304@dayspringpublisher.com>
2010-10-18 9:09 ` org-default-notes-file Noorul Islam K M
[not found] ` <4CBC101F.3020103@dayspringpublisher.com>
2010-10-18 9:20 ` org-default-notes-file Noorul Islam K M
2010-10-18 9:53 ` org-default-notes-file Louis Turk
2010-10-18 10:03 ` org-default-notes-file Noorul Islam K M
2010-10-18 11:05 ` org-default-notes-file Louis Turk
2010-10-18 11:17 ` org-default-notes-file Noorul Islam K M
2010-10-18 11:36 ` org-default-notes-file Louis Turk
2010-10-18 17:28 ` org-default-notes-file Eric S Fraga
2010-10-18 21:10 ` org-default-notes-file Sébastien Vauban
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878w1wotrh.fsf@noorul.maa.corp.collab.net \
--to=noorul@noorul.com \
--cc=emacs-orgmode@gnu.org \
--cc=lou@dayspringpublisher.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).