|
From: | Auto mailings of changes to Lily Issues via Testlilyissues-auto |
Subject: | [Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #5145 Allow $... to specify a markup command |
Date: | Tue, 13 Jun 2017 07:54:31 +0000 |
Diff:
Passes make, make check and a full make doc
[issues:#5145] Allow $... to specify a markup command
Status: Started
Created: Mon Jun 12, 2017 03:16 PM UTC by David Kastrup
Last Updated: Mon Jun 12, 2017 03:17 PM UTC
Owner: David Kastrup
Allow $... to specify a markup command
This is a partial (though more flexible) substitute for \on-the-fly
since it allows to replace
\on-the-fly #(lambda (layout props args) ...)
with
$(let ((fun (lambda (layout props args) ...)))
(set! (markup-command-signature fun) (list markup?))
fun)
Namely: ad-hoc written functions (probably most useful when written
using macros) can be employed as markup commands when preceded with $
as long as they have a suitable markup command signature attached.
This feature is mainly added for consistency with music functions.
Lexer: factor out push_markup_predicates
http://codereview.appspot.com/322090043
Sent from sourceforge.net because address@hidden is subscribed to https://sourceforge.net/p/testlilyissues/issues/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Testlilyissues-auto mailing list address@hidden https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto
[Prev in Thread] | Current Thread | [Next in Thread] |