[Top][All Lists]

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

Re: About column numbers

From: Eli Zaretskii
Subject: Re: About column numbers
Date: Wed, 30 Mar 2016 18:21:29 +0300

> 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.

> Is there some settings to change this behavior?

No.  You could, of course, come up with a mode-line format that would
display column-number + 1, but that would only change this on display,
not internally.

> 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?

reply via email to

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