From unknown Wed Aug 20 05:43:29 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#2401 <2401@debbugs.gnu.org> To: bug#2401 <2401@debbugs.gnu.org> Subject: Status: 23.0.90; set-frame-width does not take effect immediately? Reply-To: bug#2401 <2401@debbugs.gnu.org> Date: Wed, 20 Aug 2025 12:43:29 +0000 retitle 2401 23.0.90; set-frame-width does not take effect immediately? reassign 2401 emacs submitter 2401 Alex Khesin severity 2401 normal thanks From alexk@google.com Thu Feb 19 20:06:09 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 20 Feb 2009 04:06:09 +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.1 required=4.0 tests=FOURLA 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 n1K465Io023728 for ; Thu, 19 Feb 2009 20:06:07 -0800 Received: from mail.gnu.org ([199.232.76.166]:50838 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LaMcG-0001Mb-FX for emacs-pretest-bug@gnu.org; Thu, 19 Feb 2009 23:03:56 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LaMeG-0005KW-Lv for emacs-pretest-bug@gnu.org; Thu, 19 Feb 2009 23:06:04 -0500 Received: from smtp-out.google.com ([216.239.45.13]:48938) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LaMeG-0005Jq-9B for emacs-pretest-bug@gnu.org; Thu, 19 Feb 2009 23:06:00 -0500 Received: from zps36.corp.google.com (zps36.corp.google.com [172.25.146.36]) by smtp-out.google.com with ESMTP id n1K45tcr001841 for ; Thu, 19 Feb 2009 20:05:56 -0800 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1235102756; bh=knoVYKlceJ2ojTb7NIX49cmoOWE=; h=DomainKey-Signature:From:To:Subject:MIME-version:Content-type: Content-Transfer-Encoding:Message-Id:Date:X-System-Of-Record; b=sy Vhys5h0eLEwQG5DSmwugNkl9WU4kkphiQwtWnbZ0kv29AavdHomQppzUTA9y2F3RoRU GbQRIAc1XgxR7RewQ== DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=from:to:subject:mime-version:content-type: content-transfer-encoding:message-id:date:x-system-of-record; b=Ib0RkA7yuukmmwwlYr6MBlCVl54RBE7DvzUeVymzsrt1dXZgOKyME0iAvN8NK88ed s1xmpl55dvsWvcfXWjoZQ== Received: from localhost (alexk-warp.nyc.corp.google.com [172.26.79.129]) by zps36.corp.google.com with ESMTP id n1K45roT018426 for ; Thu, 19 Feb 2009 20:05:54 -0800 Received: by localhost (Postfix, from userid 9424) id 77C342544F0; Thu, 19 Feb 2009 23:05:53 -0500 (EST) From: Alex Khesin To: emacs-pretest-bug@gnu.org Subject: 23.0.90; set-frame-width does not take effect immediately? MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Message-Id: <20090220040553.77C342544F0@localhost> Date: Thu, 19 Feb 2009 23:05:53 -0500 (EST) X-System-Of-Record: true Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by smtp-out.google.com id n1K45tcr001841 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Consider the following function (defun test-split-window () (interactive) (delete-other-windows) (set-frame-width (selected-frame) 80) (set-frame-width (selected-frame) 163) (split-window-horizontally -80)) Up to about a month ago, CVS emacs used to end up with a frame containing= two 80-characters-wide windows after executing test-split-window. I upd= ated to the latest CVS earlier today, and I now get one of two behaviors:= either the frame is made 80 wide but split in two, or the frame becomes = 163 wide, but not split at all, with "Window width 0 (after splitting)" e= rror message. Adding short sleeps after set-frame-width fixes it: (defun test-split-window () (interactive) (delete-other-windows) (set-frame-width (selected-frame) 80) (sleep-for 0 500) (set-frame-width (selected-frame) 163) (sleep-for 0 500) (split-window-horizontally -80)) Executing the set-frame-window and split-window-horizontally by hand, one= after another, also has the desirable effect. It looks like set-frame-width does not take effect immediately anymore. In GNU Emacs 23.0.90.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.12.9) of 2009-02-19 on alexk-warp.nyc.corp.google.com Windowing system distributor `The X.Org Foundation', version 11.0.6090000= 0 configured using `configure '--with-x'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: C value of $LC_NUMERIC: C value of $LC_TIME: C value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Help Minor modes in effect: googlemenu-mode: t which-function-mode: t desktop-save-mode: t recentf-mode: t cua-mode: t show-paren-mode: t savehist-mode: t shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-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 column-number-mode: t line-number-mode: t transient-mark-mode: t view-mode: t Recent input: =20 C-c C-x b =20 C-=E2=88=9A C-v =20 M-x e v a k =20 l - r e g M-x a k - d o =20 M-x a k - s i n M-x =20 =20 =20 =20 =20 =20 =20 C-c M-x r e=20 p o r t - e m a a =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 M-x m a k e - f r =20 C-x m n C-x m y a l e k x k =20 @ k h e s i n . c o m e s t =20 t e s t t e s t i n g =20 C-c C-s C-x k M-x a k - s i n =20 =20 M-x=20 a k - d o M-x a k - d o =20 M-x a k - d M-x a k - s i n =20 M-x a k - d o M-x M-x=20 a k s i n =20 M-x =20 M-x C-r b u g Recent messages: byte-code: Beginning of buffer byte-code: End of buffer [5 times] byte-code: Beginning of buffer [4 times] Auto-saving... Auto-saving *mail*: Opening output file: no such file or directory, /tmp/= alexk/emacs_autosaves/home/alexk/#%*mail*# Unsent message being composed; erase it? (y or n)=20 sendmail-user-agent-compose: Message aborted Unsent message being composed; erase it? (y or n)=20 Sending...done split-window-horizontally: Window width 0 too small (after splitting) [3 = times] From mituharu@math.s.chiba-u.ac.jp Sun May 3 00:07:30 2009 Received: (at 2401) by emacsbugs.donarmstrong.com; 3 May 2009 07:07:30 +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.0 required=4.0 tests=HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mathmail.math.s.chiba-u.ac.jp (ntp.math.s.chiba-u.ac.jp [133.82.132.2]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n4377P5E014248 for <2401@emacsbugs.donarmstrong.com>; Sun, 3 May 2009 00:07:27 -0700 Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 431852C40; Sun, 3 May 2009 16:07:23 +0900 (JST) Date: Sun, 03 May 2009 16:07:23 +0900 Message-ID: From: YAMAMOTO Mitsuharu To: Alex Khesin , 2401@debbugs.gnu.org Subject: Re: bug#2401: 23.0.90; set-frame-width does not take effect immediately? In-Reply-To: <20090220040553.77C342544F0@localhost> References: <20090220040553.77C342544F0@localhost> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) Organization: Faculty of Science, Chiba University MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII >>>>> On Thu, 19 Feb 2009 23:05:53 -0500 (EST), Alex Khesin said: > Consider the following function > (defun test-split-window () > (interactive) > (delete-other-windows) > (set-frame-width (selected-frame) 80) > (set-frame-width (selected-frame) 163) > (split-window-horizontally -80)) > Up to about a month ago, CVS emacs used to end up with a frame > containing two 80-characters-wide windows after executing > test-split-window. I updated to the latest CVS earlier today, and I > now get one of two behaviors: either the frame is made 80 wide but > split in two, or the frame becomes 163 wide, but not split at all, > with "Window width 0 (after splitting)" error message. Adding short > sleeps after set-frame-width fixes it: > (defun test-split-window () > (interactive) > (delete-other-windows) > (set-frame-width (selected-frame) 80) > (sleep-for 0 500) > (set-frame-width (selected-frame) 163) > (sleep-for 0 500) > (split-window-horizontally -80)) > Executing the set-frame-window and split-window-horizontally by > hand, one after another, also has the desirable effect. > It looks like set-frame-width does not take effect immediately anymore. This seems to be related to Bug#2980(*1) and both can only be observable with GTK+ frames for me. Below is my experimental change for Bug#2980, and it is included in an (also experimental) GTK+ print dialog support (*2). Because the printing support measures page boundary with pos-visible-in-window-p in an invisible frame, it needs to know its size before receiving ConfigureNotify and calling xg_frame_resized. As far as I tested, this patch also works for this bug. *1: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2980 *2: http://lists.gnu.org/archive/html/emacs-devel/2009-04/msg00390.html YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp RCS file: /cvsroot/emacs/emacs/src/gtkutil.c,v retrieving revision 1.150 diff -c -p -r1.150 gtkutil.c *** src/gtkutil.c 19 Apr 2009 10:53:19 -0000 1.150 --- src/gtkutil.c 3 May 2009 06:40:58 -0000 *************** xg_frame_set_char_size (f, cols, rows) *** 736,741 **** --- 736,767 ---- x_wm_size_hint_off (f); gtk_window_resize (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), pixelwidth, pixelheight); + + #if 1 /* XXX: experimental change for Bug#2980 */ + /* Now, strictly speaking, we can't be sure that this is accurate, + but the window manager will get around to dealing with the size + change request eventually, and we'll hear how it went when the + ConfigureNotify event gets here. + + We could just not bother storing any of this information here, + and let the ConfigureNotify event set everything up, but that + might be kind of confusing to the Lisp code, since size changes + wouldn't be reported in the frame parameters until some random + point in the future when the ConfigureNotify event arrives. + + We pass 1 for DELAY since we can't run Lisp code inside of + a BLOCK_INPUT. */ + change_frame_size (f, rows, cols, 0, 1, 0); + FRAME_PIXEL_WIDTH (f) = pixelwidth; + FRAME_PIXEL_HEIGHT (f) = pixelheight; + + /* We've set {FRAME,PIXEL}_{WIDTH,HEIGHT} to the values we hope to + receive in the ConfigureNotify event; if we get what we asked + for, then the event won't cause the screen to become garbaged, so + we have to make sure to do it here. */ + SET_FRAME_GARBAGED (f); + #endif + flush_and_sync (f); x_wm_set_size_hint (f, 0, 0); } From alexk@google.com Wed May 6 14:58:02 2009 Received: (at 2401) by emacsbugs.donarmstrong.com; 6 May 2009 21:58:02 +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.0 required=4.0 tests=HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from smtp-out.google.com (smtp-out.google.com [216.239.33.17]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n46LvvXJ014133 for <2401@emacsbugs.donarmstrong.com>; Wed, 6 May 2009 14:57:58 -0700 Received: from wpaz33.hot.corp.google.com (wpaz33.hot.corp.google.com [172.24.198.97]) by smtp-out.google.com with ESMTP id n46LvtBh032214 for <2401@emacsbugs.donarmstrong.com>; Wed, 6 May 2009 22:57:56 +0100 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1241647076; bh=YeUKB5GSfFT3jDi88fXW4GnL3bU=; h=DomainKey-Signature:MIME-Version:In-Reply-To:References:Date: Message-ID:Subject:From:To:Content-Type:Content-Transfer-Encoding: X-System-Of-Record; b=L3/4BECZo6FIQTBoTktvz52WdJKsxUUpLsK19/6E45fP eKGY4MEW2qeVfAVNjcuCVloVUiONLuuNNWQMlX38EA== DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:date:message-id:subject:from:to: content-type:content-transfer-encoding:x-system-of-record; b=iVesqOeCeb9W8nnK+MaY19Wv349Pour0ybTqDAUVPS0hknS8czV30bfQFdHV9vq5A fyELIuJ+iTNw1jCLK4hBQ== Received: from ewy22 (ewy22.prod.google.com [10.241.103.22]) by wpaz33.hot.corp.google.com with ESMTP id n46LvrCb023625 for <2401@emacsbugs.donarmstrong.com>; Wed, 6 May 2009 14:57:54 -0700 Received: by ewy22 with SMTP id 22so643917ewy.0 for <2401@emacsbugs.donarmstrong.com>; Wed, 06 May 2009 14:57:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.210.41.1 with SMTP id o1mr3440124ebo.18.1241647073290; Wed, 06 May 2009 14:57:53 -0700 (PDT) In-Reply-To: References: <20090220040553.77C342544F0@localhost> Date: Wed, 6 May 2009 17:57:53 -0400 Message-ID: <5f9c505f0905061457v129e923ftb445116923bb793c@mail.gmail.com> Subject: Re: bug#2401: 23.0.90; set-frame-width does not take effect immediately? From: Alex Khesin To: YAMAMOTO Mitsuharu , 2401@debbugs.gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-System-Of-Record: true On Sun, May 3, 2009 at 3:07 AM, YAMAMOTO Mitsuharu wrote: > As far as I tested, this patch also works for this bug. Thank you, I just tried the patch and it does indeed work. From mituharu@math.s.chiba-u.ac.jp Thu May 7 19:28:26 2009 Received: (at 2401) by emacsbugs.donarmstrong.com; 8 May 2009 02:28:26 +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=-4.0 required=4.0 tests=AWL,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mathmail.math.s.chiba-u.ac.jp (mathmail.math.s.chiba-u.ac.jp [133.82.132.2]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n482SMS0030037 for <2401@emacsbugs.donarmstrong.com>; Thu, 7 May 2009 19:28:23 -0700 Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 04B252C44; Fri, 8 May 2009 11:28:22 +0900 (JST) Date: Fri, 08 May 2009 11:28:22 +0900 Message-ID: From: YAMAMOTO Mitsuharu To: Jan =?ISO-8859-1?Q?Dj=E4rv?= , Stefan Monnier , Chong Yidong Cc: Alex Khesin , 2401@debbugs.gnu.org Subject: Re: bug#2401: 23.0.90; set-frame-width does not take effect immediately? In-Reply-To: <5f9c505f0905061457v129e923ftb445116923bb793c@mail.gmail.com> References: <20090220040553.77C342544F0@localhost> <5f9c505f0905061457v129e923ftb445116923bb793c@mail.gmail.com> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) Organization: Faculty of Science, Chiba University MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII >>>>> On Wed, 6 May 2009 17:57:53 -0400, Alex Khesin said: > On Sun, May 3, 2009 at 3:07 AM, YAMAMOTO Mitsuharu > wrote: >> As far as I tested, this patch also works for this bug. > Thank you, I just tried the patch and it does indeed work. Jan, could you take a look at the patch in http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2401 ? The code and comment are just a copy from x_set_window_size_1. Maintainers, I think this change needs your approval to be committed at this stage, because Emacs 22 has the same problem and this is not a fix for a regression. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp From cyd@stupidchicken.com Thu May 7 20:19:47 2009 Received: (at 2401) by emacsbugs.donarmstrong.com; 8 May 2009 03:19:47 +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=AWL,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 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 n483JiFG012245 for <2401@emacsbugs.donarmstrong.com>; Thu, 7 May 2009 20:19:45 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 10D1D57E25A; Thu, 7 May 2009 23:19:54 -0400 (EDT) From: Chong Yidong To: YAMAMOTO Mitsuharu Cc: Jan =?utf-8?Q?Dj=C3=A4rv?= , Stefan Monnier , Alex Khesin , 2401@debbugs.gnu.org Subject: Re: bug#2401: 23.0.90; set-frame-width does not take effect immediately? References: <20090220040553.77C342544F0@localhost> <5f9c505f0905061457v129e923ftb445116923bb793c@mail.gmail.com> Date: Thu, 07 May 2009 23:19:53 -0400 In-Reply-To: (YAMAMOTO Mitsuharu's message of "Fri, 08 May 2009 11:28:22 +0900") Message-ID: <87r5z0e0x2.fsf@cyd.mit.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii YAMAMOTO Mitsuharu writes: > Jan, could you take a look at the patch in > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2401 ? > The code and comment are just a copy from x_set_window_size_1. > > Maintainers, I think this change needs your approval to be committed > at this stage, because Emacs 22 has the same problem and this is not a > fix for a regression. If Emacs 22 has the same problem, let's wait till after the release to commit this. The window manager handling code is delicate, and I don't want to make this kind of change now. From mituharu@math.s.chiba-u.ac.jp Thu May 7 20:36:01 2009 Received: (at 2401) by emacsbugs.donarmstrong.com; 8 May 2009 03:36:01 +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=-4.0 required=4.0 tests=AWL,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mathmail.math.s.chiba-u.ac.jp (ntp.math.s.chiba-u.ac.jp [133.82.132.2]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n483ZtLZ017477 for <2401@emacsbugs.donarmstrong.com>; Thu, 7 May 2009 20:35:56 -0700 Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id DBB2E2C40; Fri, 8 May 2009 12:35:54 +0900 (JST) Date: Fri, 08 May 2009 12:35:54 +0900 Message-ID: From: YAMAMOTO Mitsuharu To: Chong Yidong Cc: Jan =?ISO-8859-1?Q?Dj=E4rv?= , Stefan Monnier , Alex Khesin , 2401@debbugs.gnu.org Subject: Re: bug#2401: 23.0.90; set-frame-width does not take effect immediately? In-Reply-To: <87r5z0e0x2.fsf@cyd.mit.edu> References: <20090220040553.77C342544F0@localhost> <5f9c505f0905061457v129e923ftb445116923bb793c@mail.gmail.com> <87r5z0e0x2.fsf@cyd.mit.edu> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) Organization: Faculty of Science, Chiba University MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII >>>>> On Thu, 07 May 2009 23:19:53 -0400, Chong Yidong said: > YAMAMOTO Mitsuharu writes: >> Jan, could you take a look at the patch in >> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2401 ? >> The code and comment are just a copy from x_set_window_size_1. >> >> Maintainers, I think this change needs your approval to be >> committed at this stage, because Emacs 22 has the same problem and >> this is not a fix for a regression. > If Emacs 22 has the same problem, let's wait till after the release > to commit this. The window manager handling code is delicate, and I > don't want to make this kind of change now. I forgot to mention in the last mail that this is a GTK+-only problem. If you compare the default builds, i.e., Xaw for Emacs 22, and GTK+ for Emacs 23, then one could argue this is a regression. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp From cyd@stupidchicken.com Thu May 7 21:53:57 2009 Received: (at 2401) by emacsbugs.donarmstrong.com; 8 May 2009 04:53:57 +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=AWL,HAS_BUG_NUMBER 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 n484rs9H006462 for <2401@emacsbugs.donarmstrong.com>; Thu, 7 May 2009 21:53:56 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 80B6B57E25A; Fri, 8 May 2009 00:54:04 -0400 (EDT) From: Chong Yidong To: YAMAMOTO Mitsuharu Cc: Jan =?utf-8?Q?Dj=C3=A4rv?= , Stefan Monnier , Alex Khesin , 2401@debbugs.gnu.org Subject: Re: bug#2401: 23.0.90; set-frame-width does not take effect immediately? References: <20090220040553.77C342544F0@localhost> <5f9c505f0905061457v129e923ftb445116923bb793c@mail.gmail.com> <87r5z0e0x2.fsf@cyd.mit.edu> Date: Fri, 08 May 2009 00:54:04 -0400 In-Reply-To: (YAMAMOTO Mitsuharu's message of "Fri, 08 May 2009 12:35:54 +0900") Message-ID: <874ovwi49f.fsf@cyd.mit.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii YAMAMOTO Mitsuharu writes: > I forgot to mention in the last mail that this is a GTK+-only problem. > If you compare the default builds, i.e., Xaw for Emacs 22, and GTK+ > for Emacs 23, then one could argue this is a regression. No, we should compare the Emacs 23 GTK build with the Emacs 22 GTK build. Thanks for solving this, BTW. This problem has been puzzling me for a while. From monnier@IRO.UMontreal.CA Fri May 8 12:38:17 2009 Received: (at 2401) by emacsbugs.donarmstrong.com; 8 May 2009 19:38:18 +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=-4.6 required=4.0 tests=AWL,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from pruche.dit.umontreal.ca (pruche.dit.umontreal.ca [132.204.246.22]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n48JcA9A009994 for <2401@emacsbugs.donarmstrong.com>; Fri, 8 May 2009 12:38:12 -0700 Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id n48JcAm4028128; Fri, 8 May 2009 15:38:11 -0400 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 4220A3A907; Fri, 8 May 2009 15:38:09 -0400 (EDT) From: Stefan Monnier To: YAMAMOTO Mitsuharu Cc: Jan =?iso-8859-1?Q?Dj=E4rv?= , Chong Yidong , Alex Khesin , 2401@debbugs.gnu.org Subject: Re: bug#2401: 23.0.90; set-frame-width does not take effect immediately? Message-ID: References: <20090220040553.77C342544F0@localhost> <5f9c505f0905061457v129e923ftb445116923bb793c@mail.gmail.com> Date: Fri, 08 May 2009 15:38:09 -0400 In-Reply-To: (YAMAMOTO Mitsuharu's message of "Fri, 08 May 2009 11:28:22 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-NAI-Spam-Level: X-NAI-Spam-Score: 0.6 X-NAI-Spam-Rules: 2 Rules triggered SUBJ_HAS_SPACES=0.6, RV3271=0 >>> As far as I tested, this patch also works for this bug. >> Thank you, I just tried the patch and it does indeed work. > Jan, could you take a look at the patch in > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2401 ? > The code and comment are just a copy from x_set_window_size_1. > Maintainers, I think this change needs your approval to be committed > at this stage, because Emacs 22 has the same problem and this is not a > fix for a regression. I'd be in favor of installing this change, because it is is new in the default config of Emacs-23 (yes, it was already present in Emacs-22's Gtk code, but the fact that it only showed up in Emacs-23 indicates that the Gtk version of Emacs22 is not used as often). Stefan From jan.h.d@swipnet.se Sat May 9 03:51:31 2009 Received: (at 2401) by emacsbugs.donarmstrong.com; 9 May 2009 10:51:31 +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=-4.0 required=4.0 tests=AWL,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham 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 n49ApR4t004203 for <2401@emacsbugs.donarmstrong.com>; Sat, 9 May 2009 03:51:29 -0700 Received: from ironport2.bredband.com (195.54.101.122) by proxy2.bredband.net (7.3.140.3) id 49F59CBD0044E31B for 2401@emacsbugs.donarmstrong.com; Sat, 9 May 2009 12:51:21 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtkGAGv9BEpV4S1uPGdsb2JhbACBUJU0AQEBAbgEg34FiBM X-IronPort-AV: E=Sophos;i="4.40,320,1238968800"; d="scan'208";a="479687917" Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ironport2.bredband.com with ESMTP; 09 May 2009 12:51:21 +0200 Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id CA11D7FA07B; Sat, 9 May 2009 12:51:20 +0200 (CEST) Message-ID: <4A056028.5030400@swipnet.se> Date: Sat, 09 May 2009 12:51:20 +0200 From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= User-Agent: Thunderbird 2.0.0.21 (X11/20090409) MIME-Version: 1.0 To: YAMAMOTO Mitsuharu CC: Stefan Monnier , Chong Yidong , Alex Khesin , 2401@debbugs.gnu.org Subject: Re: bug#2401: 23.0.90; set-frame-width does not take effect immediately? References: <20090220040553.77C342544F0@localhost> <5f9c505f0905061457v129e923ftb445116923bb793c@mail.gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit YAMAMOTO Mitsuharu skrev: >>>>>> On Wed, 6 May 2009 17:57:53 -0400, Alex Khesin said: > >> On Sun, May 3, 2009 at 3:07 AM, YAMAMOTO Mitsuharu >> wrote: >>> As far as I tested, this patch also works for this bug. > >> Thank you, I just tried the patch and it does indeed work. > > Jan, could you take a look at the patch in > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2401 ? > The code and comment are just a copy from x_set_window_size_1. It seems to fix some other resize issues as well (notably removing/adding tool/menu bar repeatedly). Good catch! > > Maintainers, I think this change needs your approval to be committed > at this stage, because Emacs 22 has the same problem and this is not a > fix for a regression. I'd vote for this patch to be comitted. Granted, it is not a regression from Emacs 22, but it is simple and unlikely to break anything. Furthermore, it only affects resizing of frames on the Gtk+ build. Jan D. From cyd@stupidchicken.com Sat May 9 06:57:44 2009 Received: (at 2401) by emacsbugs.donarmstrong.com; 9 May 2009 13:57:44 +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=AWL,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 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 n49Dvdxw028143 for <2401@emacsbugs.donarmstrong.com>; Sat, 9 May 2009 06:57:40 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 0D74D57E21A; Sat, 9 May 2009 09:57:50 -0400 (EDT) From: Chong Yidong To: Jan =?utf-8?Q?Dj=C3=A4rv?= Cc: YAMAMOTO Mitsuharu , Stefan Monnier , Alex Khesin , 2401@debbugs.gnu.org Subject: Re: bug#2401: 23.0.90; set-frame-width does not take effect immediately? References: <20090220040553.77C342544F0@localhost> <5f9c505f0905061457v129e923ftb445116923bb793c@mail.gmail.com> <4A056028.5030400@swipnet.se> Date: Sat, 09 May 2009 09:57:49 -0400 In-Reply-To: <4A056028.5030400@swipnet.se> ("Jan =?utf-8?Q?Dj=C3=A4rv=22's?= message of "Sat, 09 May 2009 12:51:20 +0200") Message-ID: <877i0q5qg2.fsf@cyd.mit.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Jan Dj=C3=A4rv writes: > I'd vote for this patch to be comitted. Granted, it is not a > regression from Emacs 22, but it is simple and unlikely to break > anything. Furthermore, it only affects resizing of frames on the Gtk+ > build. If you think it's safe, then I'll take your word for it. Please go ahead and commit. From jan.h.d@swipnet.se Sun May 10 23:45:30 2009 Received: (at 2401) by emacsbugs.donarmstrong.com; 11 May 2009 06:45:32 +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.6 required=4.0 tests=AWL,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from proxy3.bredband.net (proxy3.bredband.net [195.54.101.73]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n4B6jLrf031167; Sun, 10 May 2009 23:45:22 -0700 Received: from ironport2.bredband.com (195.54.101.122) by proxy3.bredband.net (7.3.140.3) id 49F597CD004D5DC0; Mon, 11 May 2009 08:45:15 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmIHANRlB0pV4S1uPGdsb2JhbACBUJU1AQEBAbUfg34F X-IronPort-AV: E=Sophos;i="4.40,327,1238968800"; d="scan'208";a="480004869" Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ironport2.bredband.com with ESMTP; 11 May 2009 08:45:14 +0200 Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id 3F5DF7FA07B; Mon, 11 May 2009 08:45:14 +0200 (CEST) Message-ID: <4A07C97A.5010206@swipnet.se> Date: Mon, 11 May 2009 08:45:14 +0200 From: =?UTF-8?B?SmFuIERqw6Rydg==?= User-Agent: Thunderbird 2.0.0.21 (X11/20090409) MIME-Version: 1.0 To: Chong Yidong CC: YAMAMOTO Mitsuharu , Stefan Monnier , Alex Khesin , 2401@debbugs.gnu.org, 2401-done@debbugs.gnu.org Subject: Re: bug#2401: 23.0.90; set-frame-width does not take effect immediately? References: <20090220040553.77C342544F0@localhost> <5f9c505f0905061457v129e923ftb445116923bb793c@mail.gmail.com> <4A056028.5030400@swipnet.se> <877i0q5qg2.fsf@cyd.mit.edu> In-Reply-To: <877i0q5qg2.fsf@cyd.mit.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Chong Yidong skrev: > Jan Djärv writes: > >> I'd vote for this patch to be comitted. Granted, it is not a >> regression from Emacs 22, but it is simple and unlikely to break >> anything. Furthermore, it only affects resizing of frames on the Gtk+ >> build. > > If you think it's safe, then I'll take your word for it. Please go > ahead and commit. Done. Jan D. From unknown Wed Aug 20 05:43:29 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Mon, 08 Jun 2009 14:24:09 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator