From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bo Lin Newsgroups: gmane.emacs.devel Subject: Re: X window display bug? Date: Sat, 10 Jan 2009 13:33:35 +0800 Message-ID: <87hc47k9n4.fsf@unicorn.lan> References: <87hc5oc68d.fsf@unicorn.lan> <494A9C09.50407@swipnet.se> <873agkzg1i.fsf@unicorn.lan> <494D117E.7010608@swipnet.se> <87hc4x4rrm.fsf@unicorn.lan> <4950A219.1070802@swipnet.se> <87y6y7fclv.fsf@unicorn.lan> <49511086.5050107@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1231565645 24301 80.91.229.12 (10 Jan 2009 05:34:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 Jan 2009 05:34:05 +0000 (UTC) Cc: emacs-devel@gnu.org To: Jan =?utf-8?Q?Dj=C3=A4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 10 06:35:14 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LLWV7-000718-44 for ged-emacs-devel@m.gmane.org; Sat, 10 Jan 2009 06:35:13 +0100 Original-Received: from localhost ([127.0.0.1]:41774 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LLWTq-0006d7-Qf for ged-emacs-devel@m.gmane.org; Sat, 10 Jan 2009 00:33:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LLWTl-0006c2-Ou for emacs-devel@gnu.org; Sat, 10 Jan 2009 00:33:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LLWTj-0006Zo-D0 for emacs-devel@gnu.org; Sat, 10 Jan 2009 00:33:48 -0500 Original-Received: from [199.232.76.173] (port=52851 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LLWTj-0006Zk-6W for emacs-devel@gnu.org; Sat, 10 Jan 2009 00:33:47 -0500 Original-Received: from wf-out-1314.google.com ([209.85.200.169]:15941) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LLWTi-0008KA-Mt for emacs-devel@gnu.org; Sat, 10 Jan 2009 00:33:46 -0500 Original-Received: by wf-out-1314.google.com with SMTP id 28so11485616wfc.24 for ; Fri, 09 Jan 2009 21:33:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:to:cc:subject :references:from:date:in-reply-to:message-id:user-agent:mime-version :content-type:content-transfer-encoding; bh=kBW+Jh/jR0a3F1BGt63r5hBQm1ynQKk4/GK6uWZL5Ys=; b=JFq2Vpm1i+7iQqeMUfoByLm9OgHK8N+vdqpREHWhFOH56buPMo691xyfTgRqWJNtly +PH9q/pnuOHJkOBUBS7C+jHcQX4WD1gs2AZ7ibHZFtEjTsN9LaHWve1QOyLnVQ1JPdoR zoZeDSNCqgQR/wbVIGJ3vqgpQJuKMz62+A1Tg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=to:cc:subject:references:from:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; b=MCYV+uSjz52zZHdw36EFVGDvH105i01AvBaZkuBA8t5ErHLCAajvC4zvvqmXxbs8Vj c5D7cPLSHzsIB8ir2gGc2o4MIPiLHR7P6HuPmYQ00dNEPh5aS/gPOxQqHhRbWzdoEY3l 3FnKOuzq37hG25JJuBFJPmzq1/Rly+DAt5YiE= Original-Received: by 10.142.241.15 with SMTP id o15mr11059367wfh.258.1231565624684; Fri, 09 Jan 2009 21:33:44 -0800 (PST) Original-Received: from unicorn ([210.73.1.55]) by mx.google.com with ESMTPS id 24sm7253737wfc.22.2009.01.09.21.33.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 09 Jan 2009 21:33:43 -0800 (PST) Original-Received: from localhost.lan ([127.0.0.1] helo=unicorn.lan) by unicorn with esmtp (Exim 4.69) (envelope-from ) id 1LLWTX-0001hY-F9; Sat, 10 Jan 2009 13:33:35 +0800 In-Reply-To: <49511086.5050107@swipnet.se> ("Jan =?utf-8?Q?Dj=C3=A4rv=22's?= message of "Tue\, 23 Dec 2008 17\:23\:34 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:107742 Archived-At: Hi Jan, Jan Dj=C3=A4rv writes: > Bo Lin skrev: >> Hi Jan, >> >> Jan Dj=C3=A4rv writes: >> >>> Hmm, can you try to recompile your Emacs with just -g (i.e. no -O)? >> >> Yes, this is Emacs 23.0.60.2 (as of Dec 19) compiled with CFLAGS=3D'-g', >> no -O >> > > Have you tried running with another font, like > % emacs -Q -fn fixed > Yes, that fixes the problem! Seems it's caused by using non fixed-width font as "default font". I don't why emacs would choose a variable-width font as default font when -fn is not explicitly specified though, definitely not my "Monospace" font according to fc-match: $ fc-match monospace VeraMono.ttf: "Bitstream Vera Sans Mono" "Roman" Anyway, emacs23 is working for me now, thanks a lot for your help! :) -Bo > The size of the fringes suggests tha Emacs miscalculates the font width, = or > that the font itself is buggy. > > Jan D.