From mboxrd@z Thu Jan 1 00:00:00 1970 From: Elliott Slaughter Subject: Re: Bug: Symbol's value as variable is void: org-src-lang-modes Date: Thu, 7 Sep 2017 10:37:55 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a1134e67ebd839405589cebae" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51134) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dq0ke-0000dq-PL for emacs-orgmode@gnu.org; Thu, 07 Sep 2017 13:38:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dq0kZ-0000Y2-EE for emacs-orgmode@gnu.org; Thu, 07 Sep 2017 13:38:04 -0400 Received: from mail-oi0-x22b.google.com ([2607:f8b0:4003:c06::22b]:36103) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dq0kZ-0000XF-7y for emacs-orgmode@gnu.org; Thu, 07 Sep 2017 13:37:59 -0400 Received: by mail-oi0-x22b.google.com with SMTP id x190so2196640oix.3 for ; Thu, 07 Sep 2017 10:37:57 -0700 (PDT) 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" To: emacs-orgmode@gnu.org --001a1134e67ebd839405589cebae Content-Type: text/plain; charset="UTF-8" Hi all, I have learned (thanks to the el-get developers) that org-mode uses with-eval-after-load, which was added in Emacs 24.4. (See discussion [1].) I confirmed that the master branch of org-mode loads (via el-get) successfully in 24.4.1 and fails to load in 24.3.1. I'm not sure what the compatibility policy is in this project, and whether or not this deserves a fix. I personally can work around this by building Emacs from source on older machines, but I will need to do this on every Ubuntu 14.04 machine I use. [1]: https://github.com/dimitri/el-get/issues/2559#issuecomment-322881981 On Tue, Aug 15, 2017 at 1:10 PM, Kaushal Modi wrote: > On Tue, Aug 15, 2017 at 3:48 PM Elliott Slaughter < > elliottslaughter@gmail.com> wrote: > >> Actually, the backtrace goes through the el-get loaddefs file, so maybe >> something is going wrong there. Let me check with the el-get developers and >> see if they know what is going on. >> > > Yes, that's very likely. I have been building Org from master branch and > it has been working fine. > > C-h v org-src-lang-modes tells that it is defined in org-src.el. > > So you probably have a mixed installation where an old org-src.el is > loaded which doesn't have that variable defined. > > (I had recently written about how to install the development version of > Org without causing mixed installations: https://scripter.co/building- > org-development-version/ .) > > -- > > Kaushal Modi > -- Elliott Slaughter "Don't worry about what anybody else is going to do. The best way to predict the future is to invent it." - Alan Kay --001a1134e67ebd839405589cebae Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi all,

I have learned (thanks= to the el-get developers) that org-mode uses with-eval-after-load, which w= as added in Emacs 24.4. (See discussion [1].)

I confirmed that= the master branch of org-mode loads (via el-get) successfully in 24.4.1 an= d fails to load in 24.3.1.

I'm not sure what the compatibi= lity policy is in this project, and whether or not this deserves a fix. I p= ersonally can work around this by building Emacs from source on older machi= nes, but I will need to do this on every Ubuntu 14.04 machine I use.

On Tue, Aug 15, 2017 at 1:10 PM, Kaushal Modi <kaushal.modi@gmail.com> wrote:
On Tue, Aug 15, 2017 at 3:48 PM Elliott Slaughter <elliottslaughter@gmail.= com> wrote:
Actually, the backtrace goes through the el-get loaddefs file, so maybe so= mething is going wrong there. Let me check with the el-get developers and s= ee if they know what is going on.

<= div>Yes, that's very likely. I have been building Org from master branc= h and it has been working fine.

C-h v org-src-lang= -modes tells that it is defined in org-src.el.

So = you probably have a mixed installation where an old org-src.el is loaded wh= ich doesn't have that variable defined.

(I had= recently written about how to install the development version of Org witho= ut causing mixed installations: https://scripter.co/building-= org-development-version/=C2=A0.)

--

Kaushal Modi




--
Elliott Slaughter<= br>
"Don't worry about what anybody else is going to do. The be= st way to predict the future is to invent it." - Alan Kay
--001a1134e67ebd839405589cebae--