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

Issue 7742044: Make a PostEvents container class for packaging several postevents (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 1 month ago by dak
Modified:
11 years, 1 month ago
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Make a PostEvents container class for packaging several postevents Previously it was not possible to assign multiple postevents to a single variable or pass them as the result of an event function. This patch wraps multiple events in such situations inside of a PostEvents post-event and unwraps them when used again in the parser. Defuse some open parens starting lines in strings in define-music-types.scm Those confuse Emacs' heuristics and make it harder to edit subsequent Scheme.

Patch Set 1 #

Patch Set 2 : Rebasing too complex for pushing without additional testing. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -8 lines) Patch
M lily/parser.yy View 1 2 chunks +37 lines, -4 lines 0 comments Download
M scm/define-music-types.scm View 1 2 chunks +10 lines, -4 lines 2 comments Download

Messages

Total messages: 8
lemzwerg
LGTM. The combination `\' `\n' `\(' is probably worth a comment in the contributors' manual.
11 years, 1 month ago (2013-03-16 19:19:57 UTC) #1
dak
On 2013/03/16 19:19:57, lemzwerg wrote: > LGTM. The combination `\' `\n' `\(' is probably worth ...
11 years, 1 month ago (2013-03-16 20:51:05 UTC) #2
janek
LGTM
11 years, 1 month ago (2013-03-17 16:37:19 UTC) #3
dak
Rebasing too complex for pushing without additional testing.
11 years, 1 month ago (2013-03-23 20:36:32 UTC) #4
Ian Hulin (gmail)
On 2013/03/16 20:51:05, dak wrote: > On 2013/03/16 19:19:57, lemzwerg wrote: > > LGTM. The ...
11 years, 1 month ago (2013-03-24 13:16:20 UTC) #5
Ian Hulin (gmail)
LGTM bar a nit-pick with the doc-string in define-music-types.scm. Sorry for the previous message without ...
11 years, 1 month ago (2013-03-24 13:20:15 UTC) #6
dak
https://codereview.appspot.com/7742044/diff/5001/scm/define-music-types.scm File scm/define-music-types.scm (right): https://codereview.appspot.com/7742044/diff/5001/scm/define-music-types.scm#newcode77 scm/define-music-types.scm:77: \n(no direction specified), and where @code{y} is an articulation\ ...
11 years, 1 month ago (2013-03-24 13:36:42 UTC) #7
Ian Hulin (gmail)
11 years, 1 month ago (2013-03-25 11:52:13 UTC) #8
On 2013/03/24 13:36:42, dak wrote:
> https://codereview.appspot.com/7742044/diff/5001/scm/define-music-types.scm
> File scm/define-music-types.scm (right):
> 
>
https://codereview.appspot.com/7742044/diff/5001/scm/define-music-types.scm#n...
> scm/define-music-types.scm:77: \n(no direction specified), and where @code{y}
is
> an articulation\
> On 2013/03/24 13:20:15, Ian Hulin (gmail) wrote:
> > "\n(no direction specified or @code{-}), and when @code{y} is an
> articulation\"
> 
> I did not actually change this documentation string, only formatted it
> differently to stop it from throwing the whole Emacs indentation/highlighting
> engine off.  And @code{-} _does_ not specify a direction but merely is a
> syntactic marker not actually related to ArticulationEvent itself.
> 
> The whole documentation string is only so-so accurate (for example, one
_can't_
> have x = ^ and y "such as" -.) and the proposed change is more or less from
> inaccurate to inaccurate without a real incremental improvement.
> 
> Now this patch has already been committed and this change is a separate commit
> "Defuse some open parens starting lines...".  I don't consider it worth
> reverting (and getting back the Emacs-confusing strings), but it would
certainly
> warrant a more accurate rewrite.  The proposed change in wording is not really
> an improvement, however.

Agreed.  In that case LGTM.
Cheers,
Ian
Sign in to reply to this message.

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