|
View:
New views
20 Messages
—
Rating Filter:
Alert me
|
| < Prev | 1 - 2 | Next > |
|
|
Re: Tracker 836: Add facility to change output file-name for a \book blockCarl gave some feedback via e-mail. I've recorded them here before
uploading a patch set. Ian http://codereview.appspot.com/143055/diff/1/5 File scm/lily-library.scm (right): http://codereview.appspot.com/143055/diff/1/5#newcode162 Line 162: (let* ( (base-name (get-current-filename parser)) remove space between ( ( after let* http://codereview.appspot.com/143055/diff/1/5#newcode170 Line 170: (set! result (format "~a-~a" set! statement needs reformatting and indenting (feedback from Carl) (set! result (format "~a-~a" result (string-regexp-substitute "[^-[:alnum:]]" "_" output-suffix)))) http://codereview.appspot.com/143055/diff/1/5#newcode175 Line 175: (if (> output-count 0) if block needs indenting correctly - (feedback from Carl) (if (> output-count 0) (set! result (format #f "~a-~a" result output-count) http://codereview.appspot.com/143055 _______________________________________________ lilypond-devel mailing list lilypond-devel@... http://lists.gnu.org/mailman/listinfo/lilypond-devel |
|
|
|
|
|
|
|
|
Re: [frogs] Re: Tracker 836: Add facility to change output file-name for a \book blockOn 10/29/09 3:14 PM, "n.puttock@..." <n.puttock@...> wrote: > Hi Ian, > > I haven't commented on lily-library.scm, since there are too many > formatting issues. > > I'd suggest installing emacs to sort out the indentation (even if you > prefer to use another editor for your main work), otherwise we're going > to spend ages pointing out every little nitpick when we should be > focusing on the code. vim also does a decent job of indenting scheme code, and automatically strips trailing whitespace if you set it to. I'm not trying to start a vim/emacs flame war. Just mentioning another option. Carl _______________________________________________ lilypond-devel mailing list lilypond-devel@... http://lists.gnu.org/mailman/listinfo/lilypond-devel |
|
|
Re: [frogs] Re: Tracker 836: Add facility to change output file-name for a \book blockOn Thu, Oct 29, 2009 at 06:00:06PM -0600, Carl Sorensen wrote:
> > On 10/29/09 3:14 PM, "n.puttock@..." <n.puttock@...> wrote: > > > I'd suggest installing emacs to sort out the indentation (even if you > > prefer to use another editor for your main work), otherwise we're going > > to spend ages pointing out every little nitpick when we should be > > focusing on the code. > > vim also does a decent job of indenting scheme code, and automatically > strips trailing whitespace if you set it to. Yes, but the official lilypond formatting is "whatever emacs does, plus one or two other scripts to tweak a few more things". I'd love it if any frog wants to look at the code formatting/syntax issue. I mean, it's definitely annoying / slowing down actual bugfixes and new features. Cheers, - Graham _______________________________________________ lilypond-devel mailing list lilypond-devel@... http://lists.gnu.org/mailman/listinfo/lilypond-devel |
|
|
Re: [frogs] Re: Tracker 836: Add facility to change output file-name for a \book blockOn 10/29/09 6:10 PM, "Graham Percival" <graham@...> wrote: > On Thu, Oct 29, 2009 at 06:00:06PM -0600, Carl Sorensen wrote: >> >> On 10/29/09 3:14 PM, "n.puttock@..." <n.puttock@...> wrote: >> >>> I'd suggest installing emacs to sort out the indentation (even if you >>> prefer to use another editor for your main work), otherwise we're going >>> to spend ages pointing out every little nitpick when we should be >>> focusing on the code. >> >> vim also does a decent job of indenting scheme code, and automatically >> strips trailing whitespace if you set it to. > > Yes, but the official lilypond formatting is "whatever emacs does, > plus one or two other scripts to tweak a few more things". vim's scheme code indenting is the same as "whatever emacs does". Carl _______________________________________________ lilypond-devel mailing list lilypond-devel@... http://lists.gnu.org/mailman/listinfo/lilypond-devel |
|
|
Re: [frogs] Re: Tracker 836: Add facility to change output file-name for a \book blockCarl Sorensen <c_sorensen@...> writes:
> On 10/29/09 6:10 PM, "Graham Percival" <graham@...> wrote: > >> On Thu, Oct 29, 2009 at 06:00:06PM -0600, Carl Sorensen wrote: >>> >>> On 10/29/09 3:14 PM, "n.puttock@..." <n.puttock@...> wrote: >>> >>>> I'd suggest installing emacs to sort out the indentation (even if you >>>> prefer to use another editor for your main work), otherwise we're going >>>> to spend ages pointing out every little nitpick when we should be >>>> focusing on the code. >>> >>> vim also does a decent job of indenting scheme code, and automatically >>> strips trailing whitespace if you set it to. >> >> Yes, but the official lilypond formatting is "whatever emacs does, >> plus one or two other scripts to tweak a few more things". > > vim's scheme code indenting is the same as "whatever emacs does". AFAICT, Emacs does a bad job concerning -> articulations, probably confusing them with < > braces. So maybe a bit more like "whatever emacs should do". -- David Kastrup _______________________________________________ lilypond-devel mailing list lilypond-devel@... http://lists.gnu.org/mailman/listinfo/lilypond-devel |
|
|
Re: [frogs] Re: Tracker 836: Add facility to change output file-name for a \book blockI've installed emacs and checked the indenting as per Carl and Neils recommendations. Patch set has been on rietveld 143055 for some days. Is this ready to push now? Cheers, Ian Carl Sorensen wrote: On 10/29/09 6:10 PM, "Graham Percival" graham@... wrote: _______________________________________________ lilypond-devel mailing list lilypond-devel@... http://lists.gnu.org/mailman/listinfo/lilypond-devel |
|
|
Re: [frogs] Re: Tracker 836: Add facility to change output file-name for a \book blockOn 2009-11-03, Ian Hulin wrote:
> Hi all, > I've installed emacs and checked the indenting as per Carl and Neils > recommendations. Patch set has been on rietveld 143055 for some > days. > > Is this ready to push now? Hi Ian, The indentation in lily-library.scm is still very weird in several spots. I'll point some of them out on Rietveld. -Patrick _______________________________________________ lilypond-devel mailing list lilypond-devel@... http://lists.gnu.org/mailman/listinfo/lilypond-devel |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Tracker 836: Add facility to change output file-name for a \book blockn.puttock@... wrote:
> On 2009/11/04 23:03:27, Ian Hulin wrote: >> Thanks for the feedback. Is the now patch readu to push now? > > There are several lines with trailing spaces. > > You've reverted some recent changes in lily-library.scm which breaks > compilation; see `flatten-list' and `eval-carefully'. Re-fetched current master version of lily-library.scm from remote repo and applied only the changes to print-book-with and functions it calls from my version. git-cl has created a new issue 150044 as I had to reinitialize and re-fetch my git repository. Will answer all the points from your next e-mail on 143055. Cheers, Ian > > Regards, > Neil > > http://codereview.appspot.com/143055 > > ______________________________________________ This email has > been scanned by Netintelligence > http://www.netintelligence.com/email > > _______________________________________________ lilypond-devel mailing list lilypond-devel@... http://lists.gnu.org/mailman/listinfo/lilypond-devel |
| < Prev | 1 - 2 | Next > |
| Free embeddable forum powered by Nabble | Forum Help |