Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(16623)

Issue 6812088: Allow (closed) scheme function calls as text scripts. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 5 months ago by dak
Modified:
11 years, 4 months ago
CC:
lilypond-devel_gnu.org
Base URL:
http://git.savannah.gnu.org/gitweb/?p=lilypond.git/trunk/
Visibility:
Public.

Description

Allow (closed) scheme function calls as text scripts. This allows, for example, things like arrow = #(define-scheme-function (parser location arg) (pair?) #{ \markup { \line { \draw-line #arg \arrow-head #X #RIGHT ##t } } #}) \score { \new Staff { c4_\arrow #'(10 . 0) } } which, as contrasted to markup commands, is more compact to use.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M lily/parser.yy View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6
lemzwerg
Very nice!
11 years, 5 months ago (2012-11-05 22:40:36 UTC) #1
thomasmorley65
On 2012/11/05 22:40:36, lemzwerg wrote: > Very nice! Can't review the code. But from description: ...
11 years, 5 months ago (2012-11-05 22:45:06 UTC) #2
dak
On 2012/11/05 22:45:06, thomasmorley65 wrote: > On 2012/11/05 22:40:36, lemzwerg wrote: > > Very nice! ...
11 years, 5 months ago (2012-11-05 23:18:45 UTC) #3
janek
On 2012/11/05 22:45:06, thomasmorley65 wrote: > On 2012/11/05 22:40:36, lemzwerg wrote: > > Very nice! ...
11 years, 5 months ago (2012-11-08 08:28:40 UTC) #4
dak
On 2012/11/08 08:28:40, janek wrote: > On 2012/11/05 22:45:06, thomasmorley65 wrote: > > On 2012/11/05 ...
11 years, 5 months ago (2012-11-08 09:27:53 UTC) #5
janek
11 years, 5 months ago (2012-11-09 09:49:14 UTC) #6
Hi David,

On Thu, Nov 8, 2012 at 9:27 AM,  <dak@gnu.org> wrote:
> [snip detailed explanation]

thanks for explaining and sorry for not looking this up myself - i'm
short on time and thus i do all reviews in a hurry...

> The commit message might be misleading, however, since it sounds like it
> is touting a fundamental new feature.  What this is is more like putting
> another piece in place for the general idea of "strings/markups can be
> submitted like any Scheme expression would".  It is more like plugging
> an oversight rather than adding something new.

Ok, i see your point.  However, since original author of that code did
it wrong, i still believe that it'd be good to make information about
it somewhat more visible, so that other people could learn from that
mistake.  You may just dump this info into GC miscellaneous.

Anyway, feel free to do whatever you decide, and LGTM :)
Janek
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b