From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rusi Newsgroups: gmane.emacs.help Subject: Re: Impossible to set org mode variable Date: Fri, 17 Jan 2014 18:38:51 -0800 (PST) Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1390012812 17048 80.91.229.3 (18 Jan 2014 02:40:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Jan 2014 02:40:12 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 18 03:40:20 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W4Lpb-0002XG-OI for geh-help-gnu-emacs@m.gmane.org; Sat, 18 Jan 2014 03:40:19 +0100 Original-Received: from localhost ([::1]:40964 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4Lpb-0006PM-9K for geh-help-gnu-emacs@m.gmane.org; Fri, 17 Jan 2014 21:40:19 -0500 X-Received: by 10.182.251.230 with SMTP id zn6mr2051056obc.14.1390012731971; Fri, 17 Jan 2014 18:38:51 -0800 (PST) X-Received: by 10.50.29.146 with SMTP id k18mr33886igh.10.1390012731912; Fri, 17 Jan 2014 18:38:51 -0800 (PST) Original-Path: usenet.stanford.edu!6no15900443qao.1!news-out.google.com!gg4ni7357qab.0!nntp.google.com!p15no20237317qaj.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=59.95.24.139; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui Original-NNTP-Posting-Host: 59.95.24.139 User-Agent: G2/1.0 Injection-Date: Sat, 18 Jan 2014 02:38:51 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:203200 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:95469 Archived-At: On Saturday, January 18, 2014 3:30:58 AM UTC+5:30, Suvayu Ali wrote: > 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. Of course. Is it possible to use recent org without shadowing? > Again how you > are installing Org matters. To verify the shadowing possibility > checkout this FAQ: Ok -- looked at that again. 1. Looked at all the shadows. As far as I can see in all cases my local org shadows the system one 2. Looked at org-version: It shows as ---------------- org-version is a variable defined in `org.el'. Its value is "8.2.5e" This variable may be risky if used as a file-local variable. Documentation: Not documented as a variable. ---------------- This looks a little suspect because it matches neither the good nor the bad in the wiki you linked!! How I am installing org: 1. use git 2. make update 3. Point load path to the git-download-dir/lisp >From the make helpall output make autoloads - create org-loaddefs.el to load Org in-place I assume that using org 'in-place' is allowable and legitimate? Also the first line of the build system http://orgmode.org/worg/dev/org-build-system.html says http://orgmode.org/worg/dev/org-build-system.html Org can be run directly from sources but... Maybe the but is a big but!?