all messages for Emacs-related lists mirrored at yhetil.org
 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: Sat, 16 Aug 2014 14:43:55 -0700	[thread overview]
Message-ID: <871tsgxg84.fsf@stevenarntson.com> (raw)
In-Reply-To: 87egwg6xxt.fsf@gmail.com

Thorsten Jolitz <tjolitz@gmail.com> writes:

> Steven Arntson <steven@stevenarntson.com> writes:
>
>> I'm using org-babel to enter lilypond code for music typesetting. I had
>> an old version of lilypond from the Ubuntu repos installed in
>> /usr/bin. This worked, but the version was getting old. I installed the
>> latest stable version from the lilypond.org website, and it ended up in
>> /usr/local. I removed (apt-get remove) the repo version. Now when I do
>> ly-tangle, I get:
>>
>> ly-compile-lilyfile: Searching for program: no such file or directory,
>> /usr/bin/lilypond
>>
>> I tried to "customize-variable" on "ly-compile-lilyfile" but there's
>> no match.
>>
>> How do I change where org looks for this program?
>
> Maybe
>
> ,----[ C-h v ly-nix-ly-path RET ]
> | ly-nix-ly-path is a variable defined in `ob-lilypond.el'.
> | Its value is "/usr/bin/lilypond"
> | 
> | Documentation:
> | Not documented as a variable.
> | 
> | [back]
> `----
>
> ?

I changed ly-nix-ly-path in ob-lilypond.el to "/usr/local/lilypond". I
restarted emacs, ran "ly-tangle" and again got the message of "no such
file or directory, /usr/bin/lilypond." But my change is still there in
the file, so it must be looking somewhere else, too?

I also wonder: is it a good idea for me to be meddling in a file like
"ob-lilypond"? Will any changes I make be reverted when I get an update
from the emacs package manager?

I am a beginner here, so thank you for your help!
-steven

  reply	other threads:[~2014-08-16 21:44 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 [this message]
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

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=871tsgxg84.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 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.