Re: GUB: reducing errors/warnings

2009-06-25 Thread Jan Nieuwenhuizen
Op donderdag 25-06-2009 om 00:33 uur [tijdzone -0300], schreef Han-Wen Nienhuys: Unfortunately, a lot of packages are not meant to be cross-compiled, so a lot of things that GUB does are hackish. I'd not worry too much about the messages; as long as things work, there are things much more

Re: Autobeaming restructuring

2009-06-25 Thread Hans Aberg
On 24 Jun 2009, at 23:13, Graham Percival wrote: Carl is asking about the programming internals, not the end-user input syntax. Sure, but if the time signature is used as key, the worry is that the user interface may already have been locked up. Hans

[PATCH] Remove email address.

2009-06-25 Thread Mark Polesky
Hey everyone, Sorry if this is a sensitive topic... but I figured we should probably remove Rune's e-mail address from AUTHORS.texi. Patch attached. - Mark 0001-Remove-email-address.patch Description: Binary data ___ lilypond-devel mailing

Re: [PATCH] Remove email address.

2009-06-25 Thread Graham Percival
Thanks, applied. Cheers, - Graham On Thu, Jun 25, 2009 at 02:52:55AM -0700, Mark Polesky wrote: Hey everyone, Sorry if this is a sensitive topic... but I figured we should probably remove Rune's e-mail address from AUTHORS.texi. Patch attached. - Mark

Re: define-grobs.scm properties not alphabetical

2009-06-25 Thread Carl D. Sorensen
On 6/24/09 8:49 PM, Mark Polesky markpole...@yahoo.com wrote: One thing I don't understand: why do I need to use (load ...) to retrieve functions that are defined with define-public in the same directory? The loading of the scm files is actually not taken care of by just being in the

Re: define-grobs.scm properties not alphabetical

2009-06-25 Thread Carl D. Sorensen
Mark, I like this, because it makes the out-of-order stuff be only a programmer's problem, and programmers can use searches to find the code they're looking for. A couple of other comments: The name of the file is lily-sort.scm, but the comment in the header says ly-sort.scm. I much prefer

espanol.ly minimal additions

2009-06-25 Thread Maximiliano
Hello I'd like to contribute sending (I dont know where, sorry if this is not the place) my espanol.ly, I have added: * tcb, cb, cs, and tcs for tree-q-flat, q-flat, q-sharp and three-q-sharp. * x also for double-sharp The file: %{ Common Spanish names for notes. b means flat (bemol), s

Re: define-grobs.scm properties not alphabetical

2009-06-25 Thread Mark Polesky
Carl D. Sorensen wrote: I like this, because it makes the out-of-order stuff be only a programmer's problem, and programmers can use searches to find the code they're looking for. To an extent, I would say. There's obvious value to well-organized code. The more searches a programmer needs to

Re: define-grobs.scm properties not alphabetical

2009-06-25 Thread Mark Polesky
Carl D. Sorensen wrote: I have not put a question mark on ci because ? is used in SICP to indicate a predicate (i.e. a function returning a boolean) rather than a boolean value directly. I like it. Nice subtlety. Forgot to make that change in the previous post (butI've noted it). - Mark

Re: define-grobs.scm properties not alphabetical

2009-06-25 Thread Carl D. Sorensen
On 6/25/09 1:23 PM, Mark Polesky markpole...@yahoo.com wrote: Carl D. Sorensen wrote: I like this, because it makes the out-of-order stuff be only a programmer's problem, and programmers can use searches to find the code they're looking for. To an extent, I would say. There's

Re: define-grobs.scm properties not alphabetical

2009-06-25 Thread Mark Polesky
Oops, just discovered that (ly:char? #\ #\?) returns #t... (tweaking some more) - Mark ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: define-grobs.scm properties not alphabetical

2009-06-25 Thread Mark Polesky
Here are 2 versions of the same procedure. Is the second one *too* concise and cryptic? - Mark (define (ly:string-compare a b ci) (let ((mismatch (first-diff-chars a b ci))) (if mismatch (if (car mismatch) (if (cdr mismatch) ((if ci ly:char-ci? ly:char?)

Re: espanol.ly minimal additions

2009-06-25 Thread Graham Percival
Could you send a patch? Instructions are in the CG. Cheers, - Graham On Thu, Jun 25, 2009 at 05:22:24PM +, Maximiliano wrote: Hello I'd like to contribute sending (I dont know where, sorry if this is not the place) my espanol.ly, I have added:

propsed new file: lily-sort.scm

2009-06-25 Thread Mark Polesky
With Carl's help, I've created a new file that contains procedures for sorting lists and alists according to a specific algorithm that generates more intuitively-ordered lists, which will make it a lot easier to locate things in the docs, for example. I've attached the file here, but I haven't

Re: GUB: reducing errors/warnings

2009-06-25 Thread Graham Percival
On Thu, Jun 25, 2009 at 08:33:33AM +0200, Jan Nieuwenhuizen wrote: Op donderdag 25-06-2009 om 00:33 uur [tijdzone -0300], schreef Han-Wen Nienhuys: Unfortunately, a lot of packages are not meant to be cross-compiled, so a lot of things that GUB does are hackish. I'd not worry too much

Re: define-grobs.scm properties not alphabetical

2009-06-25 Thread Carl D. Sorensen
On 6/25/09 4:51 PM, Mark Polesky markpole...@yahoo.com wrote: Here are 2 versions of the same procedure. Is the second one *too* concise and cryptic? - Mark I actually like the general format of the second one better. But I'd rewrite it a bit: It's a string-compare-? function, so

Re: propsed new file: lily-sort.scm

2009-06-25 Thread Carl D. Sorensen
On 6/25/09 5:18 PM, Mark Polesky markpole...@yahoo.com wrote: With Carl's help, I've created a new file that contains procedures for sorting lists and alists according to a specific algorithm that generates more intuitively-ordered lists, which will make it a lot easier to locate things in

Re: propsed new file: lily-sort.scm

2009-06-25 Thread Mark Polesky
Carl D. Sorensen wrote: precisely where should I enter lily-sort.scm in the file lily.scm? IIUC, it can go anywhere in the list, as long as it's before any files that need to use its functions when they are loaded. Then I'll put it just before define-event-classes.scm, which is the first

Is StreamEvent really a class, not an expression?

2009-06-25 Thread Mark Polesky
StreamEvent is listed in define-event-classes.scm, but the capitalization of itself and its children makes it look more like it belongs in define-event-classes.scm with the other FooEvents... - Mark ___ lilypond-devel mailing list

Re: GUB: reducing errors/warnings

2009-06-25 Thread Han-Wen Nienhuys
On Thu, Jun 25, 2009 at 8:43 PM, Graham Percivalgra...@percival-music.ca wrote: lilypond-2.13.0-0.test-output.tar.bz2    lilypond-2.13.2-0.mingw.exe lilypond-2.13.2-0.darwin-ppc.tar.bz2     lilypond-2.13.2-0.test-output.tar.bz2 lilypond-2.13.2-0.darwin-x86.tar.bz2    

Re: GUB: reducing errors/warnings

2009-06-25 Thread Graham Percival
On Thu, Jun 25, 2009 at 09:53:47PM -0300, Han-Wen Nienhuys wrote: On Thu, Jun 25, 2009 at 8:43 PM, Graham Percivalgra...@percival-music.ca wrote: lilypond-2.13.0-0.test-output.tar.bz2    lilypond-2.13.2-0.mingw.exe lilypond-2.13.2-0.darwin-ppc.tar.bz2