From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Arntson Subject: Re: where Babel looks for binaries? Date: Sat, 16 Aug 2014 14:43:55 -0700 Message-ID: <871tsgxg84.fsf@stevenarntson.com> References: <87tx5ci78d.fsf@stevenarntson.com> <87egwg6xxt.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53662) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XIlln-0004Dw-FI for emacs-orgmode@gnu.org; Sat, 16 Aug 2014 17:44:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XIlli-0001co-0K for emacs-orgmode@gnu.org; Sat, 16 Aug 2014 17:44:15 -0400 Received: from plane.gmane.org ([80.91.229.3]:50757) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XIllh-0001ck-PJ for emacs-orgmode@gnu.org; Sat, 16 Aug 2014 17:44:09 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XIllf-0007Xm-3M for emacs-orgmode@gnu.org; Sat, 16 Aug 2014 23:44:07 +0200 Received: from 97-113-58-98.tukw.qwest.net ([97.113.58.98]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 16 Aug 2014 23:44:07 +0200 Received: from steven by 97-113-58-98.tukw.qwest.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 16 Aug 2014 23:44:07 +0200 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Thorsten Jolitz writes: > Steven Arntson 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