From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Suvayu Ali Newsgroups: gmane.emacs.help Subject: Re: Impossible to set org mode variable Date: Sat, 18 Jan 2014 11:35:00 +0100 Message-ID: <20140118103500.GO2646@kuru.dyndns-at-home.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1390041330 15147 80.91.229.3 (18 Jan 2014 10:35:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Jan 2014 10:35:30 +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 11:35:38 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 1W4TFY-0000KX-1q for geh-help-gnu-emacs@m.gmane.org; Sat, 18 Jan 2014 11:35:36 +0100 Original-Received: from localhost ([::1]:41863 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4TFX-00046a-HH for geh-help-gnu-emacs@m.gmane.org; Sat, 18 Jan 2014 05:35:35 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59525) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4TF8-000449-Ut for help-gnu-emacs@gnu.org; Sat, 18 Jan 2014 05:35:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W4TF3-0003eb-SO for help-gnu-emacs@gnu.org; Sat, 18 Jan 2014 05:35:10 -0500 Original-Received: from mail-ee0-x233.google.com ([2a00:1450:4013:c00::233]:55882) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4TF3-0003br-Ky for help-gnu-emacs@gnu.org; Sat, 18 Jan 2014 05:35:05 -0500 Original-Received: by mail-ee0-f51.google.com with SMTP id b57so2545581eek.10 for ; Sat, 18 Jan 2014 02:35:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=ibhrQAqeYlu2INwqxIrH0+yOKtQ9HslW6G84NPY311Y=; b=hFlyVCGtDoqCW8qfLAWVcW4Lnybh/Jgr2WlbMnnRzQNytZJJXQ33yrr0n4mSO4Fiuv 1VtMQM+jVR7mrMzWgJPNCWpAk9zt1xnUKD9eEMIB6b9ksLvlVbfn4flWIAAC7ILvxHFV w7Y1fAw5QJCNSDhuaPwlbBE92XnKCbNyQPpR306shLCrZM77sy2nF2EmwsbGy3Y+eyw1 aG6Rs08uCMLvM1MZM1DrfBH3fZyAwsTa+X2ZYf7Ng8jgYu3ubCws1baiHK88TnqpgXFy ot0tczs1XJaNUqmkwauWrvuQ5fwd2foLLhhcY07FQkeH4sjeCgFFGfzrWo/spEoQ57G6 vDPg== X-Received: by 10.14.209.129 with SMTP id s1mr7500041eeo.21.1390041304700; Sat, 18 Jan 2014 02:35:04 -0800 (PST) Original-Received: from kuru.dyndns-at-home.com (sd44012d5.adsl.online.nl. [212.64.18.213]) by mx.google.com with ESMTPSA id m47sm34107599eey.7.2014.01.18.02.35.02 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 18 Jan 2014 02:35:03 -0800 (PST) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.22.1-rc1 (2013-10-16) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c00::233 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:95475 Archived-At: Hi, On Fri, Jan 17, 2014 at 06:38:51PM -0800, Rusi wrote: > On Saturday, January 18, 2014 3:30:58 AM UTC+5:30, Suvayu Ali wrote: > > > 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? Sorry, I mistyped slightly. It should be incomplete shadowing; I explain below. > > 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 Are there any system Org libraries *not* shadowed? That would be make this a typical mixed install problem. All the old libraries should be shadowed by the newer vesion. So if "new" is a superset, you are good. If there is an overlap, but not all, something is wrong. > 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!! Indeed. My Org as shipped with Emacs is 8.2.5.c (I updated yesterday). Where as my Org from git is 8.2.5f (release_8.2.5f-511-gbf304c). I updated Org yesterday. $ git describe release_8.2.5f-511-gbf304c3 > 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? > I do that myself. $ git pull --rebase $ make compile autoloads info # similar to update, I use this for historical reasons Then point to the path in my init.el. This last bit, you should do very early in your init file. Here is my setup to give you an idea (see line 18): . You can ignore the kill-old-org bit, it is experimental. > 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!? Well I think now there is a target (make uncompiled) just to make it easier to run from sources. Many of the devs prefer this, creates nicer backtraces. -- Suvayu Open source is the future. It sets us free.