Subject: bug#63579: closed (Re: bug#63579: org-babal-lilypond fontification error)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 19 May 2023 11:00:02 +0000

Your bug report

#63579: org-babal-lilypond fontification error

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
63579: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63579
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#63579: org-babal-lilypond fontification error
From: Eli Zaretskii <[email-masked]>
To: Ihor Radchenko <[email-masked]>
Cc: [email-masked], [email-masked]
Date: Fri, 19 May 2023 13:59:52 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

> Cc: [email-masked]
> From: Ihor Radchenko <[email-masked]>
> Date: Fri, 19 May 2023 09:09:02 +0000
> 
> This is a problem with lilypond:
> 
> Debugger entered--Lisp error: (void-variable font-lock-reference-face)
>   (eval font-lock-reference-face t)
>   (#f(compiled-function (highlight) "Apply HIGHLIGHT following a match.\nHIGHLIGHT should be of the form MATCH-HIGHLIGHT, see `font-lock-keywords'." #<bytecode -0xf53eae0ec5f928c>) (0 font-lock-reference-face t))
>   (font-lock-fontify-keywords-region 1 42 nil)
>   (font-lock-default-fontify-region 1 42 nil)
>   (font-lock-fontify-region 1 42)
>   (#f(compiled-function (beg end) #<bytecode -0x19f31ec42bd98447>) 1 42)
>   (font-lock-ensure)
> 
> `font-lock-reference-face' is an obsolete variable that has been removed
> in Emacs 29.
> 
> Please report this issue to Lilypond developers. See
> https://lilypond.org/bug-reports.html

Thanks for investigating; I'm therefore closing this bug.

Subject: org-babal-lilypond fontification error
From: Jonas Damm <[email-masked]>
To: [email-masked]
Date: Fri, 19 May 2023 00:17:03 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Date: Fri, 19 May 2023 00:15:42 +0200
References: <[email-masked]>
User-agent: mu4e 1.8.13; emacs 29.0.91
Example:

Hi,
I am using org-babel to create music sheets with lilypond.
For some reason the fontification is not working anymore:

[2. text/x-org]
#+begin_src lilypond

  \relative c' {
    c d e f g
    }

#+end_src

[3. text/plain]
The syntax highlighting breaks when entering the "{". The error is:

Org mode fontification error in #<buffer dreiklang_improvisation.org> at 80
(80 is the line with #+end_src)

GNU Emacs 29.0.90 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.37, cairo version 1.16.0) of 2023-04-26
Org mode version 9.6.4 (release_9.6.4-9-g8eb209 @ /usr/local/share/emacs/29.0.90/lisp/org/)
GNU LilyPond 2.24.1 (running Guile 2.2)

Thanks for any help.
Regards,
Jonas