emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <schulte.eric@gmail.com>
To: Thorsten Jolitz <tjolitz@googlemail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] `org-load-noerror-mustsuffix´ is not defined, introduced by 5484a33b
Date: Mon, 14 Jan 2013 23:07:06 -0700	[thread overview]
Message-ID: <87txqjkmid.fsf@gmail.com> (raw)
In-Reply-To: <87k3rfcjyb.fsf@googlemail.com> (Thorsten Jolitz's message of "Tue, 15 Jan 2013 02:29:32 +0100")

Thorsten Jolitz <tjolitz@googlemail.com> writes:

> Eric Schulte <schulte.eric@gmail.com> 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
>

Org-mode is built into Emacs, so there will be an Org-mode in the load
path from the moment Emacs starts.  This is not a problem in and of
itself.

The important thing is to put the path to the Org-mode you want to use
on the front of the load path (either with the command line flag above
or with an `add-to-list' in your config) *before* the first time
Org-mode is required with a (require 'org).  That should be sufficient.

-- 
Eric Schulte
http://cs.unm.edu/~eschulte

  reply	other threads:[~2013-01-15  6:07 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-10 16:08 [BUG] `org-load-noerror-mustsuffix´ is not defined, introduced by 5484a33b Eric Schulte
2013-01-10 16:29 ` Bastien
2013-01-10 16:38   ` Eric Schulte
2013-01-10 17:09     ` Bastien
2013-01-10 17:29       ` Eric Schulte
2013-01-10 17:44         ` Nick Dokos
2013-01-10 18:13           ` Eric Schulte
2013-01-10 18:44             ` Bastien
2013-01-10 19:28               ` Eric Schulte
2013-01-10 20:05                 ` Bastien
2013-01-10 21:12                   ` Eric Schulte
2013-01-10 22:24                     ` Eric Schulte
2013-01-10 22:45                       ` Nick Dokos
2013-01-10 23:05                       ` Bastien
2013-01-10 23:44                         ` Eric Schulte
2013-01-11  7:04                           ` Bastien
2013-01-11 12:28                             ` Bastien
2013-01-11 15:41                               ` Eric Schulte
2013-01-11 16:31                                 ` Bastien
2013-01-11 16:50                                 ` Achim Gratz
2013-01-11 16:40                               ` Achim Gratz
2013-01-11 16:58                                 ` Bastien
2013-01-11 17:04                                   ` Achim Gratz
2013-01-11 17:23                                     ` Bastien
2013-01-11 19:30                                       ` Achim Gratz
2013-01-11 20:19                                         ` Eric Schulte
2013-01-11 20:48                                           ` Achim Gratz
2013-01-12  6:57                                           ` Bastien
2013-01-12  6:56                                         ` Bastien
2013-01-12  7:44                                           ` Achim Gratz
2013-01-12  8:40                                             ` Bastien
2013-01-12 10:27                                               ` Achim Gratz
2013-01-12 11:03                                         ` Achim Gratz
2013-01-12 13:35                                           ` Bastien
2013-01-12 15:49                                             ` Achim Gratz
2013-01-12 16:06                                               ` Bastien
2013-01-12 16:17                                                 ` Achim Gratz
2013-01-12 16:12                                               ` Bastien
2013-01-12 16:24                                                 ` Achim Gratz
2013-01-11  9:12                           ` Achim Gratz
2013-01-10 23:27                       ` Stelian Iancu
2013-01-10 23:27                       ` Stelian Iancu
2013-01-10 20:09                 ` Achim Gratz
2013-01-10 22:30                   ` Eric Schulte
2013-01-10 22:55                     ` Nick Dokos
2013-01-11  8:58                     ` Achim Gratz
2013-01-10 19:37             ` Nick Dokos
2013-01-10 19:47 ` Achim Gratz
2013-01-13 22:08   ` Thorsten Jolitz
2013-01-13 23:06     ` Stelian Iancu
2013-01-13 23:22       ` Thorsten Jolitz
2013-01-14 21:44         ` Eric Schulte
2013-01-15  1:29           ` Thorsten Jolitz
2013-01-15  6:07             ` Eric Schulte [this message]
2013-01-15 11:31               ` Thorsten Jolitz
2013-01-15 12:22                 ` Nick Dokos
2013-01-15 13:36                   ` Thorsten Jolitz
2013-01-15 13:49                     ` Nick Dokos
2013-01-15 18:58                 ` Achim Gratz
2013-01-15 20:17                   ` Thorsten Jolitz

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=87txqjkmid.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=tjolitz@googlemail.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).