* org-babel and lilypond broken after update
@ 2014-09-09 7:06 Steven Arntson
2014-09-09 8:13 ` Thorsten Jolitz
2014-09-09 14:33 ` Achim Gratz
0 siblings, 2 replies; 7+ messages in thread
From: Steven Arntson @ 2014-09-09 7:06 UTC (permalink / raw)
To: emacs-orgmode
<I also posted this in emacs.help, then thought it might be better here.>
I'm an enthusiastic and error-prone new user of emacs (24.3.1) and
org-babel (org 8.2.7c). I've been using lilypond mode in the context of
org-mode documents, using the command "ly-tangle" to typeset music into
midi and pdf files. It's been working great for the past few weeks,
until today ...
I updated some packages through the package manager, including org and
org-plus-contrib, and now "M-x ly-" gives "[no match]" in the
minibuffer. I didn't mess with my .emacs at all, which contains these
lines:
;; ==== lilypond ====
(autoload 'LilyPond-mode "lilypond-mode")
(org-babel-do-load-languages
'org-babel-load-languages
'(
(emacs-lisp . t)
(sh t)
(org t)
(latex . t)
(lilypond t)))
(setq ly-arrange-mode t)
(setq ly-nix-ly-path "lilypond")
I'm wondering if I put something somewhere that got clobbered when the
new versions installed in my .emacs.d/elpa folder. Or if the new version
might have a bug. Thank you, if you have any help for me!
-Steven
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: org-babel and lilypond broken after update
2014-09-09 7:06 org-babel and lilypond broken after update Steven Arntson
@ 2014-09-09 8:13 ` Thorsten Jolitz
2014-09-09 14:33 ` Achim Gratz
1 sibling, 0 replies; 7+ messages in thread
From: Thorsten Jolitz @ 2014-09-09 8:13 UTC (permalink / raw)
To: emacs-orgmode
Steven Arntson <steven@stevenarntson.com> writes:
> <I also posted this in emacs.help, then thought it might be better here.>
have a look there for my answer
--
cheers,
Thorsten
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: org-babel and lilypond broken after update
2014-09-09 7:06 org-babel and lilypond broken after update Steven Arntson
2014-09-09 8:13 ` Thorsten Jolitz
@ 2014-09-09 14:33 ` Achim Gratz
2014-09-09 17:46 ` Steven Arntson
2014-09-09 18:08 ` Steven Arntson
1 sibling, 2 replies; 7+ messages in thread
From: Achim Gratz @ 2014-09-09 14:33 UTC (permalink / raw)
To: emacs-orgmode
Steven Arntson writes:
> I updated some packages through the package manager, including org and
> org-plus-contrib, and now "M-x ly-" gives "[no match]" in the
> minibuffer. I didn't mess with my .emacs at all, which contains these
> lines:
The prefix has been changed from ly- to org-babel-lilypond- in order to
keep it in the right namespace.
> (setq ly-nix-ly-path "lilypond")
With the next release these variables will go away and the corresponding
settings will become customizable.
> I'm wondering if I put something somewhere that got clobbered when the
> new versions installed in my .emacs.d/elpa folder. Or if the new version
> might have a bug. Thank you, if you have any help for me!
BTW, you should not install both org and org-plus-contrib. Use the
latter if you need something from contrib, otherwsie use just plain org,
but never both.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
Factory and User Sound Singles for Waldorf rackAttack:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: org-babel and lilypond broken after update
2014-09-09 14:33 ` Achim Gratz
@ 2014-09-09 17:46 ` Steven Arntson
2014-09-09 18:08 ` Steven Arntson
1 sibling, 0 replies; 7+ messages in thread
From: Steven Arntson @ 2014-09-09 17:46 UTC (permalink / raw)
To: emacs-orgmode
Achim Gratz <Stromeko@nexgo.de> writes:
>
> BTW, you should not install both org and org-plus-contrib. Use the
> latter if you need something from contrib, otherwsie use just plain org,
> but never both.
>
>
> Regards,
> Achim.
Thanks for this---it's like the 4th time I've been doing the same thing
in two similar ways with emacs. I guess I'm a "belt and suspenders" kind
of guy. I think I'll uninstall "org-plus-contrib" since I can't remember
why I started using it.
Thank you!
steven
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: org-babel and lilypond broken after update
2014-09-09 14:33 ` Achim Gratz
2014-09-09 17:46 ` Steven Arntson
@ 2014-09-09 18:08 ` Steven Arntson
2014-09-09 18:35 ` Achim Gratz
1 sibling, 1 reply; 7+ messages in thread
From: Steven Arntson @ 2014-09-09 18:08 UTC (permalink / raw)
To: emacs-orgmode
Achim Gratz <Stromeko@nexgo.de> writes:
>
>> (setq ly-nix-ly-path "lilypond")
>
> With the next release these variables will go away and the corresponding
> settings will become customizable.
Two followup questions:
1. Now when I run "M-x org-babel-lilypond-tangle" I get
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.
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?
Thank you very much for your help!
steven
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: org-babel and lilypond broken after update
2014-09-09 18:08 ` Steven Arntson
@ 2014-09-09 18:35 ` Achim Gratz
2014-09-09 19:40 ` Steven Arntson
0 siblings, 1 reply; 7+ messages in thread
From: Achim Gratz @ 2014-09-09 18:35 UTC (permalink / raw)
To: emacs-orgmode
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.
> 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
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: org-babel and lilypond broken after update
2014-09-09 18:35 ` Achim Gratz
@ 2014-09-09 19:40 ` Steven Arntson
0 siblings, 0 replies; 7+ messages in thread
From: Steven Arntson @ 2014-09-09 19:40 UTC (permalink / raw)
To: emacs-orgmode
Achim Gratz <Stromeko@nexgo.de> 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
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-09-09 19:41 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-09 7:06 org-babel and lilypond broken after update Steven Arntson
2014-09-09 8:13 ` Thorsten Jolitz
2014-09-09 14:33 ` Achim Gratz
2014-09-09 17:46 ` Steven Arntson
2014-09-09 18:08 ` Steven Arntson
2014-09-09 18:35 ` Achim Gratz
2014-09-09 19:40 ` Steven Arntson
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.