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: Sun, 21 Dec 2008 20:49:49 +0800 Message-ID: <87hc4x4rrm.fsf@unicorn.lan> References: <87hc5oc68d.fsf@unicorn.lan> <494A9C09.50407@swipnet.se> <873agkzg1i.fsf@unicorn.lan> <494D117E.7010608@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 1229867533 18756 80.91.229.12 (21 Dec 2008 13:52:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 21 Dec 2008 13:52:13 +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 Sun Dec 21 14:53:19 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 1LEOkA-0001d4-Mn for ged-emacs-devel@m.gmane.org; Sun, 21 Dec 2008 14:53:18 +0100 Original-Received: from localhost ([127.0.0.1]:44381 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LEOiy-0005Pf-9m for ged-emacs-devel@m.gmane.org; Sun, 21 Dec 2008 08:52:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LENl1-0006XV-Cf for emacs-devel@gnu.org; Sun, 21 Dec 2008 07:50:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LENkz-0006XJ-Ko for emacs-devel@gnu.org; Sun, 21 Dec 2008 07:50:06 -0500 Original-Received: from [199.232.76.173] (port=33623 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LENkz-0006XG-EP for emacs-devel@gnu.org; Sun, 21 Dec 2008 07:50:05 -0500 Original-Received: from wf-out-1314.google.com ([209.85.200.174]:54887) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LENky-0007y6-Mo for emacs-devel@gnu.org; Sun, 21 Dec 2008 07:50:04 -0500 Original-Received: by wf-out-1314.google.com with SMTP id 28so1717024wfc.24 for ; Sun, 21 Dec 2008 04:50:02 -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=slAc8DfwuY4guDy8mCUFmR1/3Dw2dhGm+KOP1UGdzGY=; b=mVShjl79SMWoRhjJycBjihwm2VeNldgvL2n7BP1PyhTpsTFJPwqWq4WMHEGc14nvlu /C2pia5L0NJ05nNi2YvYdNOUuWVscLkY82fGHjPlZ7xbEJJ2mg5bqW9bp0U0qnl8qZvl lSG8iLlDPGKqGxZUOGG2AOitf1OCUgpx5leTc= 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=UmPFrPknJ62b3ETh45gIy6UtWeiEPA8gUqSHYblOUF+HLSv1V9nUtiP6uELg0Wb0wx K2KTf+gOxqODC88kcnIIkSZuBZBsBT/f2iY3U5OK3cH8IYCWpFGIdJsa+oXJA/9ICCBs rnYsRcHkLhh+6XXWYaG9OJK+gffRjzap37KP4= Original-Received: by 10.143.32.7 with SMTP id k7mr2218396wfj.162.1229863802597; Sun, 21 Dec 2008 04:50:02 -0800 (PST) Original-Received: from unicorn ([210.73.1.55]) by mx.google.com with ESMTPS id 28sm10513384wfg.8.2008.12.21.04.50.01 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 21 Dec 2008 04:50:01 -0800 (PST) Original-Received: from localhost.lan ([127.0.0.1] helo=unicorn.lan) by unicorn with esmtp (Exim 4.69) (envelope-from ) id 1LENkk-0001pg-5b; Sun, 21 Dec 2008 20:49:50 +0800 In-Reply-To: <494D117E.7010608@swipnet.se> ("Jan =?utf-8?Q?Dj=C3=A4rv=22's?= message of "Sat\, 20 Dec 2008 16\:38\:38 +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-Mailman-Approved-At: Sun, 21 Dec 2008 08:51:59 -0500 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:107160 Archived-At: Hi Jan, Jan Dj=C3=A4rv writes: > > There must be more to it, for example, why are your margins so big? Can = 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:-*-fi= xed-medium-r-normal--16-*-*-*-*-*-iso8859-1, chinese-gb2312:-*-*-medium-r-n= ormal--*-*-*-*-*-*-gb2312.1980-* Emacs.Fontset-1: -*-*-medium-r-normal--14-*-*-*-*-*-fontset-medium,ascii:-*= -fixed-medium-r-normal--14-*-*-*-*-*-iso8859-1, chinese-gb2312:-*-*-medium-= r-normal--14-*-*-*-*-*-gb2312.1980-* Emacs.Fontset-2: -*-*-medium-r-normal--14-*-*-*-*-*-fontset-xming,ascii:-*-= fixed-medium-r-normal--14-*-*-*-*-*-iso8859-1, chinese-gb2312:-*-*-medium-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.