emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Simon Thum <simon.thum@gmx.de>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Web site bug
Date: Sat, 27 Oct 2012 09:33:26 +0200	[thread overview]
Message-ID: <871ugks721.fsf@bzg.ath.cx> (raw)
In-Reply-To: <508AEB33.8050205@gmx.de> (Simon Thum's message of "Fri, 26 Oct 2012 21:57:39 +0200")

Hi Simon,

Simon Thum <simon.thum@gmx.de> writes:

> Sorry but to me this just worsens the (or my) confusion around
> org-install.
>
> In git we find this org-install.el:
>
> ;;; org-install.el --- autogenerated file, do not edit
> ;;
> ;;; Code:
> (warn "The file org-install is obsolete.
> Please change your configuration to (require 'org) instead.")

Yes, this was confusing.  I updated this file like this

  ;;; org-install.el --- backward compatibility file for obsolete configuration
  ;;
  ;;; Code:
  (warn "The file org-install is obsolete.
  It is provided here so that (require 'org-install) does not
  trigger an error for users with obsolete Emacs configuration.
  You can safely remove (require 'org-install) from your config.")
  
  (provide 'org-install)
  
  ;; Local Variables:
  ;; no-byte-compile: t
  ;; coding: utf-8
  ;; End:
  ;;; org-install.el ends here

I hope it is clearer.

> Apart from it not being autogenerated, it's confusing that I should use
> org instead.

Indeed.  The main message is: you don't need (require 'org-install)
anymore.  It used to be needed to get the correct autoloads but it is
not anymore, as autoloads are taken from org-autoloads.el, which is
either provided (in the distrib tar.gz/zip archives) or dynamically
generated (from "make").

> Which is the recommended thing in what setup? If ELPA needs not even 'org,
> which AFAIK is not the case, then what? And what about git installs?

If you use Org from Emacs, you don't need anything.

If you use Org from the distribution archives, you need to add the
directory with the extracted directory in your load-path and to add
(require 'org) after adding the Org directory to the load-path.

If you use Org from git, you need the above plus runing "make" or
"make autoloads" so that the correct autoloads are loaded.

If you use Org from ELPA, you just need to add (package-initialize)
before any Org configuration of the type (setq org-* ...).

> I guess I'm wholly confused now.

I hope I helped to clarify things.

I also remove any reference to org-install in
http://orgmode.org/elpa.html since the ELPA archive is produced
from maint, which is >7.9.2 anyway.

Thanks for the heads up,

-- 
 Bastien

  reply	other threads:[~2012-10-27  7:33 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-24 20:36 Web site bug Simon Thum
2012-10-24 22:42 ` Bastien
2012-10-26 19:57   ` Simon Thum
2012-10-27  7:33     ` Bastien [this message]
2012-10-27  8:54       ` Sebastien Vauban
2012-10-27  9:06         ` Bastien
2012-10-28  7:36           ` Achim Gratz
2012-10-28 10:29             ` Bastien
2012-10-28 16:12               ` Achim Gratz
2012-10-29  6:57                 ` Bastien
2012-10-29  7:29                   ` Achim Gratz
2012-10-29  7:33                     ` Bastien
2012-10-29  7:48                       ` Achim Gratz
2012-10-29  8:56                       ` Eric S Fraga
2012-10-29  6:56               ` Bastien
2012-10-29  7:02                 ` Achim Gratz
2012-10-29  7:07                   ` Bastien
2012-10-27 16:15       ` Simon Thum
2012-10-27 19:37         ` Bastien
2012-10-27  8:01     ` Achim Gratz
2012-10-27  8:28       ` Bastien
2012-10-27 11:11         ` Achim Gratz
  -- strict thread matches above, loose matches on Subject: below --
2010-07-20 16:11 web " Robert Klein
2010-07-25 16:26 ` David Maus

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=871ugks721.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=simon.thum@gmx.de \
    /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).