unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#63579: org-babal-lilypond fontification error
@ 2023-05-18 22:17 Jonas Damm
  2023-05-19  9:09 ` Ihor Radchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Jonas Damm @ 2023-05-18 22:17 UTC (permalink / raw)
  To: 63579

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






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#63579: org-babal-lilypond fontification error
  2023-05-18 22:17 bug#63579: org-babal-lilypond fontification error Jonas Damm
@ 2023-05-19  9:09 ` Ihor Radchenko
  2023-05-19 10:59   ` Eli Zaretskii
  2023-05-19 15:17   ` Jonas Damm
  0 siblings, 2 replies; 4+ messages in thread
From: Ihor Radchenko @ 2023-05-19  9:09 UTC (permalink / raw)
  To: Jonas Damm; +Cc: 63579

Jonas Damm <mailing@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>





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#63579: org-babal-lilypond fontification error
  2023-05-19  9:09 ` Ihor Radchenko
@ 2023-05-19 10:59   ` Eli Zaretskii
  2023-05-19 15:17   ` Jonas Damm
  1 sibling, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2023-05-19 10:59 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: 63579-done, mailing

> 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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#63579: org-babal-lilypond fontification error
  2023-05-19  9:09 ` Ihor Radchenko
  2023-05-19 10:59   ` Eli Zaretskii
@ 2023-05-19 15:17   ` Jonas Damm
  1 sibling, 0 replies; 4+ messages in thread
From: Jonas Damm @ 2023-05-19 15:17 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: 63579

Thank you, I did.
Ihor Radchenko <yantar92@posteo.net> writes:

> Jonas Damm <mailing@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






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-05-19 15:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-18 22:17 bug#63579: org-babal-lilypond fontification error Jonas Damm
2023-05-19  9:09 ` Ihor Radchenko
2023-05-19 10:59   ` Eli Zaretskii
2023-05-19 15:17   ` Jonas Damm

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).