From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Incorrect TAB width Date: Mon, 13 Jun 2005 11:03:14 -0400 Message-ID: References: <20050612132253.GB82470@memo.frmug.org> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1118675429 1388 80.91.229.2 (13 Jun 2005 15:10:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 13 Jun 2005 15:10:29 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 13 17:10:27 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DhqZt-0004S9-JA for ged-emacs-devel@m.gmane.org; Mon, 13 Jun 2005 17:10:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DhqWy-0002DF-4r for ged-emacs-devel@m.gmane.org; Mon, 13 Jun 2005 11:07:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DhqWb-0002A9-G0 for emacs-devel@gnu.org; Mon, 13 Jun 2005 11:06:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DhqWW-000246-IF for emacs-devel@gnu.org; Mon, 13 Jun 2005 11:06:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DhqWV-00022P-7U for emacs-devel@gnu.org; Mon, 13 Jun 2005 11:06:47 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DhqUh-0002xp-Ev for emacs-devel@gnu.org; Mon, 13 Jun 2005 11:04:55 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1DhqT4-0000pa-LB; Mon, 13 Jun 2005 11:03:14 -0400 Original-To: Bertrand Petit In-reply-to: <20050612132253.GB82470@memo.frmug.org> (message from Bertrand Petit on Sun, 12 Jun 2005 15:22:53 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:38726 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38726 This is an important problem, and I think we need to fix it. I cannot reproduce it myself, since I don't have a new version of X. It surprises me that any any version of X can tell whether the Emacs buffer contains tabs or spaces. Emacs handles tabs by displaying spaces (or at least, it used to); by the time the X server gets involved, there should be no difference. If Emacs even looks at the fonts' width for tab, that seems to be a bug. So if you can find out where Emacs even pays attention to what the font says or does for a tab character, that should be a start at debugging this problem.