emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: Louis Turk <lou@dayspringpublisher.com>
Cc: emacs-orgmode@gnu.org, Noorul Islam K M <noorul@noorul.com>,
	Carsten Dominik <carsten.dominik@gmail.com>
Subject: Re: org-default-notes-file
Date: Mon, 18 Oct 2010 13:54:30 +0200	[thread overview]
Message-ID: <4CBC3576.9040601@easy-emacs.de> (raw)
In-Reply-To: <4CBC2B08.1060606@dayspringpublisher.com>

Am 18.10.2010 13:10, schrieb Louis Turk:
> On 10/18/2010 05:39 PM, Andreas Röhler wrote:
>> Am 18.10.2010 11:02, schrieb Noorul Islam K M:
>>> Andreas Röhler<andreas.roehler@easy-emacs.de> writes:
>>>
>>>> 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
>>>>
>>>
>>> Strange that org-string-nw-p is not there in org-macs.el.
>>
>> Seems not that strange for me.
>>
>> git blame says,
>>
>> org-mobile.el, where it's defined, started 2009-09-15
>>
>> So vendors might not have it, it's not distributed yet maybe.
>>
>> If distributed, (require 'org-macs)
>> isn't needed BTW, because org.el already requires it then.
>>
>> So my recommendation is just to load the git-version:
>>
>> git clone git://repo.or.cz/org-mode.git
>>
>> Andreas
> Andreas,
>
> Thanks for replying.
>
> I updated using
>
> lat-a-ws% git clone git://repo.or.cz/org-mode.git
>
> but I still get the same error message.
>
> Lou
>
>
>
>
>

Hi Lou,

same here unfortunatly.
load-path displays the git-org repo, org-mode is loaded from there.

(require 'org-macs) is present there but
org-string-nw-p still unknown.

Hm, no idea ...
I'll drop Carsten a cc, maybe he knows what to do.

Andreas

  reply	other threads:[~2010-10-18 11:55 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   ` 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           ` Andreas Röhler [this message]
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=4CBC3576.9040601@easy-emacs.de \
    --to=andreas.roehler@easy-emacs.de \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=lou@dayspringpublisher.com \
    --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).