From unknown Fri Jun 20 19:55:14 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2715: 23.0.60; Changing font size Reply-To: Nathaniel Flath , 2715@debbugs.gnu.org Resent-From: Nathaniel Flath Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 19 Mar 2009 01:30:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 2715 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123742575714708 (code B ref -1); Thu, 19 Mar 2009 01:30:04 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 19 Mar 2009 01:22:37 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.1 required=4.0 tests=FOURLA,MULTALT autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2J1MXVm014701 for ; Wed, 18 Mar 2009 18:22:34 -0700 Received: from mail.gnu.org ([199.232.76.166]:60538 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Lk6xs-0004yK-TT for emacs-pretest-bug@gnu.org; Wed, 18 Mar 2009 21:22:33 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Lk6xr-00019Z-CA for emacs-pretest-bug@gnu.org; Wed, 18 Mar 2009 21:22:32 -0400 Received: from qw-out-1920.google.com ([74.125.92.148]:6078) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lk6xq-00019L-UD for emacs-pretest-bug@gnu.org; Wed, 18 Mar 2009 21:22:31 -0400 Received: by qw-out-1920.google.com with SMTP id 5so214279qwf.24 for ; Wed, 18 Mar 2009 18:22:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=aUv61xcYsf6yyio/82Na0jXWbA9RU07lviLHegzSphc=; b=iHlUM5p7huQ2EzMvtk5/Q7Dl7YmectMiJF0p7om5tg14MLBg1DuwhrRK4NR6k7l+vN +4jfJ7+BPOd04XijusUhIJsjzFVNoywbHs9cbTnhUMSya3e0P1CcWjU1uzbD2oVA0JB4 61bfzWzPZiOT0fGlZTAq2aG6zAgZx7fDl1D9M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=PMfsjoC4LSoVQlawRoz/nitTZHZs/iJM7MY43Q+bCVdqDj5HM96l749+S7yxMxQLRr kRNJTWja3G2G1XNBlVRAPAAe1Zt32QZMAWFCT7Q/pYmFgpT8PrgFZ+cxvDXHOCg2Jb5y fk32MFmTSvQoZK8qeoxi0AUIYLRS9I8jGGxRY= MIME-Version: 1.0 Received: by 10.229.82.79 with SMTP id a15mr1219767qcl.57.1237425748971; Wed, 18 Mar 2009 18:22:28 -0700 (PDT) Date: Wed, 18 Mar 2009 21:22:28 -0400 Message-ID: <5e3a506e0903181822p42a3d4b3j6b211f5bfc994308@mail.gmail.com> From: Nathaniel Flath To: emacs-pretest-bug@gnu.org Content-Type: multipart/alternative; boundary=00163646d5423411d104656ea2ba X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) --00163646d5423411d104656ea2ba Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Actions to reproduce: Start emacs with '-q' define the following function: (defun sacha/decrease-font-size () "Decreases the font size by 10%" (interactive) (set-face-attribute 'default nil :height (floor (* 0.9 (face-attribute 'default :height))))) Maximize the emacs window execute sacha/decrease-font-size Symptoms: Font size is reduced, but usable parts of emacs are also reduced - large amounts of inaccessible whitespace left at the right/bottom of the window. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/share/emacs/23.0.60/etc/DEBUG for instructions. In GNU Emacs 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.14.3) of 2008-10-13 on rothera, modified by Debian (emacs-snapshot package, version 1:20081013-1) Windowing system distributor `The X.Org Foundation', version 11.0.10502000 configured using `configure '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.60/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.60/site-lisp:/usr/share/emacs/site-lisp' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS='' 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_CA.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: tooltip-mode: t tool-bar-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 global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x C-f e m a c e m / e m m y f C-x C-e M-x s a c h a SPC d e SPC SPC SPC SPC M-x b u g SPC SPC SPC SPC r e p o SPC SPC r SPC SPC SPC SPC Recent messages: Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done Loading /etc/emacs/site-start.d/50mit-scheme.el (source)...done Loading /etc/emacs/site-start.d/50psvn.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... [2 times] Loading vc-git...done sacha/decrease-font-size Making completion list... [2 times] call-interactively: Text is read-only [7 times] Making completion list... [2 times] --00163646d5423411d104656ea2ba Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Please write in English if possible, because the Emacs maintainers
u= sually do not have translators to read other languages for them.

You= r bug report will be posted to the emacs-pretest-bug@gnu.org mailing list.

Please describe exactly what actions triggered the bug
and the preci= se symptoms of the bug:

Actions to reproduce:
Start emacs with &#= 39;-q'
define the following function:

(defun sacha/decrease-f= ont-size ()
=A0 "Decreases the font size by 10%"
=A0 (interactive)
=A0 = (set-face-attribute 'default
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0 nil
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0 :height
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0 (floor (* 0.9
=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0= =A0 (face-attribute 'default :height)))))
Maximize the emacs window
execute sacha/decrease-font-size
Symptoms:<= br>Font size is reduced, but usable parts of emacs are also reduced - large= amounts of inaccessible whitespace left at the right/bottom of the window.=

If Emacs crashed, and you have the Emacs process in the gdb debugger,please include the output from the following gdb commands:
=A0=A0=A0 `= bt full' and `xbacktrace'.
If you would like to further debug th= e crash, please read the file
/usr/share/emacs/23.0.60/etc/DEBUG for instructions.


In GNU Emac= s 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.14.3)
=A0of 2008-10-13 on= rothera, modified by Debian
=A0(emacs-snapshot package, version 1:20081= 013-1)
Windowing system distributor `The X.Org Foundation', version 11.0.10502= 000
configured using `configure=A0 '--build' 'i486-linux-gnu= ' '--host' 'i486-linux-gnu' '--prefix=3D/usr' &= #39;--sharedstatedir=3D/var/lib' '--libexecdir=3D/usr/lib' '= ;--localstatedir=3D/var' '--infodir=3D/usr/share/info' '--m= andir=3D/usr/share/man' '--with-pop=3Dyes' '--enable-locall= isppath=3D/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.60/sit= e-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.60/site-lisp:= /usr/share/emacs/site-lisp' '--with-x=3Dyes' '--with-x-tool= kit=3Dgtk' 'build_alias=3Di486-linux-gnu' 'host_alias=3Di48= 6-linux-gnu' 'CFLAGS=3D-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=3D5000 -g= -O2' 'LDFLAGS=3D-g -Wl,--as-needed' 'CPPFLAGS=3D''=

Important settings:
=A0 value of $LC_ALL: nil
=A0 value of $LC_CO= LLATE: nil
=A0 value of $LC_CTYPE: nil
=A0 value of $LC_MESSAGES: nil=
=A0 value of $LC_MONETARY: nil
=A0 value of $LC_NUMERIC: nil
=A0 = value of $LC_TIME: nil
=A0 value of $LANG: en_CA.UTF-8
=A0 value of $XMODIFIERS: nil
=A0 loc= ale-coding-system: utf-8-unix
=A0 default-enable-multibyte-characters: t=

Major mode: Emacs-Lisp

Minor modes in effect:
=A0 tooltip= -mode: t
=A0 tool-bar-mode: t
=A0 mouse-wheel-mode: t
=A0 menu-bar-mode: t
= =A0 file-name-shadow-mode: t
=A0 global-font-lock-mode: t
=A0 font-lo= ck-mode: t
=A0 blink-cursor-mode: t
=A0 global-auto-composition-mode:= t
=A0 auto-composition-mode: t
=A0 auto-encryption-mode: t
=A0 auto-compression-mode: t
=A0 line-num= ber-mode: t
=A0 transient-mark-mode: t

Recent input:
<help-= echo> <help-echo> <down-mouse-1> <mouse-1> C-x
C-f= e m a c <tab> <tab> e m <backspace> <backspace> / e m <tab> <tab> <help-echo> m y f <tab> <retur= n>
<down-mouse-1> <mouse-1> <down-mouse-1> <mou= se-1> C-x
C-e M-x s a c h a SPC d e SPC SPC SPC SPC <return> <= br> M-x b u g SPC SPC SPC SPC <backspace> <backspace> <backspace= >
<backspace> <backspace> <backspace> <backspac= e> <backspace>
<backspace> <backspace> <backspa= ce> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <= ;backspace>
<backspace> <backspace> <backspace> r = e p o SPC SPC
r SPC SPC SPC SPC <return>

Recent messages:<= br> Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...doneLoading /etc/emacs/site-start.d/50mit-scheme.el (source)...done
Loading= /etc/emacs/site-start.d/50psvn.el (source)...done
For information about= GNU Emacs and the GNU system, type C-h C-a.
Making completion list... [2 times]
Loading vc-git...done
sacha/decre= ase-font-size
Making completion list... [2 times]
call-interactively:= Text is read-only [7 times]
Making completion list... [2 times]

--00163646d5423411d104656ea2ba-- From unknown Fri Jun 20 19:55:14 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2715: 23.0.60; Changing font size Reply-To: Chong Yidong , 2715@debbugs.gnu.org Resent-From: Chong Yidong Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 24 Mar 2009 22:40:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2715 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 2715-submit@emacsbugs.donarmstrong.com id=B2715.12379340055617 (code B ref 2715); Tue, 24 Mar 2009 22:40:05 +0000 Received: (at 2715) by emacsbugs.donarmstrong.com; 24 Mar 2009 22:33:25 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2OMXMv6005611 for <2715@emacsbugs.donarmstrong.com>; Tue, 24 Mar 2009 15:33:23 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 715BB57E21E; Tue, 24 Mar 2009 18:34:50 -0400 (EDT) From: Chong Yidong To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Cc: 2715@debbugs.gnu.org Date: Tue, 24 Mar 2009 18:34:50 -0400 Message-ID: <871vsmr1md.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hi Jan, This is not strictly a GTK bug, but could you take a look at bug#2715? http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2715 The basic problem, I think, is that when the font size changes, Emacs tries to change the pixel width and height of the frame, keeping the row and column numbers unchanged (xterm.c:8116). However, this fails when the frame is maximized---in that case, we can only change the row and column numbers, and the pixel width and height cannot be changed. However, I am not sure how to fix this. Maybe you can suggest a solution? From unknown Fri Jun 20 19:55:14 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2715: 23.0.60; Changing font size Reply-To: Jan =?UTF-8?Q?Dj=C3=A4rv?= , 2715@debbugs.gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 25 Mar 2009 19:35:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2715 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 2715-submit@emacsbugs.donarmstrong.com id=B2715.123800930715062 (code B ref 2715); Wed, 25 Mar 2009 19:35:03 +0000 Received: (at 2715) by emacsbugs.donarmstrong.com; 25 Mar 2009 19:28:27 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: ** X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=2.6 required=4.0 tests=FOURLA,XIRONPORT autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from proxy2.bredband.net (proxy2.bredband.net [195.54.101.72]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2PJSNvK015045 for <2715@emacsbugs.donarmstrong.com>; Wed, 25 Mar 2009 12:28:24 -0700 Received: from ironport.bredband.com (195.54.101.120) by proxy2.bredband.net (7.3.139) id 49C917E200077727 for 2715@emacsbugs.donarmstrong.com; Wed, 25 Mar 2009 20:28:17 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aq8vACciyklV4S1uPGdsb2JhbACBUJQkAQEBATW9NIN1Bg X-IronPort-AV: E=Sophos;i="4.38,420,1233529200"; d="scan'208";a="498982280" Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ironport1.bredband.com with ESMTP; 25 Mar 2009 20:28:17 +0100 Received: from c-89-160-50-208.cust.bredband2.com (c-89-160-50-208.cust.bredband2.com [89.160.50.208]) by coolsville.localdomain (Postfix) with ESMTPSA id 962987FA07B; Wed, 25 Mar 2009 20:28:16 +0100 (CET) Message-ID: <49CA85D0.1090700@swipnet.se> Date: Wed, 25 Mar 2009 20:28:16 +0100 From: Jan =?UTF-8?Q?Dj=C3=A4rv?= User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Chong Yidong CC: 2715@debbugs.gnu.org References: <871vsmr1md.fsf@cyd.mit.edu> In-Reply-To: <871vsmr1md.fsf@cyd.mit.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Chong Yidong skrev: > Hi Jan, > > This is not strictly a GTK bug, but could you take a look at bug#2715? > > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2715 > > The basic problem, I think, is that when the font size changes, Emacs > tries to change the pixel width and height of the frame, keeping the row > and column numbers unchanged (xterm.c:8116). However, this fails when > the frame is maximized---in that case, we can only change the row and > column numbers, and the pixel width and height cannot be changed. > However, I am not sure how to fix this. Maybe you can suggest a > solution? The problem is that generally you can't really be sure if you are maximized or just big. But with a relative new window manager, there are properties we can look at to deduce what to do or not do, so we can cover those cases at least (i.e. all KDE, Gnome, XFCE and some more). I'll see what I can come up with. Jan D. From unknown Fri Jun 20 19:55:14 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2715: 23.0.60; Changing font size Reply-To: Jan =?UTF-8?Q?Dj=C3=A4rv?= , 2715@debbugs.gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 27 Mar 2009 18:55:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2715 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 2715-submit@emacsbugs.donarmstrong.com id=B2715.12381796931617 (code B ref 2715); Fri, 27 Mar 2009 18:55:04 +0000 Received: (at 2715) by emacsbugs.donarmstrong.com; 27 Mar 2009 18:48:13 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: ** X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=2.5 required=4.0 tests=XIRONPORT autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from proxy2.bredband.net (proxy2.bredband.net [195.54.101.72]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2RIm9d3001609 for <2715@emacsbugs.donarmstrong.com>; Fri, 27 Mar 2009 11:48:11 -0700 Received: from ironport.bredband.com (195.54.101.120) by proxy2.bredband.net (7.3.139) id 49CB85570009F2DF for 2715@emacsbugs.donarmstrong.com; Fri, 27 Mar 2009 19:48:03 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhcyAMe7zElV4S1uPGdsb2JhbACBUZQnAQEBATW7PoN3Bg X-IronPort-AV: E=Sophos;i="4.38,433,1233529200"; d="scan'208";a="501098271" Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ironport1.bredband.com with ESMTP; 27 Mar 2009 19:48:03 +0100 Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id 9B76B7FA07B; Fri, 27 Mar 2009 19:48:02 +0100 (CET) Message-ID: <49CD1F62.6090408@swipnet.se> Date: Fri, 27 Mar 2009 19:48:02 +0100 From: Jan =?UTF-8?Q?Dj=C3=A4rv?= User-Agent: Thunderbird 2.0.0.21 (X11/20090318) MIME-Version: 1.0 To: Chong Yidong CC: 2715@debbugs.gnu.org, flat0103@gmail.com References: <871vsmr1md.fsf@cyd.mit.edu> In-Reply-To: <871vsmr1md.fsf@cyd.mit.edu> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I've added a fix for the case when extended window manager hints are used, which should cover 90 to 95% of the X11 environments in use today. I'm planning to change fullscreen handling after the release so Emacs only supports extended window manager hints or the case where no window manager is present. The other cases are too much work for too little gain, and is also a bit timing dependant so it may fail sometimes. I don't want to close this yet, because I found another redrawing bug, that is present even before my change. It could be the theme I use, so it may not be Emacs fault. I'll investigate and if Eamcs is not to blame I will close this bug. From unknown Fri Jun 20 19:55:14 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Nathaniel Flath Subject: bug#2715 closed by Jan =?UTF-8?Q?Dj=C3=A4rv?= (Done) Message-ID: References: <49D3C59D.1090006@swipnet.se> <5e3a506e0903181822p42a3d4b3j6b211f5bfc994308@mail.gmail.com> X-Emacs-PR-Message: they-closed 2715 X-Emacs-PR-Package: emacs Reply-To: 2715@debbugs.gnu.org Date: Wed, 01 Apr 2009 20:00:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1238616003-16542-1" This is a multi-part message in MIME format... ------------=_1238616003-16542-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #2715: 23.0.60; Changing font size It has been closed by Jan Dj=C3=A4rv . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Jan Dj=C3=A4rv by replying to this email. --=20 2715: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D2715 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1238616003-16542-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 2715-done) by emacsbugs.donarmstrong.com; 1 Apr 2009 19:51:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: *** X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=3.5 required=4.0 tests=CLOSE,ONEWORD,XIRONPORT autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from proxy2.bredband.net (proxy2.bredband.net [195.54.101.72]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n31Jp0bE014970 for <2715-done@emacsbugs.donarmstrong.com>; Wed, 1 Apr 2009 12:51:02 -0700 Received: from ironport2.bredband.com (195.54.101.122) by proxy2.bredband.net (7.3.139) id 49CF78AF001DDD83 for 2715-done@emacsbugs.donarmstrong.com; Wed, 1 Apr 2009 21:50:54 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Al0MAM9h00lV4S1uPGdsb2JhbACBU4UwgluMLQEBAQG6KoN9Bg X-IronPort-AV: E=Sophos;i="4.39,308,1235948400"; d="scan'208";a="469746193" Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ironport2.bredband.com with ESMTP; 01 Apr 2009 21:50:54 +0200 Received: from winter.local (c-89-160-35-205.cust.bredband2.com [89.160.35.205]) by coolsville.localdomain (Postfix) with ESMTPSA id B5E7A7FA07B for <2715-done@emacsbugs.donarmstrong.com>; Wed, 1 Apr 2009 21:50:53 +0200 (CEST) Message-ID: <49D3C59D.1090006@swipnet.se> Date: Wed, 01 Apr 2009 21:50:53 +0200 From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: 2715-done@debbugs.gnu.org Subject: Done Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit ------------=_1238616003-16542-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 19 Mar 2009 01:22:37 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.1 required=4.0 tests=FOURLA,MULTALT autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2J1MXVm014701 for ; Wed, 18 Mar 2009 18:22:34 -0700 Received: from mail.gnu.org ([199.232.76.166]:60538 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Lk6xs-0004yK-TT for emacs-pretest-bug@gnu.org; Wed, 18 Mar 2009 21:22:33 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Lk6xr-00019Z-CA for emacs-pretest-bug@gnu.org; Wed, 18 Mar 2009 21:22:32 -0400 Received: from qw-out-1920.google.com ([74.125.92.148]:6078) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lk6xq-00019L-UD for emacs-pretest-bug@gnu.org; Wed, 18 Mar 2009 21:22:31 -0400 Received: by qw-out-1920.google.com with SMTP id 5so214279qwf.24 for ; Wed, 18 Mar 2009 18:22:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=aUv61xcYsf6yyio/82Na0jXWbA9RU07lviLHegzSphc=; b=iHlUM5p7huQ2EzMvtk5/Q7Dl7YmectMiJF0p7om5tg14MLBg1DuwhrRK4NR6k7l+vN +4jfJ7+BPOd04XijusUhIJsjzFVNoywbHs9cbTnhUMSya3e0P1CcWjU1uzbD2oVA0JB4 61bfzWzPZiOT0fGlZTAq2aG6zAgZx7fDl1D9M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=PMfsjoC4LSoVQlawRoz/nitTZHZs/iJM7MY43Q+bCVdqDj5HM96l749+S7yxMxQLRr kRNJTWja3G2G1XNBlVRAPAAe1Zt32QZMAWFCT7Q/pYmFgpT8PrgFZ+cxvDXHOCg2Jb5y fk32MFmTSvQoZK8qeoxi0AUIYLRS9I8jGGxRY= MIME-Version: 1.0 Received: by 10.229.82.79 with SMTP id a15mr1219767qcl.57.1237425748971; Wed, 18 Mar 2009 18:22:28 -0700 (PDT) Date: Wed, 18 Mar 2009 21:22:28 -0400 Message-ID: <5e3a506e0903181822p42a3d4b3j6b211f5bfc994308@mail.gmail.com> Subject: 23.0.60; Changing font size From: Nathaniel Flath To: emacs-pretest-bug@gnu.org Content-Type: multipart/alternative; boundary=00163646d5423411d104656ea2ba X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) --00163646d5423411d104656ea2ba Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Actions to reproduce: Start emacs with '-q' define the following function: (defun sacha/decrease-font-size () "Decreases the font size by 10%" (interactive) (set-face-attribute 'default nil :height (floor (* 0.9 (face-attribute 'default :height))))) Maximize the emacs window execute sacha/decrease-font-size Symptoms: Font size is reduced, but usable parts of emacs are also reduced - large amounts of inaccessible whitespace left at the right/bottom of the window. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/share/emacs/23.0.60/etc/DEBUG for instructions. In GNU Emacs 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.14.3) of 2008-10-13 on rothera, modified by Debian (emacs-snapshot package, version 1:20081013-1) Windowing system distributor `The X.Org Foundation', version 11.0.10502000 configured using `configure '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.60/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.60/site-lisp:/usr/share/emacs/site-lisp' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS='' 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_CA.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: tooltip-mode: t tool-bar-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 global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x C-f e m a c e m / e m m y f C-x C-e M-x s a c h a SPC d e SPC SPC SPC SPC M-x b u g SPC SPC SPC SPC r e p o SPC SPC r SPC SPC SPC SPC Recent messages: Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done Loading /etc/emacs/site-start.d/50mit-scheme.el (source)...done Loading /etc/emacs/site-start.d/50psvn.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... [2 times] Loading vc-git...done sacha/decrease-font-size Making completion list... [2 times] call-interactively: Text is read-only [7 times] Making completion list... [2 times] --00163646d5423411d104656ea2ba Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Please write in English if possible, because the Emacs maintainers
u= sually do not have translators to read other languages for them.

You= r bug report will be posted to the emacs-pretest-bug@gnu.org mailing list.

Please describe exactly what actions triggered the bug
and the preci= se symptoms of the bug:

Actions to reproduce:
Start emacs with &#= 39;-q'
define the following function:

(defun sacha/decrease-f= ont-size ()
=A0 "Decreases the font size by 10%"
=A0 (interactive)
=A0 = (set-face-attribute 'default
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0 nil
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0 :height
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0 (floor (* 0.9
=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0= =A0 (face-attribute 'default :height)))))
Maximize the emacs window
execute sacha/decrease-font-size
Symptoms:<= br>Font size is reduced, but usable parts of emacs are also reduced - large= amounts of inaccessible whitespace left at the right/bottom of the window.=

If Emacs crashed, and you have the Emacs process in the gdb debugger,please include the output from the following gdb commands:
=A0=A0=A0 `= bt full' and `xbacktrace'.
If you would like to further debug th= e crash, please read the file
/usr/share/emacs/23.0.60/etc/DEBUG for instructions.


In GNU Emac= s 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.14.3)
=A0of 2008-10-13 on= rothera, modified by Debian
=A0(emacs-snapshot package, version 1:20081= 013-1)
Windowing system distributor `The X.Org Foundation', version 11.0.10502= 000
configured using `configure=A0 '--build' 'i486-linux-gnu= ' '--host' 'i486-linux-gnu' '--prefix=3D/usr' &= #39;--sharedstatedir=3D/var/lib' '--libexecdir=3D/usr/lib' '= ;--localstatedir=3D/var' '--infodir=3D/usr/share/info' '--m= andir=3D/usr/share/man' '--with-pop=3Dyes' '--enable-locall= isppath=3D/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.60/sit= e-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.60/site-lisp:= /usr/share/emacs/site-lisp' '--with-x=3Dyes' '--with-x-tool= kit=3Dgtk' 'build_alias=3Di486-linux-gnu' 'host_alias=3Di48= 6-linux-gnu' 'CFLAGS=3D-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=3D5000 -g= -O2' 'LDFLAGS=3D-g -Wl,--as-needed' 'CPPFLAGS=3D''=

Important settings:
=A0 value of $LC_ALL: nil
=A0 value of $LC_CO= LLATE: nil
=A0 value of $LC_CTYPE: nil
=A0 value of $LC_MESSAGES: nil=
=A0 value of $LC_MONETARY: nil
=A0 value of $LC_NUMERIC: nil
=A0 = value of $LC_TIME: nil
=A0 value of $LANG: en_CA.UTF-8
=A0 value of $XMODIFIERS: nil
=A0 loc= ale-coding-system: utf-8-unix
=A0 default-enable-multibyte-characters: t=

Major mode: Emacs-Lisp

Minor modes in effect:
=A0 tooltip= -mode: t
=A0 tool-bar-mode: t
=A0 mouse-wheel-mode: t
=A0 menu-bar-mode: t
= =A0 file-name-shadow-mode: t
=A0 global-font-lock-mode: t
=A0 font-lo= ck-mode: t
=A0 blink-cursor-mode: t
=A0 global-auto-composition-mode:= t
=A0 auto-composition-mode: t
=A0 auto-encryption-mode: t
=A0 auto-compression-mode: t
=A0 line-num= ber-mode: t
=A0 transient-mark-mode: t

Recent input:
<help-= echo> <help-echo> <down-mouse-1> <mouse-1> C-x
C-f= e m a c <tab> <tab> e m <backspace> <backspace> / e m <tab> <tab> <help-echo> m y f <tab> <retur= n>
<down-mouse-1> <mouse-1> <down-mouse-1> <mou= se-1> C-x
C-e M-x s a c h a SPC d e SPC SPC SPC SPC <return> <= br> M-x b u g SPC SPC SPC SPC <backspace> <backspace> <backspace= >
<backspace> <backspace> <backspace> <backspac= e> <backspace>
<backspace> <backspace> <backspa= ce> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <= ;backspace>
<backspace> <backspace> <backspace> r = e p o SPC SPC
r SPC SPC SPC SPC <return>

Recent messages:<= br> Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...doneLoading /etc/emacs/site-start.d/50mit-scheme.el (source)...done
Loading= /etc/emacs/site-start.d/50psvn.el (source)...done
For information about= GNU Emacs and the GNU system, type C-h C-a.
Making completion list... [2 times]
Loading vc-git...done
sacha/decre= ase-font-size
Making completion list... [2 times]
call-interactively:= Text is read-only [7 times]
Making completion list... [2 times]

--00163646d5423411d104656ea2ba-- ------------=_1238616003-16542-1--