Re: music-function for ending TextSpanners sometimes fail for skip-events

2018-10-25 Thread David Kastrup
Thomas Morley writes: > I'm tempted to create a patch along these lines. > Though, there is no other usage of 'music-clone' in our code-base, afaict. > It's far to useful to risk someone deletes it lateron regarding it as > unused function. Its functionality is rather similar to ly:music-deep-co

Re: music-function for ending TextSpanners sometimes fail for skip-events

2018-10-25 Thread Thomas Morley
Am Mi., 24. Okt. 2018 um 16:00 Uhr schrieb David Kastrup : > > Thomas Morley writes: > > > Am Mi., 24. Okt. 2018 um 01:07 Uhr schrieb David Kastrup : > >> > >> Thomas Morley writes: > >> > >> > Am Di., 23. Okt. 2018 um 23:54 Uhr schrieb David Kastrup : > >> > > >> >> So you should figure out what

Re: music-function for ending TextSpanners sometimes fail for skip-events

2018-10-24 Thread David Kastrup
Thomas Morley writes: > Am Mi., 24. Okt. 2018 um 01:07 Uhr schrieb David Kastrup : >> >> Thomas Morley writes: >> >> > Am Di., 23. Okt. 2018 um 23:54 Uhr schrieb David Kastrup : >> > >> >> So you should figure out what your comparison as equal is supposed to be >> >> doing in the first place. >>

Re: music-function for ending TextSpanners sometimes fail for skip-events

2018-10-24 Thread Thomas Morley
Am Mi., 24. Okt. 2018 um 01:07 Uhr schrieb David Kastrup : > > Thomas Morley writes: > > > Am Di., 23. Okt. 2018 um 23:54 Uhr schrieb David Kastrup : > > > >> So you should figure out what your comparison as equal is supposed to be > >> doing in the first place. > > > > Yep, that's the culprit. >

Re: music-function for ending TextSpanners sometimes fail for skip-events

2018-10-23 Thread David Kastrup
Thomas Morley writes: > Am Di., 23. Okt. 2018 um 23:54 Uhr schrieb David Kastrup : > >> So you should figure out what your comparison as equal is supposed to be >> doing in the first place. > > Yep, that's the culprit. > > So the question is how to find the last rhythmic event of a > music-expres

Re: music-function for ending TextSpanners sometimes fail for skip-events

2018-10-23 Thread Thomas Morley
Am Di., 23. Okt. 2018 um 23:54 Uhr schrieb David Kastrup : > So you should figure out what your comparison as equal is supposed to be > doing in the first place. Yep, that's the culprit. So the question is how to find the last rhythmic event of a music-expression and place <>\stopTextSpan right

Re: music-function for ending TextSpanners sometimes fail for skip-events

2018-10-23 Thread David Kastrup
Thomas Morley writes: > Although it needs further testing I already found a glitch I really > can't explain or cope with: Sometimes, when the TextSpanner is > attached to skip-events, ending them gets confused. It sometimes can > be cured, if the skips are devided, i.e. s2 becomes s4 s4. > So why

music-function for ending TextSpanners sometimes fail for skip-events

2018-10-23 Thread Thomas Morley
Hi, for some reason I wanted a music-function which should end a TextSpanner automagically at the next event which starts a new TextSpanner or the last possible event at all. Although it needs further testing I already found a glitch I really can't explain or cope with: Sometimes, when the TextSp