From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Arntson Subject: Re: where Babel looks for binaries? Date: Sun, 17 Aug 2014 11:00:34 -0700 Message-ID: <87sikvknct.fsf@stevenarntson.com> References: <87tx5ci78d.fsf@stevenarntson.com> <87egwg6xxt.fsf@gmail.com> <871tsgxg84.fsf@stevenarntson.com> <874mxc6qi7.fsf@gmail.com> <87tx5bvrq4.fsf@stevenarntson.com> <87mwb38vnu.fsf@Rainer.invalid> <87wqa7kpee.fsf@stevenarntson.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33063) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJ4lF-0001c1-JJ for emacs-orgmode@gnu.org; Sun, 17 Aug 2014 14:01:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XJ4lA-0001Ug-AY for emacs-orgmode@gnu.org; Sun, 17 Aug 2014 14:00:57 -0400 Received: from plane.gmane.org ([80.91.229.3]:50055) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJ4l9-0001UW-QM for emacs-orgmode@gnu.org; Sun, 17 Aug 2014 14:00:51 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XJ4l8-0002RF-Ah for emacs-orgmode@gnu.org; Sun, 17 Aug 2014 20:00:50 +0200 Received: from 75-165-108-235.tukw.qwest.net ([75.165.108.235]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Aug 2014 20:00:50 +0200 Received: from steven by 75-165-108-235.tukw.qwest.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Aug 2014 20:00:50 +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 Steven Arntson writes: > Achim Gratz writes: > >> Steven Arntson writes: >>> I reverted the change to ob-lilypond.el and did as you suggested, >>> adding >>> >>> (setq ly-nix-ly-path "/usr/local/lilypond") >> >> I don't think that path points to an actual lilypond executable, but is >> rather an installation directory. Since it would seem you have lilypond >> in PATH on your system, you might rather try just "lilypond" (or check >> which lilypond you're actually using by doing a "which lilypond" on the >> command line). >> >> Regards, >> Achim. > > That did it---I changed my init.el to read: > > (setq ly-nix-ly-path "lilypond") > > And it works like a charm. 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" 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. 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.