emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: emacs-orgmode@gnu.org
Cc: Noorul Islam K M <noorul@noorul.com>
Subject: Re: Re: org-default-notes-file
Date: Mon, 18 Oct 2010 10:45:02 +0200	[thread overview]
Message-ID: <4CBC090E.50503@easy-emacs.de> (raw)
In-Reply-To: <878w1wotrh.fsf@noorul.maa.corp.collab.net>

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

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	other threads:[~2010-10-18  8:46 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 ` org-default-notes-file Noorul Islam K M
2010-10-18  8:45   ` Andreas Röhler [this message]
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=4CBC090E.50503@easy-emacs.de \
    --to=andreas.roehler@easy-emacs.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=noorul@noorul.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).