From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Arntson Subject: Re: org-babel and lilypond broken after update Date: Tue, 09 Sep 2014 12:40:41 -0700 Message-ID: <87lhpsbn0m.fsf@stevenarntson.com> References: <87bnqpclx3.fsf@stevenarntson.com> <8738c07tj3.fsf@Rainer.invalid> <87tx4gbr9t.fsf@stevenarntson.com> <87y4ts63r7.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47497) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRRHv-00079R-6q for emacs-orgmode@gnu.org; Tue, 09 Sep 2014 15:41:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XRRHp-0008Dy-Vv for emacs-orgmode@gnu.org; Tue, 09 Sep 2014 15:41:15 -0400 Received: from plane.gmane.org ([80.91.229.3]:52506) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRRHp-0008Ds-P4 for emacs-orgmode@gnu.org; Tue, 09 Sep 2014 15:41:09 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XRRHn-0008Qd-5t for emacs-orgmode@gnu.org; Tue, 09 Sep 2014 21:41:07 +0200 Received: from 97-113-57-213.tukw.qwest.net ([97.113.57.213]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Sep 2014 21:41:07 +0200 Received: from steven by 97-113-57-213.tukw.qwest.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Sep 2014 21:41: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 Achim Gratz writes: > Steven Arntson writes: >> org-babel-lilypond-compile-lilyfile: Searching for program: no such >> file >> or directory, /usr/bin/lilypond >> >> because I installed lilypond into /usr/local/lilypond/usr/bin. I tried >> "M-x customize-group lilypond RET" and "M-x describe function" but >> couldn't solve the problem. > > There's no customize interface in the version of Org you are using. > Just setq the variable org-babel-lilypond-nix-ly-path. This worked perfectly---thank you! >> 2. Since "org-babel-lilypond-tangle" is less convenient to type than >> "ly-tangle" I think I should bind a key to it. I've never done >> that---are there are any guidelines out there to keep newbies from >> mucking things up? > > You don't need to since org-babel-tangle knows to call this function on > lilypond blocks and is already bound to a key: > > http://orgmode.org/manual/Extracting-source-code.html > When I invoke "C-c C-v t" the minibuffer gives a result of "Tangled 0 code blocks from filename". I added a header of ":tangle yes" to every code block, and then I get "Tangled 3 code blocks" but I don't get the output of MIDI playback and PDF update that I'm accustomed to. Invoking "M-x org-babel-lilypond-tangle" still produces that. Is there a way to get that behavior from "C-c C-v t"? Thank you for your help! Best, steven