From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#5848: 23.1.95; bands of background after font change if --with-x-toolkit=no Date: Tue, 06 Apr 2010 19:49:32 +0200 Message-ID: <4BBB742C.80605@swipnet.se> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1270576613 1544 80.91.229.12 (6 Apr 2010 17:56:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Apr 2010 17:56:53 +0000 (UTC) Cc: 5848@debbugs.gnu.org To: Ted Phelps Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 06 19:56:52 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NzD18-0004Lz-ML for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Apr 2010 19:56:51 +0200 Original-Received: from localhost ([127.0.0.1]:59134 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NzD18-0000yt-50 for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Apr 2010 13:56:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NzD0c-0000n8-10 for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2010 13:56:18 -0400 Original-Received: from [140.186.70.92] (port=38070 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NzD0X-0000kS-4Q for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2010 13:56:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NzD0P-0003zu-7s for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2010 13:56:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52325) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzD0P-0003zq-5n for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2010 13:56:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NzCuY-0003yf-QI; Tue, 06 Apr 2010 13:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Apr 2010 17:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5848 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 5848-submit@debbugs.gnu.org id=B5848.127057618215279 (code B ref 5848); Tue, 06 Apr 2010 17:50:02 +0000 Original-Received: (at 5848) by debbugs.gnu.org; 6 Apr 2010 17:49:42 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzCuD-0003yO-TO for submit@debbugs.gnu.org; Tue, 06 Apr 2010 13:49:42 -0400 Original-Received: from smtprelay-h12.telenor.se ([62.127.194.5]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzCuB-0003yI-CL for 5848@debbugs.gnu.org; Tue, 06 Apr 2010 13:49:41 -0400 Original-Received: from ipb2.telenor.se (ipb2.telenor.se [195.54.127.165]) by smtprelay-h12.telenor.se (Postfix) with ESMTP id 568DBE9706 for <5848@debbugs.gnu.org>; Tue, 6 Apr 2010 19:49:58 +0200 (CEST) X-SENDER-IP: [85.225.45.110] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: At4yAGMRu0tV4S1uPGdsb2JhbACbOgwBAQEBNS27HIJWFAgFghIE X-IronPort-AV: E=Sophos;i="4.51,373,1267398000"; d="scan'208";a="60100408" Original-Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ipb2.telenor.se with ESMTP; 06 Apr 2010 19:49:33 +0200 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id E6DDC7FA01A; Tue, 6 Apr 2010 19:49:32 +0200 (CEST) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 06 Apr 2010 13:50:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:36001 Archived-At: Can you say what window manager you are running and which fonts you are changing to and from? Jan D. Ted Phelps skrev 2010-04-06 16.25: > After changing the default font via the options menu, my Emacs frame > exhibits bands of the background colour along the bottom and right > edges. In my case these are 5 pixels wide. Resizing the window removes > these bands, but changing the default font re-introduces them. > Emacs-23.1 does not exhibit this behavior. > > I have bisected the revision history and determined that the change > occurred with v1.1048 of emacs/src/xterm.c: > > http://osdir.com/ml/emacs-diffs-gnu/2009-10/msg00381.html > > To be precise, reverting the changes to pixelheight and pixelwidth at > the beginning of the "@@ -8833,16 +8884,24 @@" blob in > x_set_widnow_size_1 cause these bands to disappear. > > The definitions of FRAME_TEXT_LINES_TO_PIXEL_HEIGHT and > FRAME_TEXT_COLS_TO_PIXEL_WIDTH already account for the frame's internal > border, so adding them in again seems superfluous. > > I note that when the gtk toolkit is in use, the x_set_window_size_1 > function isn't ordinarily called, so most folks won't have seen this > behavior. > > Thanks, > -Ted > > > In GNU Emacs 23.1.95.1 (x86_64-unknown-linux-gnu) > of 2010-04-06 on orpheus > Windowing system distributor `The X.Org Foundation', version 11.0.10800000 > configured using `configure 'CFLAGS=-Wall -O3 -pipe' '--without-sound' '--enable-asserts' '--with-x-toolkit=no'' > > Important settings: > value of $LC_ALL: en_AU.UTF-8 > 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: nil > value of $XMODIFIERS: nil > locale-coding-system: utf-8-unix > default enable-multibyte-characters: t > > Major mode: MH-Folder > > Minor modes in effect: > hl-line-mode: t > delete-selection-mode: t > global-quilt-mode: t > quilt-mode: t > tooltip-mode: t > mouse-wheel-mode: t > menu-bar-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > blink-cursor-mode: t > auto-encryption-mode: t > auto-compression-mode: t > line-number-mode: t > transient-mark-mode: t > > Recent input: > b F n C-SPC C-n > C-e C-p SPC C-a C-g J b t J b x 5 > 5 g t C-x o C-s p h e l p s C-a C-x o t d x 9 1 g > n t n t n C-SPC C-e C-n C-n C-n C-n C-n C-n > C-n C-n F c C-a C-n n n n n t n n n n n n > n n n n n n n n n n n p C-SPC C-e F c n n > t n n p SPC SPC t n C-SPC C-n C-e C-n F c > x F n C-v C-h v i s > v i s i b b e > M-: ( s e t q SPC v i s i b l e - b e l l > SPC t ) C-g C-g C-g C-g C-g C-g C-g C-g C-g > C-g C-g C-x o C-g C-g C-n C-p C-n C-x o C-x 1 C-g C-g > C-g C-g C-g C-g C-g C-g C-g C-g M-> C-g C-p C-p C-p > C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p > C-g C-g C-g C-g 9 6 h 9 6 g p p n > d d d d d d C-p n d t d x > M-: M-p C-g C-g C-g C-g C-g C-g C-g > C-g C-g C-g C-g C-g C-g C-g C-g C-g C-g C-g C-g C-g > C-g C-g C-g C-g C-g C-g C-g M-: M-p C-g C-g C-g C-g > C-g C-g C-g C-g C-g C-g C-g M-x b u > g r e p o r t e > > > Recent messages: > Making completion list... [2 times] > Type C-x 1 to delete the help window. > t > Quit [23 times] > Mark set > Quit [5 times] > No more undeleted messages > Processing deletes and refiles for +mhe-index/sequence/unseen...done > Quit [38 times] > Making completion list... [2 times] > > Load-path shadows: > ~/env/emacs/quilt hides /usr/local/share/emacs/site-lisp/quilt > ~/env/emacs/m4-mode hides /usr/local/share/emacs/23.1.95/lisp/progmodes/m4-mode > > Features: > (shadow sort emacsbug help-fns parse-time vc-cvs python-21 python comint > ring help-mode flow-fill mh-thread vc-rcs newcomment ispell mh-identity > mh-letter mh-comp cal-move mh-alias crm multi-isearch mail-extr mh-mime > mh-gnus mh-junk mule-util mh-search mh-show goto-addr thingatpt > gnus-cite gnus-art mm-uu mml2015 pgg pgg-parse pgg-def epg-config > mm-view smime dig gnus-sum nnoo gnus-group gnus-undo nnmail mail-source > format-spec gnus-start gnus-spec gnus-int message sendmail ecomplete > rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap > mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums gmm-utils mailheader > canlock sha1 hex-util hashcash gnus-win gnus-range gnus gnus-ems > nnheader mail-utils mm-util mail-prsvr wid-edit mh-seq mh-inc hl-line > mh-tool-bar mh-xface mh-utils mh-folder which-func imenu gnus-util netrc > time-date mh-scan pp view cal-china lunar solar cal-dst cal-bahai > cal-islam cal-hebrew holidays hol-loaddefs appt diary-lib diary-loaddefs > cal-menu easymenu calendar cal-loaddefs browse-url delsel server mh-e > mh-compat mailabbrev mh-acros cl cl-19 mh-buffers mh-loaddefs cc-styles > cc-align cc-engine cc-vars cc-defs regexp-opt tooltip ediff-hook > vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd > fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer > select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu > font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan > thai tai-viet lao korean japanese hebrew greek romanian slovak czech > european ethiopic indian cyrillic chinese case-table epa-hook > jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces > cus-face files text-properties overlay md5 base64 format env code-pages > mule custom widget hashtable-print-readable backquote > make-network-process dbusbind system-font-setting font-render-setting x > multi-tty emacs) > > > > >