lilypond mode is not included in emacs by default (at least not up until 30
prerelease).
What is included in org mode is support for org mode lilypond blocks:

> ./lisp/org/ob-lilypond.el

but that don't get you very far without lilypond and it's mode.
Immanuel

On Sat, Jul 6, 2024 at 4:09 AM Ben Bradshaw <bleeding.fl...@gmail.com>
wrote:

> My recollection is that lilypond mode is included by default in emacs now.
> I think you should just have to load the library. Have you tried the
> settings from a few messages ago in this thread?
>
> On Fri, Jul 5, 2024, 8:05 PM Laurie Savage <savage.lau...@gmail.com>
> wrote:
>
>> I've fiddled with Emacs and Lilypond but it didn't find my includes files
>> that I keep in a directory in my /home directory. I tried setting that
>> through the settings buffer for Lilypond mode but it obviously didn't take.
>>
>> Has anybody found a video tutorial showing its use?
>>
>> Laurie
>>
>>
>> On Sat, 6 Jul 2024 at 06:49, Ben Bradshaw <bleeding.fl...@gmail.com>
>> wrote:
>>
>>> Yeah pdf-tools is a good way to view PDFs within emacs. You can install
>>> it from the emacs package manager.
>>>
>>> On Fri, Jul 5, 2024, 1:41 PM Kenneth Flak <kennethf...@protonmail.com>
>>> wrote:
>>>
>>>> Aha, getting closer! This is all very helpful. I suspect I'm still
>>>> missing a couple of pieces of the puzzle, but I'm getting
>>>> something out of xpdf. I still need to figure out what/how this
>>>> whole pdf-tools thing is all about, though. Displaying pdfs inside
>>>> emacs, perhaps?
>>>>
>>>> Best,
>>>> K
>>>>
>>>> "Ben Bradshaw" <bleeding.fl...@gmail.com> writes:
>>>>
>>>> > Welcome to emacs, where hackish is normal ;) I did get point and
>>>> > click, basically by following the GNOME settings on this page
>>>> >
>>>> https://lilypond.org/doc/v2.23/Documentation/usage/configuring-the-system-for-point-and-click
>>>> > I had to do that even though I'm not using GNOME or a DE at
>>>> > all. You don't have to use pdf-tools (although I agree with
>>>> > Immanuel it is
>>>> > very good and you probably want it) but I got it working in both
>>>> > zathura and xpdf as well.
>>>> >
>>>> > I did have one caveat, it seems I need to open the pdf in
>>>> > zathura manually instead of using emacs C-c C-c menu. I haven't
>>>> > tried it with
>>>> > pdf-tools yet, so maybe that's just a zathura thing. If you get
>>>> > lilypond-invoke-editor errors it may be that.
>>>> >
>>>> > On Fri, Jul 5, 2024 at 4:25 AM Immanuel Litzroth
>>>> > <immanuel.litzr...@gmail.com> wrote:
>>>> >
>>>> >  I posted a message a while back to get point-and-click +preview
>>>> >  working
>>>> >  in emacs a while back. It was titled "Point an Click & emacs",
>>>> >  it requires
>>>> >  pdf-tools -- which you want anyway :-)
>>>> >  greetz,
>>>> >  i
>>>> >
>>>> >  On Fri, Jul 5, 2024 at 9:18 AM Kenneth Flak
>>>> >  <kennethf...@protonmail.com> wrote:
>>>> >
>>>> >  Thanks a lot, Ben! This seems to work very nicely indeed
>>>> >  (although
>>>> >  a bit on the hacky side ;-))
>>>> >
>>>> >  Did you get point-and-click working by any chance?
>>>> >
>>>> >  Best,
>>>> >  Kenneth
>>>> >
>>>> >  "Ben Bradshaw" <bleeding.fl...@gmail.com> writes:
>>>> >
>>>> >  > For me on Arch, I have to do this in my emacs init file:
>>>> >  > (autoload 'LilyPond-mode "lilypond-mode")
>>>> >  > (setq auto-mode-alist
>>>> >  >       (cons '("\\.ly$" . LilyPond-mode) auto-mode-alist))
>>>> >  > (setq auto-mode-alist
>>>> >  >       (cons '("\\.lyi$" . LilyPond-mode) auto-mode-alist))
>>>> >  >
>>>> >  > (add-hook 'LilyPond-mode-hook (lambda ()
>>>> >  > (turn-on-font-lock)))
>>>> >  >
>>>> >  > On Thu, Jul 4, 2024 at 12:50 PM Gilles Sadowski
>>>> >  > <gillese...@gmail.com> wrote:
>>>> >  >
>>>> >  >  Hello.
>>>> >  >
>>>> >  >  Le jeu. 4 juil. 2024 à 17:05, Kenneth Flak
>>>> >  >  <kennethf...@protonmail.com> a écrit :
>>>> >  >  >
>>>> >  >  > "Kenneth Flak" <kennethf...@protonmail.com> writes:
>>>> >  >  >
>>>> >  >  > Sorry, forgot to add subject... Still getting used to mu4e
>>>> >  >  > :-D
>>>> >  >  > Kenneth
>>>> >  >  >
>>>> >  >  > > Hi list,
>>>> >  >  > >
>>>> >  >  > > I've started learning me a bit of emacs, and I would
>>>> >  >  > > love
>>>> >  >  > > to get
>>>> >  >  > > lilypond working with it as well... However, the
>>>> >  >  > > installation
>>>> >  >  > > instructions in the documentation left me a bit
>>>> >  >  > > baffled. It
>>>> >  >  > > *seems* I should be able to just require the lilypond
>>>> >  >  > > files, as
>>>> >  >  > > they are nicely tucked away in
>>>> >  >  > > /usr/share/emacs/site-lisp. However, this doesn't do
>>>> >  >  > > much
>>>> >  >  > > for
>>>> >  >  > > me... Could someone hold my hand a little bit to get
>>>> >  >  > > this
>>>> >  >  > > set
>>>> >  >  > > up?
>>>> >  >  > > I'm on Arch Linux, using emacs 29.4.
>>>> >  >
>>>> >  >  On Debian/GNU Linux, it works "out of the box", perhaps due
>>>> >  >  to:
>>>> >  >
>>>> >  >  $ ls -l /etc/emacs/site-start.d/50lilypond-data.el
>>>> >  >  -rw-r--r-- 1 root root 185 Nov 17  2014
>>>> >  >  /etc/emacs/site-start.d/50lilypond-data.el
>>>> >  >
>>>> >  >  HTH,
>>>> >  >  Gilles
>>>> >
>>>> >  --
>>>> >  -- A man must either resolve to point out nothing new or to
>>>> >  become a slave to defend it. -- Sir Isaac Newton
>>>>
>>>>

-- 
-- A man must either resolve to point out nothing new or to become a slave
to defend it. -- Sir Isaac Newton

Reply via email to