unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ronan Waide <waider@waider.ie>
Subject: set-frame-width (and interactive resizing) lie about actual width
Date: Sat, 19 Oct 2002 11:29:39 +0100	[thread overview]
Message-ID: <200210191029.g9JATd403405@qaz.waider.ie> (raw)

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.

             reply	other threads:[~2002-10-19 10:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-19 10:29 Ronan Waide [this message]
2002-10-20  5:34 ` set-frame-width (and interactive resizing) lie about actual width Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200210191029.g9JATd403405@qaz.waider.ie \
    --to=waider@waider.ie \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).