From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matthieu Lemerre Newsgroups: gmane.emacs.bugs Subject: bug#9749: 23.2; Compile-mode detection of error locations accounts for tabs incorrectly Date: Sat, 15 Oct 2011 10:34:13 +0200 Message-ID: <87fwiu64ca.fsf@free.fr> References: <87botkv4i0.fsf@free.fr> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1318667733 4665 80.91.229.12 (15 Oct 2011 08:35:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 15 Oct 2011 08:35:33 +0000 (UTC) Cc: 9749@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 15 10:35:29 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1REziK-00055v-Mw for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Oct 2011 10:35:28 +0200 Original-Received: from localhost ([::1]:37942 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1REziK-0007k1-1b for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Oct 2011 04:35:28 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55253) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1REziG-0007jl-OM for bug-gnu-emacs@gnu.org; Sat, 15 Oct 2011 04:35:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1REziF-0007qQ-Gb for bug-gnu-emacs@gnu.org; Sat, 15 Oct 2011 04:35:24 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40672) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1REziF-0007qJ-EH for bug-gnu-emacs@gnu.org; Sat, 15 Oct 2011 04:35:23 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1REzir-0004Cd-R6 for bug-gnu-emacs@gnu.org; Sat, 15 Oct 2011 04:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Matthieu Lemerre Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Oct 2011 08:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9749 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9749-submit@debbugs.gnu.org id=B9749.131866770616089 (code B ref 9749); Sat, 15 Oct 2011 08:36:01 +0000 Original-Received: (at 9749) by debbugs.gnu.org; 15 Oct 2011 08:35:06 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1REzhx-0004BS-LX for submit@debbugs.gnu.org; Sat, 15 Oct 2011 04:35:06 -0400 Original-Received: from mail-wy0-f172.google.com ([74.125.82.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1REzhv-0004Ax-9J for 9749@debbugs.gnu.org; Sat, 15 Oct 2011 04:35:04 -0400 Original-Received: by wyg24 with SMTP id 24so3543509wyg.3 for <9749@debbugs.gnu.org>; Sat, 15 Oct 2011 01:34:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; bh=L1UvVXzhXFLAzRJSb8bpaxtai0CiIYT5NDdMOwYxpCU=; b=DdzCVknkwJXFOd3ldH4iUNvhaQTpzzQ1qgqpskHL6niRb45SoB2nJ35/kgFZMqVrmi N6jarY5ruHwvQ0l50/bnS6ZJMmQWFMXWgIRUhTQV+cB+c0QfJokhj1xQdbbxiKQWML1f PnR+ZCU1A2uve+GVA+h3RZ3J0aAb2p7SvbpxI= Original-Received: by 10.216.137.13 with SMTP id x13mr1025097wei.52.1318667658864; Sat, 15 Oct 2011 01:34:18 -0700 (PDT) Original-Received: from matthieu-netbook (vbo91-2-82-239-207-166.fbx.proxad.net. [82.239.207.166]) by mx.google.com with ESMTPS id o7sm18653891wbh.8.2011.10.15.01.34.14 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 15 Oct 2011 01:34:17 -0700 (PDT) In-Reply-To: User-Agent: Notmuch/0.8 (http://notmuchmail.org) Emacs/23.2.1 (i686-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 15 Oct 2011 04:36:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:52664 Archived-At: I should have thought there would be an option for this; this solves the problem. Thank you. I have encountered at least two compilers which display character positions instead of screen columns: gcc, and the ocaml compiler (the latter also needs compilation-first-column to be set to 0). Given that GCC is widely used and now display character positions of errors, shouldn't the default value for compilation-error-screen-columns change? Or maybe these parameters should be detected according to the mode of the file in which there is an error? Best regards, Matthieu Lemerre On Fri, 14 Oct 2011 19:41:19 +0200, Andreas Schwab wrote: > Try setting compilation-error-screen-columns to nil. > > Andreas. > > -- > Andreas Schwab, schwab@linux-m68k.org > GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 > "And now for something completely different."