From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Web site bug Date: Sat, 27 Oct 2012 09:33:26 +0200 Message-ID: <871ugks721.fsf@bzg.ath.cx> References: <5088513F.7000202@gmx.de> <87k3ufwkyr.fsf@bzg.ath.cx> <508AEB33.8050205@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35850) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TS0tJ-0004Wv-4I for emacs-orgmode@gnu.org; Sat, 27 Oct 2012 03:33:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TS0tH-0003gw-Ue for emacs-orgmode@gnu.org; Sat, 27 Oct 2012 03:33:09 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:49615) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TS0tH-0003gl-Nf for emacs-orgmode@gnu.org; Sat, 27 Oct 2012 03:33:07 -0400 Received: by mail-we0-f169.google.com with SMTP id u3so2015478wey.0 for ; Sat, 27 Oct 2012 00:33:06 -0700 (PDT) In-Reply-To: <508AEB33.8050205@gmx.de> (Simon Thum's message of "Fri, 26 Oct 2012 21:57:39 +0200") 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: Simon Thum Cc: emacs-orgmode Hi Simon, Simon Thum 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