From: Elliott Slaughter <elliottslaughter@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Bug: Symbol's value as variable is void: org-src-lang-modes
Date: Thu, 7 Sep 2017 10:37:55 -0700 [thread overview]
Message-ID: <CAJ9X=kbaYgyFxfKSEQQmohej-+=LNQ+asUFiCJOgbqBOFa7Rzw@mail.gmail.com> (raw)
In-Reply-To: <CAFyQvY1edftL0H7RLA2cXSnE015Fn-nBroPOU=T91sqjNwFTFQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1611 bytes --]
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 <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
>> 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
[-- Attachment #2: Type: text/html, Size: 2895 bytes --]
next prev parent reply other threads:[~2017-09-07 17:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-15 19:27 Bug: Symbol's value as variable is void: org-src-lang-modes Elliott Slaughter
2017-08-15 19:34 ` Elliott Slaughter
2017-08-15 20:10 ` Kaushal Modi
2017-09-07 17:37 ` Elliott Slaughter [this message]
2017-09-07 18:27 ` Kaushal Modi
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJ9X=kbaYgyFxfKSEQQmohej-+=LNQ+asUFiCJOgbqBOFa7Rzw@mail.gmail.com' \
--to=elliottslaughter@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.