From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: About column numbers Date: Wed, 30 Mar 2016 20:56:41 +0200 Message-ID: <87lh4zvlp2.fsf@linux-m68k.org> References: <56FB02BB.3090501@alice.it> <83wpokuh3a.fsf@gnu.org> <56FC0CDB.9090707@alice.it> <87poubvnhh.fsf@linux-m68k.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1459364232 20594 80.91.229.3 (30 Mar 2016 18:57:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Mar 2016 18:57:12 +0000 (UTC) Cc: Eli Zaretskii , Emacs developers , Angelo Graziosi To: Yuri Khan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 30 20:57:05 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 1alLIf-0008QR-9H for ged-emacs-devel@m.gmane.org; Wed, 30 Mar 2016 20:57:05 +0200 Original-Received: from localhost ([::1]:56300 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alLIb-0000nE-5j for ged-emacs-devel@m.gmane.org; Wed, 30 Mar 2016 14:57:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51329) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alLIO-0000n5-CZ for emacs-devel@gnu.org; Wed, 30 Mar 2016 14:56:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1alLIN-0000q5-MC for emacs-devel@gnu.org; Wed, 30 Mar 2016 14:56:48 -0400 Original-Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:41558) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alLIJ-0000n2-U8; Wed, 30 Mar 2016 14:56:44 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3qZxhB2RzQz3hjqn; Wed, 30 Mar 2016 20:56:42 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3qZxhB1Q7hzvhMc; Wed, 30 Mar 2016 20:56:42 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id 7wcSWMEHBqiU; Wed, 30 Mar 2016 20:56:41 +0200 (CEST) X-Auth-Info: Jj8lEIB/G4iuyRp2m3f+D+UIoMyDTCpbRmfgXLchkrmmJbZJFd9oMm7GtvGB2+9R Original-Received: from igel.home (ppp-88-217-14-4.dynamic.mnet-online.de [88.217.14.4]) by mail.mnet-online.de (Postfix) with ESMTPA; Wed, 30 Mar 2016 20:56:41 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 1000) id 2568C2C388B; Wed, 30 Mar 2016 20:56:41 +0200 (CEST) X-Yow: Yow! I want to mail a bronzed artichoke to Nicaragua! In-Reply-To: (Yuri Khan's message of "Thu, 31 Mar 2016 00:37:52 +0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 2001:a60:0:28:0:1:25:1 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:202476 Archived-At: Yuri Khan writes: > On Thu, Mar 31, 2016 at 12:18 AM, Andreas Schwab wrote: > >>> Lines are a different beast =E2=80=94 you have to be compatible with = the >>> convention compilers use to report errors, and pretty much all of the= m >>> count lines from 1. >> >> They also count columns from 1. > > At least GCC doesn=E2=80=99t. It counts bytes. It does. Starting from 1. Andreas. --=20 Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED= 5 "And now for something completely different."