lilypond-auto
[Top][All Lists]
Advanced

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

Re: [Lilypond-auto] Issue 2172 in lilypond: Get line and column numbers


From: lilypond
Subject: Re: [Lilypond-auto] Issue 2172 in lilypond: Get line and column numbers right.
Date: Thu, 13 Dec 2012 11:02:51 +0000

Updates:
        Status: Started
        Owner: address@hidden
        Labels: Patch-new

Comment #2 on issue 2172 by address@hidden: Get line and column numbers right.
http://code.google.com/p/lilypond/issues/detail?id=2172#c2

Issue 2172: Get line and column numbers right.

This uses 1-based columns on all error output, as is the standard for
GNU programs.  It also flags version errors as being for line 1
instead of line 0 since the latter confuses Emacs' compilation mode.

The same column convention is used for point-and-click column numbers
in textedit:// URIs.  In contrast, the byte offsets into a line (also
in those URIs) are retained 0-based.

The result works fabulous when using Emacs as text editor.  It is to
be expected that Lilypond-specific shells have specialized on the
previous wrong behavior and will now exhibit the kind of one-off
behavior that non-LilyPond specific programs did previously when
encountering the error messages.

I don't see a good migration strategy for those except possibly
looking for the version number of LilyPond and deciding whether to do
one-off calculations depending on that.

http://codereview.appspot.com/6938044




reply via email to

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