[Top][All Lists]
[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: |
Sat, 22 Dec 2012 09:46:33 +0000 |
Updates:
Status: Fixed
Labels: -Patch-push Fixed_2_17_10
Comment #13 on issue 2172 by address@hidden: Get line and column numbers right.
http://code.google.com/p/lilypond/issues/detail?id=2172
Pushed to staging as
commit 314587c0714437b058c04173d81ad79db7452e73
Author: David Kastrup <address@hidden>
Date: Thu Dec 13 11:53:02 2012 +0100
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.
For point-and-click, this yields the correct results when using the
definitions for emacs and gvim in scm/editor.scm, the editors
configured to interpret the column number.
It is to be expected that Lilypond-specific shells (like Frescobaldi
called via Okular for point-and-click) 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.
- Re: [Lilypond-auto] Issue 2172 in lilypond: Get line and column numbers right., lilypond, 2012/12/13
- Re: [Lilypond-auto] Issue 2172 in lilypond: Get line and column numbers right., lilypond, 2012/12/16
- Message not available
- Re: [Lilypond-auto] Issue 2172 in lilypond: Get line and column numbers right., lilypond, 2012/12/16
- Message not available
- Re: [Lilypond-auto] Issue 2172 in lilypond: Get line and column numbers right., lilypond, 2012/12/16
- Message not available
- Re: [Lilypond-auto] Issue 2172 in lilypond: Get line and column numbers right., lilypond, 2012/12/16
- Message not available
- Re: [Lilypond-auto] Issue 2172 in lilypond: Get line and column numbers right., lilypond, 2012/12/16
- Message not available
- Re: [Lilypond-auto] Issue 2172 in lilypond: Get line and column numbers right., lilypond, 2012/12/16
Re: [Lilypond-auto] Issue 2172 in lilypond: Get line and column numbers right., lilypond, 2012/12/21
- Message not available
- Re: [Lilypond-auto] Issue 2172 in lilypond: Get line and column numbers right.,
lilypond <=