emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Web site bug


From: Bastien
Subject: Re: [O] Web site bug
Date: Sat, 27 Oct 2012 09:33:26 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux)

Hi Simon,

Simon Thum <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]