https://codereview.appspot.com/14040043/diff/6001/scripts/convert-ly.py File scripts/convert-ly.py (right):
https://codereview.appspot.com/14040043/diff/6001/scripts/convert-ly.py#newcode243 scripts/convert-ly.py:243: back_up = file + '.~' + str(n) + '~' On 2013/09/29 01:00:49, Ian Hulin (gmail) wrote:
back_up = file + '.' + str(n) + "~" # I think mysource.ly.0~ or myinclude.ily.45~ is just as distinctive
as a
# convert-ly backup file as mysource.ly.~0~ or myinclude.ily.~45~ . # The first ~ makes it harder for humans to read, and doesn't hinder
programs
# identifying it as a convert-ly backup file.
The name here was chosen to correspond with the numbered backups of Emacs. Emacs will recognize a numbered backup file (joining the backup scheme) only when there is a good match. In addition, this makes it recognize that the "real" file extension is .ly rather than .45. https://codereview.appspot.com/14040043/ _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel