GNU bug report logs - #63579
org-babal-lilypond fontification error

Previous Next

Package: emacs;

Reported by: Jonas Damm <mailing <at> jonas-damm.de>

Date: Fri, 19 May 2023 04:00:04 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 63579 in the body.
You can then email your comments to 63579 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#63579; Package emacs. (Fri, 19 May 2023 04:00:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jonas Damm <mailing <at> jonas-damm.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 19 May 2023 04:00:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jonas Damm <mailing <at> jonas-damm.de>
To: bug-gnu-emacs <at> gnu.org
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 <at> 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





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#63579; Package emacs. (Fri, 19 May 2023 09:06:02 GMT) Full text and rfc822 format available.

Message #8 received at 63579 <at> debbugs.gnu.org (full text, mbox):

From: Ihor Radchenko <yantar92 <at> posteo.net>
To: Jonas Damm <mailing <at> jonas-damm.de>
Cc: 63579 <at> debbugs.gnu.org
Subject: Re: bug#63579: org-babal-lilypond fontification error
Date: Fri, 19 May 2023 09:09:02 +0000
Jonas Damm <mailing <at> jonas-damm.de> writes:

> 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

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

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Fri, 19 May 2023 11:00:01 GMT) Full text and rfc822 format available.

Notification sent to Jonas Damm <mailing <at> jonas-damm.de>:
bug acknowledged by developer. (Fri, 19 May 2023 11:00:02 GMT) Full text and rfc822 format available.

Message #13 received at 63579-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ihor Radchenko <yantar92 <at> posteo.net>
Cc: 63579-done <at> debbugs.gnu.org, mailing <at> jonas-damm.de
Subject: Re: bug#63579: org-babal-lilypond fontification error
Date: Fri, 19 May 2023 13:59:52 +0300
> Cc: 63579 <at> debbugs.gnu.org
> From: Ihor Radchenko <yantar92 <at> 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#63579; Package emacs. (Fri, 19 May 2023 15:19:02 GMT) Full text and rfc822 format available.

Message #16 received at 63579 <at> debbugs.gnu.org (full text, mbox):

From: Jonas Damm <mailing <at> jonas-damm.de>
To: Ihor Radchenko <yantar92 <at> posteo.net>
Cc: 63579 <at> debbugs.gnu.org
Subject: Re: bug#63579: org-babal-lilypond fontification error
Date: Fri, 19 May 2023 17:17:58 +0200
Thank you, I did.
Ihor Radchenko <yantar92 <at> posteo.net> writes:

> Jonas Damm <mailing <at> jonas-damm.de> writes:
>
>> 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
>
> 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





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 17 Jun 2023 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 314 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.