From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Ronan Waide Newsgroups: gmane.emacs.bugs Subject: set-frame-width (and interactive resizing) lie about actual width Date: Sat, 19 Oct 2002 11:29:39 +0100 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <200210191029.g9JATd403405@qaz.waider.ie> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1035023441 18159 80.91.224.249 (19 Oct 2002 10:30:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 19 Oct 2002 10:30:41 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 182qsR-0004iN-00 for ; Sat, 19 Oct 2002 12:30:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 182qtB-0007h6-00; Sat, 19 Oct 2002 06:31:25 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 182qs4-0007VJ-00 for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2002 06:30:16 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 182qs1-0007Uw-00 for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2002 06:30:15 -0400 Original-Received: from 1cust12.tnt2.dub2.ie.uudial.net ([213.116.42.12] helo=qaz.waider.ie) by monty-python.gnu.org with esmtp (Exim 4.10) id 182qrs-0007OX-00 for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2002 06:30:08 -0400 Original-Received: (from waider@localhost) by qaz.waider.ie (8.11.6/8.11.6) id g9JATd403405; Sat, 19 Oct 2002 11:29:39 +0100 X-Authentication-Warning: qaz.waider.ie: waider set sender to waider@waider.ie using -f Original-To: bug-gnu-emacs@gnu.org Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:3726 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3726 In GNU Emacs 21.2.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars) of 2002-04-08 on porky.devel.redhat.com configured using `configure i386-redhat-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --with-gcc --with-pop --with-sound' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_IE@euro locale-coding-system: iso-latin-9 default-enable-multibyte-characters: nil I've done a little searching on Google and can't find if this bug is, in fact, a known bug. My current version of Emacs appears to be confused about the width of the frame in characters; if I try an interactive resize (i.e. grab frame with pointer, drag), the window manager's helper box in the top right showing me the current dimensions claims that the window is 80 characters wide when in fact it is 102. Likewise, if I do (set-frame-width (selected-frame) 80) I get a 102-char wide window. I've traced the problem to my X Resources file, attached here: *Background: Black *Foreground: White *pointerColor: White *cursorColor: White *bitmapIcon: on *font: -misc-fixed-medium-r-normal--14-140-75-*-c-*-iso8859-15 I guess the font setting is causing the problem. However, I don't understand WHY it's causing the problem. Any suggestions? Cheers, Waider. -- waider@waider.ie / Yes, it /is/ very personal of me. "I always thought of Reality as Diplomacy without the board, rules or consistent players." - Dalton.