Jean Abou Samra <j...@abou-samra.fr> writes: [Harm:]
>> After some further hours of work, following a different idea, it now >> displays #<Grob BarLine > (as it should). >> >> I'm not able to say what happened, I'm not able to debug because of >> that unhelpful (oh, I'm very polite this evening) guile messages, see >> the other thread. >> >> I'm overtired like hell, close to trashing the whole project, and >> close to advertising everyone to not use LilyPond for huge custom >> codings. > > > Well, how about rolling up your sleeves and working > on that issue with unhelpful messages? See also my recent > message to lilypond-devel about the need for help to > fix regressions. You are aware that you are not talking to a C++ programmer? Not exactly a motivating message under the circumstances... Would something like this be a reasonable patch?
>From 7e4ff15a40158db8fc065623fbb0f0549ba75f0c Mon Sep 17 00:00:00 2001 From: David Kastrup <d...@gnu.org> Date: Mon, 18 Jul 2022 00:38:54 +0200 Subject: [PATCH] Include "dead" in name of grobs without reflection Nothing to do with (undead) vampires: reflection means containing a type description, and `ly:grob-suicide!` removes that. --- lily/grob.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lily/grob.cc b/lily/grob.cc index 009c4de206..e014e0dc84 100644 --- a/lily/grob.cc +++ b/lily/grob.cc @@ -788,7 +788,9 @@ Grob::name () const SCM meta = get_property (this, "meta"); SCM nm = scm_assq (ly_symbol2scm ("name"), meta); nm = (scm_is_pair (nm)) ? scm_cdr (nm) : SCM_EOL; - return scm_is_symbol (nm) ? ly_symbol2string (nm) : class_name (); + return scm_is_symbol (nm) + ? ly_symbol2string (nm) + : string ("dead ").append (class_name ()); } ADD_INTERFACE (Grob, -- 2.34.1
-- David Kastrup