emacs-devel
[Top][All Lists]
Advanced

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

Re: About column numbers


From: Angelo Graziosi
Subject: Re: About column numbers
Date: Wed, 30 Mar 2016 19:28:59 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1


Il 30/03/2016 17:21, Eli Zaretskii ha scritto:
From: Angelo Graziosi <address@hidden>
Date: Wed, 30 Mar 2016 00:33:31 +0200

When the option about column numbers is enabled, the column numbers
start from "0" (zero). In other words, when the cursor in in the
top-left corner of the buffer, the mode line displays

    (1,0)

line number   : 1
column number : 0

Why columns start from 0 (zero) and not 1 as for lines? Would it be
better (1,1)?

Why is it a problem for column number to start at zero?  Emacs always
worked like that.

Yes, I know.. this is not a fundamental, but why that "unnatural" convention? I don't know other editor/IDE which uses columns from zero..


If not, I would suggest to change this in Emacs.. or to add some
settings to change this..

Then you'd need to change every interface that accepts or returns
column numbers, like move-to-column, posn-at-point, etc.  Is it really
worth it?


what a pity! It would be an opportunity to modernize a bit Emacs...

Anyway it was just a suggestion...

  Angelo



reply via email to

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