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: Tue, 23 Dec 2008 17:46:20 +0800 Message-ID: <87y6y7fclv.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> 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 1230025608 6037 80.91.229.12 (23 Dec 2008 09:46:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Dec 2008 09:46:48 +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 Tue Dec 23 10:47:54 2008 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 1LF3rm-0001fP-31 for ged-emacs-devel@m.gmane.org; Tue, 23 Dec 2008 10:47:54 +0100 Original-Received: from localhost ([127.0.0.1]:33167 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LF3qZ-0006Pp-6N for ged-emacs-devel@m.gmane.org; Tue, 23 Dec 2008 04:46:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LF3qT-0006PZ-Q9 for emacs-devel@gnu.org; Tue, 23 Dec 2008 04:46:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LF3qT-0006PH-9q for emacs-devel@gnu.org; Tue, 23 Dec 2008 04:46:33 -0500 Original-Received: from [199.232.76.173] (port=59931 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LF3qS-0006PC-U6 for emacs-devel@gnu.org; Tue, 23 Dec 2008 04:46:33 -0500 Original-Received: from wf-out-1314.google.com ([209.85.200.168]:42722) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LF3qS-0001M7-Av for emacs-devel@gnu.org; Tue, 23 Dec 2008 04:46:32 -0500 Original-Received: by wf-out-1314.google.com with SMTP id 28so2520678wfc.24 for ; Tue, 23 Dec 2008 01:46:30 -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=tx+FZqh8/DIOsiXc5Nnj3+eQY2jRZAhpnFbZ2sutJ1I=; b=T54GE7ciVjmWPiJQQYaH+ZdNTRG5pUav8UlFyrAzTZrULcXA+7etqA1iXvmlIHJJR7 4ItpCskNnyBSYh0zuGD9pYw+3oV5/2CW7J+x/J0hlqYID4zOWuwM+eKQG9HfpozJ8yb6 UdrKhuGdSOvkvcPefeamGAm0nV+GYBv1kQPpE= 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=ItV+mJ5Cx7urfA0qJGXH185ZpGPgmA7xTJNrkCpYK77yE/p0A/DKRmeppHoX3nGcQ4 G+fD8jDrzSRwoRIwOWvPo9rDGdKi3U80AiprzD5TAE7n3RsKgrzodbbhCEjo6gdwIyXx g7ZTt2F9w5o08oYxkeuFaKaHCGF1wCCen+0i8= Original-Received: by 10.142.90.16 with SMTP id n16mr3087038wfb.314.1230025590921; Tue, 23 Dec 2008 01:46:30 -0800 (PST) Original-Received: from unicorn ([210.73.1.55]) by mx.google.com with ESMTPS id 24sm14009355wff.57.2008.12.23.01.46.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 23 Dec 2008 01:46:30 -0800 (PST) Original-Received: from localhost.lan ([127.0.0.1] helo=unicorn.lan) by unicorn with esmtp (Exim 4.69) (envelope-from ) id 1LF3qG-0001bo-Gz; Tue, 23 Dec 2008 17:46:20 +0800 In-Reply-To: <4950A219.1070802@swipnet.se> ("Jan =?utf-8?Q?Dj=C3=A4rv=22's?= message of "Tue\, 23 Dec 2008 09\:32\:25 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (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:107231 Archived-At: 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 -Bo > > Jan D. > > > Bo Lin skrev: >> Hi Jan, >> >> Jan Dj=C3=A4rv writes: >>> There must be more to it, for example, why are your margins so big? Ca= n you >>> check /etc/X11/app-defaults (or /usr/lib/X11/app-defaults) if there is = any >>> Emacs or EMacs file in there? >> >> No. >> >>> Also do >>> % xrdb -query |grep -i emacs >> >> $ xrdb -query | grep -i emacs >> Emacs*Background: #ffffff >> Emacs*Dialog*background: #cccccc >> Emacs*Dialog*foreground: #000000 >> Emacs*Foreground: #000000 >> Emacs*XlwScrollBar.Background: #cccccc >> Emacs*XlwScrollBar.Foreground: #000000 >> Emacs*backgroundToolBarColor: #cccccc >> Emacs*bottomToolBarShadowColor: #cccccc >> Emacs*menubar*background: #cccccc >> Emacs*menubar*foreground: #000000 >> Emacs*popup*Background: #cccccc >> Emacs*popup*Foreground: #000000 >> Emacs*topToolBarShadowColor: #cccccc >> Emacs.Font: fontset-big >> Emacs.Fontset-0: -*-*-medium-r-normal--16-*-*-*-*-*-fontset-big,ascii:-*= -fixed-medium-r-normal--16-*-*-*-*-*-iso8859-1, chinese-gb2312:-*-*-medium-= r-normal--*-*-*-*-*-*-gb2312.1980-* >> Emacs.Fontset-1: -*-*-medium-r-normal--14-*-*-*-*-*-fontset-medium,ascii= :-*-fixed-medium-r-normal--14-*-*-*-*-*-iso8859-1, chinese-gb2312:-*-*-medi= um-r-normal--14-*-*-*-*-*-gb2312.1980-* >> Emacs.Fontset-2: -*-*-medium-r-normal--14-*-*-*-*-*-fontset-xming,ascii:= -*-fixed-medium-r-normal--14-*-*-*-*-*-iso8859-1, chinese-gb2312:-*-*-mediu= m-r-normal--12-*-*-*-*-*-gb2312.1980-* >> Emacs.default.attributeBackground: #ffffff >> Emacs.default.attributeForeground: #000000 >> Emacs.mode-line.attributeForeground: #000000 >> Emacs.scroll-bar.attributeBackground: #cccccc >> Emacs.scroll-bar.attributeForeground: #000000 >> Emacs.tool-bar.attributeBackground: #cccccc >> Emacs.tool-bar.attributeForeground: #000000 >> >> But then I did >> >> $ xrdb -remove >> >> and retried emacs, the problem still persists. I use Emacs 22 for my >> daily tasks with no problems on the same system, btw. >> >> Also I think that the big margin is just a symptom and not the cause. As >> I mentioned in my previous mails, Emacs won't allow me to >> 'split-window-horizontally' because 'window-width' thinks my window is >> only 11 columns wide, while in fact my window is much wider than 11. And >> when I try to adjust the Emacs frame width using the mouse, I can only >> do so in very big increments. It appears that the bigger-than-normal >> margin's width is what Emacs thinks is the width of one "column". >> >> Any suggestions on how I should proceed from here? Thanks. >> >> Regards, >> Bo >> >>> and see if you get any lines. Let us know what you find. >>> >>> Jan D. >>