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

Issue 280510043: Store accidental styles in an alist

Can't Edit
Can't Publish+Mail
Start Review
Created:
8 years, 4 months ago by simon.albrecht
Modified:
8 years, 4 months ago
Reviewers:
pkx, dak
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Store accidental styles in an alist This rewrites the way how accidental styles are stored and accessed. Previously the two were mangled in the set-accidental-style procedure so that adding custom styles required complete redefinition of this procedure and copying all the existing definitions. Now, the actual specifications of accidental styles are stored in the 'accidental-styles' alist, and the set-accidentals-properties and set-accidental-style procedures have been replaced by a single procedure, which reads from that alist and sets the context properties accordingly.

Patch Set 1 #

Patch Set 2 : Sorry, first time something went wrong. #

Total comments: 1

Patch Set 3 : Use define-session-public as per David’s comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -169 lines) Patch
M scm/music-functions.scm View 1 2 2 chunks +151 lines, -169 lines 0 comments Download

Messages

Total messages: 8
simon.albrecht
Sorry, first time something went wrong.
8 years, 4 months ago (2015-12-21 19:09:21 UTC) #1
simon.albrecht
Sorry that this is such a large and convoluted patch. It had to be done ...
8 years, 4 months ago (2015-12-21 19:18:39 UTC) #2
dak
https://codereview.appspot.com/280510043/diff/20001/scm/music-functions.scm File scm/music-functions.scm (right): https://codereview.appspot.com/280510043/diff/20001/scm/music-functions.scm#newcode1702 scm/music-functions.scm:1702: (define-public accidental-styles The only rationale for making this a ...
8 years, 4 months ago (2015-12-22 14:39:59 UTC) #3
simon.albrecht
Use define-session-public as per David’s comment
8 years, 4 months ago (2015-12-22 21:00:58 UTC) #4
simon.albrecht
On 22.12.2015 15:39, dak@gnu.org wrote: > https://codereview.appspot.com/280510043/diff/20001/scm/music-functions.scm#newcode1702 > > scm/music-functions.scm:1702: (define-public accidental-styles > The only ...
8 years, 4 months ago (2015-12-22 23:36:14 UTC) #5
pkx
Simon, On 22/12/15 23:36, Simon Albrecht wrote: > On 22.12.2015 15:39, dak@gnu.org wrote: >> https://codereview.appspot.com/280510043/diff/20001/scm/music-functions.scm#newcode1702 ...
8 years, 4 months ago (2015-12-23 13:52:53 UTC) #6
simon.albrecht
On 23.12.2015 14:52, James wrote: > Simon, > > On 22/12/15 23:36, Simon Albrecht wrote: ...
8 years, 4 months ago (2015-12-23 23:48:36 UTC) #7
pkx
8 years, 4 months ago (2015-12-24 09:17:34 UTC) #8
Simon,

On 23/12/15 23:48, Simon Albrecht wrote:
> On 23.12.2015 14:52, James wrote:
>> Simon,
>>
>> On 22/12/15 23:36, Simon Albrecht wrote:
>>> On 22.12.2015 15:39, dak@gnu.org wrote:
>>>>
https://codereview.appspot.com/280510043/diff/20001/scm/music-functions.scm#n...
>>>>
>>>>
>>>> scm/music-functions.scm:1702: (define-public accidental-styles
>>>> The only rationale for making this a public variable is if the user is
>>>> expected to be able to change that variable.  But in that case, the
>>>> settings will bleed over into the next file on the command line if the
>>>> variable is not declared using define-session-public instead.
>>> Thanks for the hint. New patchset uploaded.
>>> Yours, Simon
>> I'm starting to lose track.
>>
>> Is this a patch set that has or has not been tested?
>
> It has not, at least not in the version with define-session-public
> (set 3). Although this is the only change and I might assume that no
> extra testing is needed for this – I trust David that it’s fine. And
> perhaps the difference wouldn’t even be covered by testing? Dunno.
>
>>
>> Are you using git-cl to upload the patch - else the Allura patch level
>> will not change and it will not get re-tested as I filter on any
>> 'patch-new' and 'Started' Allura issues for testing.
>
> Yes, I’m using git-cl and I noticed there was an error message about
> how it failed to edit Patch status in Allura. I’ll do so manually in
> future – or, Phil, can you fix this?

Did you git pull recently to get the latest updates that Phil has
checked in (there have been 3 or 4 in the last month or so).

I think this issue looks like git-cl commit
a15e752cf4d42abc61b741ec8c8fafc94fe4d913 - Set updated issues to patch new

James
Sign in to reply to this message.

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