From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: Customize group, strange behaviour of group org export latex Date: Mon, 11 Nov 2013 11:30:57 +0100 Message-ID: <20131111103057.GA24924@kuru.dyndns-at-home.com> References: <527D45FE.1010608@gmail.com> <20131109171253.GA25022@kuru.dyndns-at-home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49376) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vfolr-0001VX-S2 for emacs-orgmode@gnu.org; Mon, 11 Nov 2013 05:31:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vfolq-0005he-GT for emacs-orgmode@gnu.org; Mon, 11 Nov 2013 05:31:03 -0500 Received: from mail-ea0-x22d.google.com ([2a00:1450:4013:c01::22d]:50967) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vfolq-0005hP-9J for emacs-orgmode@gnu.org; Mon, 11 Nov 2013 05:31:02 -0500 Received: by mail-ea0-f173.google.com with SMTP id g10so2595004eak.4 for ; Mon, 11 Nov 2013 02:31:01 -0800 (PST) Received: from kuru.dyndns-at-home.com ([2001:610:120:3001:f2de:f1ff:fe37:c76c]) by mx.google.com with ESMTPSA id u46sm61003351eep.17.2013.11.11.02.30.59 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Nov 2013 02:31:00 -0800 (PST) Content-Disposition: inline In-Reply-To: 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 Hello Rasmus, On Mon, Nov 11, 2013 at 09:32:06AM +0000, Rasmus Rempling wrote: > Suvayu Ali gmail.com> writes: > > > > > I believe this comes from the Org shipped with your version of Emacs. > > What is your Emacs version? What does org-version tell you *before* you > > load Org or open an .org file? I bet it is 7.xx or older. > > Before loading an org-file the versions are: > GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10), Org-mode > version 8.2.2 (release_8.2.2-181-gf31eb4 > > and after loading an org-file > GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10), Org-mode > version 8.2.2 (release_8.2.2-181-gf31eb4 Org is often loaded before opening any .org files. This depends on your setup (i.e. your init file). In your init file if you do something like: (require 'org) (my-custom-stuff) Org is already loaded by the time Emacs starts. > I get the strange behaviour with this versions. And I cant see why this > would be an issue. > > But of course if I exclude the load path to the git version in my .emacs I > get (before and after loading an org-file): > GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10), Org-mode > version 6.33x. > > Are you referring to that the version 6.33 is interfering with the 8.2.2 > version, even though I am loading version 8.2.2 in my .emacs? Yes. This version of Org mode has variables that are not present in the latest Org. So in the customise menu you see a mix of all. You can verify this by doing `C-h v org-export-latex-classes RET'. The help buffer should tell you which file defines the variable; if I am right, it should point to the Org bundled with Emacs. There is an expreimental recipe by Achim to kill these deprecated variables. You can find it here: Note that the above snippet should be loaded before you load the latest Org: see lines 16-18 in Hope this helps, -- Suvayu Open source is the future. It sets us free.