From mboxrd@z Thu Jan 1 00:00:00 1970 From: aitor Subject: Re: "Symbol's function definition is void: org-string-nw-p" Date: Tue, 27 Mar 2012 11:33:09 +0200 Message-ID: <20120327093309.GA23184@sipc87.si.ehu.es> References: <1332773051.2404.32.camel@ascraeus> <28187.1332774877@alphaville> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33703) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCUSv-00068S-7x for emacs-orgmode@gnu.org; Tue, 27 Mar 2012 07:21:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SCUSl-0007I4-U6 for emacs-orgmode@gnu.org; Tue, 27 Mar 2012 07:21:28 -0400 Received: from smtp.lg.ehu.es ([158.227.0.66]:47268 helo=smtp.ehu.es) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCUSl-0007G3-99 for emacs-orgmode@gnu.org; Tue, 27 Mar 2012 07:21:19 -0400 Received: from estafeta2.lgp.ehu.es (localhost.localdomain [127.0.0.1]) by smtp.ehu.es (8.14.4/8.14.4) with ESMTP id q2R9X8Qu021939 for ; Tue, 27 Mar 2012 11:33:09 +0200 Content-Disposition: inline In-Reply-To: <28187.1332774877@alphaville> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nick Dokos Cc: Steven Buczkowski , emacs-orgmode@gnu.org Hi, On Mon, Mar 26, 2012 at 11:14:37AM -0400, Nick Dokos wrote: > Steven Buczkowski 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