----- Original Message -----
From: "Simon Albrecht" <simon.albre...@mail.de>
To: "David Kastrup" <d...@gnu.org>; "Phil Holmes" <m...@philholmes.net>
Cc: <lilypond-devel@gnu.org>
Sent: Monday, June 13, 2016 11:40 PM
Subject: Re: Scheme question
On 13.06.2016 20:55, David Kastrup wrote:
So you probably want
testy = #(define-music-function (note)
(ly:music?)
(make-relative (note) note
#{
\tag #'a { $note }
\tag #'b { $note }
#}))
This uses just "note" as the expression affecting \relative, but places
two separate copies of the once-affected note in your tags.
Expressed differently: the whole concept of \relative sucks.
Expressed still another way: the concept of \relative, while convenient
for music entry in most situations, may sometimes have complex
implications, e.g. when used in music functions.
Best, Simon
Thanks all, for your help. My next question is on its way...
--
Phil Holmes
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel