help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Impossible to set org mode variable


From: Suvayu Ali
Subject: Re: Impossible to set org mode variable
Date: Fri, 17 Jan 2014 23:00:58 +0100
User-agent: Mutt/1.5.22.1-rc1 (2013-10-16)

Hi,

On Fri, Jan 17, 2014 at 09:58:05AM -0800, Rusi wrote:
> There is a variable org-odt-data-dir that I am trying to set for the org-mode 
> exporter to work.  However I seem to be completely unable to make a setq or 
> defvar or whatever do what it should.
> 
> Heres the scenario
> 
> emacs 23 C-h v
> ---------------
> org-odt-data-dir is a variable defined in `org-version.el'.
> Its value is "~/pdsw/org-mode/etc"
> 
> Documentation:
> The location of ODT styles.
> ------------------
> So far so good. This is what Ive set and what I want
> 
> Now emacs 24 C-h v
> ------------------
> org-odt-data-dir is a variable defined in `org-version.el'.
> Its value is "/usr/share/emacs/etc/org"
> 
> Documentation:
> The location of ODT styles.
> 
> The even weirder thing is if I click the org-version link, I see
> 
> ;;;###autoload
> (defvar org-odt-data-dir "~/pdsw/org-mode/etc"
>   "The location of ODT styles.")
> 
> Can someone explain whats going on

How do you compile Org?  As far as I'm aware, org-version.el is
autogenerated; so it would depend on how you compile Org.

That said, in my case I see consistent varlues, so I would be inclined
to think you have shadowing of Org libraries going on.  Again how you
are installing Org matters.  To verify the shadowing possibility
checkout this FAQ: <http://orgmode.org/worg/org-faq.html#mixed-install>

Hope this helps,

-- 
Suvayu

Open source is the future. It sets us free.



reply via email to

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