|
From: | Han-Wen Nienhuys |
Subject: | Re: lilypond ./ChangeLog ./THANKS scm/define-markup... |
Date: | Tue, 11 Oct 2005 11:51:23 +0200 |
User-agent: | Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) |
Jan Nieuwenhuizen wrote:
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]*"))
Applied, although the problem is a bit theoretical. MacOS X is Unix, so it uses \n.
-- Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen
[Prev in Thread] | Current Thread | [Next in Thread] |