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 14:20:28 -0700 Message-ID: <871tsehkyr.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> <87sikvknct.fsf@stevenarntson.com> <87a9737zm4.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55634) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJ7sg-0002s0-M3 for emacs-orgmode@gnu.org; Sun, 17 Aug 2014 17:20:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XJ7sb-0000Ds-EC for emacs-orgmode@gnu.org; Sun, 17 Aug 2014 17:20:50 -0400 Received: from plane.gmane.org ([80.91.229.3]:46752) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJ7sb-0000Do-7B for emacs-orgmode@gnu.org; Sun, 17 Aug 2014 17:20:45 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XJ7sZ-0000j0-8p for emacs-orgmode@gnu.org; Sun, 17 Aug 2014 23:20:43 +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 23:20:43 +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 23:20:43 +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 Achim Gratz 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