On Sat, Nov 28, 2009 at 07:53:51PM +0000, Simon Marlow wrote:
> On 28/11/09 17:49, Ian Lynagh wrote:
>> Fri Nov 27 14:40:50 PST 2009 Ian Lynagh<[email protected]>
>> * Columns now start at 1, as lines already did
>
> That was on purpose too :-)
Ah, I interpreted
-- Don't ask me why lines start at 1 and columns start at
-- zero. That's just the way it is, so there. --SDM
as meaning it was just historical accident.
> Emacs counts columns from zero but lines from one.
vim counts them both from one :-)
> I'm prepared to be
> persuaded, but we shouldn't change it without considering the
> consequences. This will probably break lots of things.
I'd noticed this before actually, and always assumed it was a bug, but
never got around to looking into it.
I've just looked at a few other common tools to see what they do, but
the answer turns out to be "not give column numbers".
Thanks
Ian
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc