From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Re: About column numbers Date: Wed, 30 Mar 2016 19:28:59 +0200 Message-ID: <56FC0CDB.9090707@alice.it> References: <56FB02BB.3090501@alice.it> <83wpokuh3a.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1459358968 32114 80.91.229.3 (30 Mar 2016 17:29:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Mar 2016 17:29:28 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 30 19:29:20 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1alJvj-0002ww-DN for ged-emacs-devel@m.gmane.org; Wed, 30 Mar 2016 19:29:19 +0200 Original-Received: from localhost ([::1]:55984 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alJvh-00060l-Ro for ged-emacs-devel@m.gmane.org; Wed, 30 Mar 2016 13:29:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54691) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alJvc-0005zd-Tq for emacs-devel@gnu.org; Wed, 30 Mar 2016 13:29:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1alJvX-0001sx-JO for emacs-devel@gnu.org; Wed, 30 Mar 2016 13:29:12 -0400 Original-Received: from smtp203.alice.it ([82.57.200.99]:51059) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alJvX-0001sa-8F; Wed, 30 Mar 2016 13:29:07 -0400 Original-Received: from [192.168.1.101] (79.47.237.141) by smtp203.alice.it (8.6.060.43) (authenticated as angelo.graziosi@alice.it) id 56FAA32500A6B691; Wed, 30 Mar 2016 19:29:05 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 In-Reply-To: <83wpokuh3a.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.99 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:202466 Archived-At: Il 30/03/2016 17:21, Eli Zaretskii ha scritto: >> From: Angelo Graziosi >> 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