emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Steven Arntson <steven@stevenarntson.com>
To: emacs-orgmode@gnu.org
Subject: Re: where Babel looks for binaries?
Date: Sun, 17 Aug 2014 14:20:28 -0700	[thread overview]
Message-ID: <871tsehkyr.fsf@stevenarntson.com> (raw)
In-Reply-To: 87a9737zm4.fsf@Rainer.invalid

Achim Gratz <Stromeko@nexgo.de> writes:

> Steven Arntson writes:
>> I've stumbled straight into another issue. ly-tangle now works, but when
>> I try to invoke lilypond-mode in my org document by typing C-c ' in a
>> code block, I now get:
>>
>> Language mode `lilypond-mode' fails with: "Cannot open load file"
>
> This tells you that you haven't lilypond-mode installed or your Emacs
> can't find it.  Lilypond is not a standard mode that gets delivered with
> Emacs, you have to install it seperately.  Since you said it worked
> earlier for you, do
>
> M-x locate-library lilypond-mode
>
> in the _old_ Emacs installation to find out where it is installed, then
> copy it over to where the new Emacs is looking for it.
>
>> I did "which lilypond" in the terminal and retrieved the path
>> "/usr/local/bin/lilypond" and replaced that in my init.el, viz:
>>
>> (setq ly-nix-ly-path "/usr/local/bin/lilypond")
>>
>> After this, "ly-tangle" still works perfectly, and C-c ' still doesn't.
>
> This doesn't have anything to do with the issue you're having.
>
>> On a hunch, I went to look at "org-babel-load-languages," but the
>> customize interface here doesn't seem to offer the ability to change
>> where the system looks for the language.
>
> You don't need to look there, either.
>
>
> Regards,
> Achim.

I couldn't remember how I got lilypond-mode working when I first
installed it, but I found the web page I'd used before:

http://www.geoffhorton.com/lilymacs.html

I think what I'd done was pointed emacs at the lilypond-mode files in
/usr/bin/lilypond (or somewherelike) instead of copying those files to
~/.emacs.d. So when I removed the original installation, the library
disappeared, too.

I've got it all working again now, and copied the files into my home
directory's .emacs.d, so hopefully my next upgrade will be easier.

Thank you!
steven

      reply	other threads:[~2014-08-17 21:20 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-16 19:07 where Babel looks for binaries? Steven Arntson
2014-08-16 19:23 ` Thorsten Jolitz
2014-08-16 21:43   ` Steven Arntson
2014-08-16 22:04     ` Thorsten Jolitz
2014-08-17  1:18       ` Steven Arntson
2014-08-17  1:30         ` Thorsten Jolitz
2014-08-17  1:47           ` Steven Arntson
2014-08-17  1:59             ` Thorsten Jolitz
2014-08-17  6:41         ` Achim Gratz
2014-08-17 17:16           ` Steven Arntson
2014-08-17 18:00             ` Steven Arntson
2014-08-17 18:14               ` Achim Gratz
2014-08-17 21:20                 ` Steven Arntson [this message]

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871tsehkyr.fsf@stevenarntson.com \
    --to=steven@stevenarntson.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).