[Top][All Lists]

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

Re: missing/empty files

From: Simon Albrecht
Subject: Re: missing/empty files
Date: Thu, 13 Aug 2015 15:36:45 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0

Am 01.08.2015 um 19:35 schrieb Dan Eble:
I have a couple of related suggestions.  These would be minor conveniences—so 
minor that I don’t care enough at the moment to implement them myself.

let convert-ly remain silent about files which contain only whitespace (or 
which are empty) rather than issuing an error that there is no \version 

add a variant of \include which does nothing if the file does not exist 
(eliminating one reason to have empty files in the first place)
Thanks for reporting.
This will likely need discussion, but I’ve created issue <https://code.google.com/p/lilypond/issues/detail?id=4558> for your first suggestion. I’m more hesitant with the second one: surely we would want \include to complain if there has been a typo and it should actually refer to an existing file. Since it’s hardly possible for Lily to decide about the user’s intentions here, we might perhaps provide another function with the behaviour you describe (or might such a function already be available through openlilylib?). Needs_design…

Yours, Simon

reply via email to

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