emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Customize group, strange behaviour of group org export latex
Date: Mon, 11 Nov 2013 11:30:57 +0100	[thread overview]
Message-ID: <20131111103057.GA24924@kuru.dyndns-at-home.com> (raw)
In-Reply-To: <loom.20131111T102501-144@post.gmane.org>

Hello Rasmus,

On Mon, Nov 11, 2013 at 09:32:06AM +0000, Rasmus Rempling wrote:
> Suvayu Ali <fatkasuvayu+linux <at> 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:

<https://github.com/suvayu/.emacs.d/blob/master/kill-old-org.el>

Note that the above snippet should be loaded before you load the latest
Org: see lines 16-18 in

<https://github.com/suvayu/.emacs.d/blob/master/init.el>

Hope this helps,

-- 
Suvayu

Open source is the future. It sets us free.

      reply	other threads:[~2013-11-11 10:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-08 20:13 Customize group, strange behaviour of group org export latex Rasmus Rempling
2013-11-09 17:12 ` Suvayu Ali
2013-11-11  9:32   ` Rasmus Rempling
2013-11-11 10:30     ` Suvayu Ali [this message]

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=20131111103057.GA24924@kuru.dyndns-at-home.com \
    --to=fatkasuvayu+linux@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).