Re: Emacs setup

2024-07-05 Thread Kenneth Flak
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" writes: > For me on Arch, I have to do this in my emacs init file: > (autoload 'LilyPond-mode "lilypond-mode") > (se

Re: Emacs setup

2024-07-05 Thread Immanuel Litzroth
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 wrote: > Thanks a lot, Ben! This seems to work very nice

Re: Emacs setup

2024-07-05 Thread Ben Bradshaw
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 hav

Re: Emacs setup

2024-07-05 Thread Kenneth Flak
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

Re: Emacs setup

2024-07-05 Thread Ben Bradshaw
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 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

Re: Emacs setup

2024-07-05 Thread Laurie Savage
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 2

Re: Emacs setup

2024-07-05 Thread Ben Bradshaw
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 wrote: > I've fiddled with Emacs and Lilypond but it didn't

Re: Emacs setup

2024-07-05 Thread Laurie Savage
Thanks Ben, I added this stanza to my emacs.init and it loaded my includes with their .ily extension, although I needed to specify their full path which is unnecessary in Frescobaldi once you've edited its preferences. (setq auto-mode-alist (cons '("\\.ily$" . LilyPond-mode) auto-mode-alist