emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: aitor <aitors2005@gmail.com>
To: Nick Dokos <nicholas.dokos@hp.com>
Cc: Steven Buczkowski <steven.buczkowski@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: "Symbol's function definition is void: org-string-nw-p"
Date: Tue, 27 Mar 2012 11:33:09 +0200	[thread overview]
Message-ID: <20120327093309.GA23184@sipc87.si.ehu.es> (raw)
In-Reply-To: <28187.1332774877@alphaville>

Hi,

On Mon, Mar 26, 2012 at 11:14:37AM -0400, Nick Dokos wrote:
> Steven Buczkowski <steven.buczkowski@gmail.com> wrote:
> 
> ...
> Yup: apt-get will get you an ancient org-mode release.
> 
> You probably ended up with a "frankenstein" org-mode install with bits
> and pieces coming from various places: I'd suggest doing "apt-get remove
> org-mode" to get rid of the ancient version and then reinstalling from
> the tar file - or, perhaps even better, the git repository: most of us
> have found that staying on the bleeding edge is a rewarding experience
> (even if an occasionally bloody :-) one - but that happens only
> rarely). And even if you run into trouble, with git it is easy to
> backtrack and use an official release.  Make sure to follow to the
> letter the installation instructions in the manual in these cases.

I had the same problem on ubuntu. What I did was:

- I get org-mode from git and install it in my ~/emacs/org-mode directory. 

$ cd ~/src/org-mode
$ make SHELL=/bin/bash prefix=/home/aitor/emacs/org-mode
$ make SHELL=/bin/bash prefix=/home/aitor/emacs/org-mode install

- In my .emacs, I have this:

(defun remove-org-dirs (dirs)
  "remove all list elements containing the matching '/org$'"
    (let ((result))
      (dolist (dir dirs)
        (unless (string-match "org\\'" dir)
          (setq result (cons dir result))))
      (nreverse result)))

(setq load-path (cons "~/emacs/org-mode/share/emacs/site-lisp"
		      (cons "~/emacs/org-contrib/lisp"
			    (remove-org-dirs load-path))))

The "remove-org-dirs" function removes any system directory for "org"
and thus makes sure that my copy of org-mode gets loaded.

Hope this helps,

                                        aitor

      parent reply	other threads:[~2012-03-27 11:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-26 14:44 "Symbol's function definition is void: org-string-nw-p" Steven Buczkowski
2012-03-26 15:14 ` Nick Dokos
2012-03-26 15:50   ` Steven Buczkowski
2012-03-26 17:07     ` Bastien
2012-03-27  9:33   ` aitor [this message]

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=20120327093309.GA23184@sipc87.si.ehu.es \
    --to=aitors2005@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.com \
    --cc=steven.buczkowski@gmail.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).