--- Begin Message ---
Subject: |
org-babal-lilypond fontification error |
Date: |
Fri, 19 May 2023 00:17:03 +0200 |
Date: Fri, 19 May 2023 00:15:42 +0200
References: <87y1m477kt.fsf@jonas-damm.de>
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
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#63579: org-babal-lilypond fontification error |
Date: |
Fri, 19 May 2023 13:59:52 +0300 |
> Cc: 63579@debbugs.gnu.org
> From: Ihor Radchenko <yantar92@posteo.net>
> 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.
--- End Message ---