Ah, yes, this is a file that you can create yourself. It is one of the places where emacs will look for initial settings. And what others have said concerning .ly and .ily files is correct.
Hwaen Ch'uqi On Thu, Sep 25, 2025 at 2:46 PM Paul Scott <[email protected]> wrote: > > On 9/24/25 3:34 PM, Hwaen Ch'uqi wrote: > > Greetings, Paul, > > In my .emacs file, I have the following lines: > > At least in my home directory, I don't have a .emacs file. > > Paul > > (add-to-list 'load-path "/usr/share/emacs/site-lisp/") > (autoload 'LilyPond-mode "lilypond-mode") > (setq auto-mode-alist > (cons '("\\.ly$" . LilyPond-mode) auto-mode-alist)) > (add-hook 'LilyPond-mode-hook (lambda () (turn-on-font-lock))) > (put 'narrow-to-region 'disabled nil) > > The first line reflects where lilypond's emacs-mode files were located on > my system. Yours may be somewhere else. I hope this helps. > > Hwaen Ch'uqi > > > On Wed, Sep 24, 2025 at 4:31 PM Paul Scott <[email protected]> > wrote: > >> I would appreciate some help installing Emacs mode. >> >> I have been successful before. >> >> I'm looking at: >> >> https://lilypond.org/doc/v2.25/Documentation/usage/emacs-mode >> >> and not quite understanding it. >> >> TIA for more help, >> >> Paul >> >> >> >>
