From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: =?UTF-8?B?UmU6IFtCVUddIGBvcmctbG9hZC1ub2Vycm9yLW11c3RzdWZmaXg=?= =?UTF-8?B?wrQgaXMgbm90IGRlZmluZWQsIGludHJvZHVjZWQgYnkgNTQ4NGEzM2I=?= Date: Tue, 15 Jan 2013 02:29:32 +0100 Message-ID: <87k3rfcjyb.fsf@googlemail.com> References: <87a9sh3tsp.fsf@gmail.com> <878v80g6qu.fsf@Rainer.invalid> <8738y4ohx7.fsf@googlemail.com> <87wqvgmzxc.fsf@googlemail.com> <87vcazfnhi.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52885) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TuvLc-0007zH-GJ for emacs-orgmode@gnu.org; Mon, 14 Jan 2013 20:29:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TuvLb-0002zv-E6 for emacs-orgmode@gnu.org; Mon, 14 Jan 2013 20:29:52 -0500 Received: from plane.gmane.org ([80.91.229.3]:58889) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TuvLb-0002zo-6o for emacs-orgmode@gnu.org; Mon, 14 Jan 2013 20:29:51 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TuvLn-00009i-Qr for emacs-orgmode@gnu.org; Tue, 15 Jan 2013 02:30:03 +0100 Received: from g231235047.adsl.alicedsl.de ([92.231.235.47]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 Jan 2013 02:30:03 +0100 Received: from tjolitz by g231235047.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 Jan 2013 02:30:03 +0100 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: emacs-orgmode@gnu.org Eric Schulte writes: > If you are using the starter-kit, then Org-mode is required as the first > step of your Emacs initialization. This is necessary so that the > `org-babel-load-file' function can be used to load your customization > from .org files. In this case the best (only) way to ensure that the > most recent version of Org-mode is loaded is to add the path to your > Org-mode install to the emacs command line with something like the > following. > > emacs --eval "(add-to-list 'load-path \"~/src/org-mode/lisp/\")" > > This may be simplified with a command line alias like the following. > > alias emacs="emacs --eval '(add-to-list (quote load-path) \"~/src/org-mode/lisp/\")'" > > When I find time I plan to add this to the starter-kit documentation. That would be a good idea, I remember having exactly that problem in the past using the starter-kit, but I worked it out somehow. At the moment I seem to have a more basic problem, since starting with emacs -Q the system knows about the org directory: M-x locate-library RET org.el: Library is file /usr/share/emacs/24.2/lisp/org/lisp/org.el which is a symlink to /home/tj/gitclone/org-mode/lisp/org.el: /usr/share/emacs/24.2/lisp: drwxr-xr-x 2 root root 4096 18. Nov 08:40 obsolete lrwxrwxrwx 1 root root 26 30. Apr 2012 org -> /home/tj/gitclone/org-mode -rw-r--r-- 1 root root 10926 23. Aug 07:33 outline.el.gz -rw-r--r-- 1 root root 35745 24. Aug 11:58 outline.elc but when I try to load org.el (e.g. from dired) I get an error. Evaluating (load-library "org.el") in the *scratch* buffer gave me a better error message than before, so the problems seems to be in line 16185-16186 in org.el: (org-define-obsolete-function-alias 'org-days-to-time 'org-time-stamp-to-now "24.3") Debugger entered--Lisp error: (void-function org-define-obsolete-function-alias) (org-define-obsolete-function-alias (quote org-days-to-time) (quote org-time-stamp-to-now) "24.3") eval-buffer(# nil "/usr/share/emacs/24.2/lisp/org/lisp/org.el" nil t) ; Reading at buffer position 623963 load-with-code-conversion("/usr/share/emacs/24.2/lisp/org/lisp/org.el" "/usr/share/emacs/24.2/lisp/org/lisp/org.el" nil nil) load("org.el") load-library("org.el") eval((load-library "org.el") nil) eval-last-sexp-1(t) eval-last-sexp(t) eval-print-last-sexp() call-interactively(eval-print-last-sexp nil nil) (symbol-file 'org-mode) "/home/tj/gitclone/org-mode/lisp/org-loaddefs.el" but (symbol-file 'org-define-obsolete-function-alias) nil -- cheers, Thorsten