lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lilypond ./ChangeLog ./THANKS scm/define-markup...


From: Jan Nieuwenhuizen
Subject: Re: lilypond ./ChangeLog ./THANKS scm/define-markup...
Date: Tue, 11 Oct 2005 11:13:52 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Han-Wen Nienhuys writes:

> +     * scm/define-markup-commands.scm (wordwrap-string): remove \r
> +     characters from string before splitting.

> +       
> +       (para-strings (regexp-split
> +                   (string-regexp-substitute "\r" "" arg)
> +                   "\n[ \t\n]*\n[ \t\n]*"))

Hmm.  Won't this lead to bug reports from Apple users?  If we're going
to kludge, why not

       (para-strings (regexp-split
                       (string-regexp-substitute "\r" \n"
                         (string-regexp-substitute "\r\n" "\n" arg))
                           "\n[ \t\n]*\n[ \t\n]*"))

Jan.

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]