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

Issue 122750044: Rename calc-property-by-copy to copy-property-from-event

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 9 months ago by janek
Modified:
9 years, 9 months ago
Reviewers:
dak
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Rename calc-property-by-copy to copy-property-from-event The old name was totally non-informative. Btw, does this require a convert-ly rule? It seems quite internal.

Patch Set 1 #

Patch Set 2 : alias for old name #

Total comments: 1

Patch Set 3 : use simpler syntax #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -16 lines) Patch
M scm/define-grobs.scm View 3 chunks +14 lines, -14 lines 0 comments Download
M scm/output-lib.scm View 1 2 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 12
dak
It's a public function, so a convert-rule seems prudent to do. Purely internal functions are ...
9 years, 9 months ago (2014-08-01 19:30:45 UTC) #1
dak
On 2014/08/01 19:30:45, dak wrote: > It's a public function, so a convert-rule seems prudent ...
9 years, 9 months ago (2014-08-01 19:31:40 UTC) #2
janek
alias for old name
9 years, 9 months ago (2014-08-02 10:29:33 UTC) #3
janek
On 2014/08/01 19:31:40, dak wrote: > On 2014/08/01 19:30:45, dak wrote: > > It's a ...
9 years, 9 months ago (2014-08-02 10:33:01 UTC) #4
dak
https://codereview.appspot.com/122750044/diff/20001/scm/output-lib.scm File scm/output-lib.scm (right): https://codereview.appspot.com/122750044/diff/20001/scm/output-lib.scm#newcode1114 scm/output-lib.scm:1114: (export grob::calc-property-by-copy) You can just use define-public here. It ...
9 years, 9 months ago (2014-08-02 14:36:37 UTC) #5
janek
use simpler syntax
9 years, 9 months ago (2014-08-02 18:32:41 UTC) #6
dak
On 2014/08/02 18:32:41, janek wrote: > use simpler syntax Looks good. Looking at the name ...
9 years, 9 months ago (2014-08-02 18:51:36 UTC) #7
janek
2014-08-02 20:51 GMT+02:00 <dak@gnu.org>: > Looks good. Looking at the name grob::copy-property-from-event, I think > ...
9 years, 9 months ago (2014-08-07 19:40:37 UTC) #8
dak
On 2014/08/07 19:40:37, janek wrote: > 2014-08-02 20:51 GMT+02:00 <mailto:dak@gnu.org>: > > Looks good. Looking ...
9 years, 9 months ago (2014-08-08 14:10:18 UTC) #9
dak
On 2014/08/08 14:10:18, dak wrote: > On 2014/08/07 19:40:37, janek wrote: > > 2014-08-02 20:51 ...
9 years, 9 months ago (2014-08-08 14:13:57 UTC) #10
dak
On 2014/08/08 14:13:57, dak wrote: > On 2014/08/08 14:10:18, dak wrote: > > On 2014/08/07 ...
9 years, 9 months ago (2014-08-08 14:48:39 UTC) #11
janek
9 years, 9 months ago (2014-08-09 21:31:37 UTC) #12
Hi David,

2014-08-08 16:48 GMT+02:00  <dak@gnu.org>:
> But then probably grob::from-event-property might be less jumbled,

I'm ok with this one.

> and possibly
> grob::event-property-getter might bring the callback nature better
> across.

I don't like this one.  Maybe it's insufficient LilyPond knowledge on
my side, but if i had seen grob::event-property-getter in the code i
wouldn't know for sure what it does.  I think
grob::from-event-property would be more self-explanatory for me.

> Of course, this reeks of wanting to become a whole naming convention at
> one point of time.  Should we run this through another discussion cycle
> with the strong premise that the naming chosen here might, at a later
> point of time, be adopted for all similar callback generators?

No problem :-)
I'm not at rush with this change at all, and i don't have waiting
patches that depend on it, so take the time.  Actually, feel free to
take ownership of the issue if you'd like so.

I've set the tracker issue to review.

best,
Janek
Sign in to reply to this message.

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