From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 02 10:52:34 2013 Received: (at submit) by debbugs.gnu.org; 2 Dec 2013 15:52:34 +0000 Received: from localhost ([127.0.0.1]:54809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VnVnW-0002wM-3X for submit@debbugs.gnu.org; Mon, 02 Dec 2013 10:52:34 -0500 Received: from eggs.gnu.org ([208.118.235.92]:54885) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VnVnT-0002w9-Gl for submit@debbugs.gnu.org; Mon, 02 Dec 2013 10:52:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VnVnF-0002VP-MY for submit@debbugs.gnu.org; Mon, 02 Dec 2013 10:52:26 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:44912) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnVnF-0002VL-J8 for submit@debbugs.gnu.org; Mon, 02 Dec 2013 10:52:17 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56547) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnVn8-0000ma-2k for bug-gnu-emacs@gnu.org; Mon, 02 Dec 2013 10:52:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VnVn0-0002SD-I0 for bug-gnu-emacs@gnu.org; Mon, 02 Dec 2013 10:52:10 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:50710) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnVn0-0002S8-BC for bug-gnu-emacs@gnu.org; Mon, 02 Dec 2013 10:52:02 -0500 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rB2Fq0VB001701 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 2 Dec 2013 15:52:01 GMT Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rB2FpxSX021244 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 2 Dec 2013 15:52:00 GMT Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rB2FpxcM021223 for ; Mon, 2 Dec 2013 15:51:59 GMT MIME-Version: 1.0 Message-ID: <8dee88e8-6b12-4822-9586-e013328f2ddc@default> Date: Mon, 2 Dec 2013 07:51:59 -0800 (PST) From: Drew Adams To: bug-gnu-emacs@gnu.org Subject: 24.3.50; Latest build completely breaks my thumnail frames code X-Priority: 2 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) I cannot use the latest Emacs build at all. I extensively use thumbnail frames, which are tiny frames, fully functional, made by shrinking the frame's font size. FWIW, this is very important to me. The code is here: http://www.emacswiki.org/emacs-en/download/thumb-frm.el http://www.emacswiki.org/emacs-en/download/frame-cmds.el http://www.emacswiki.org/emacs-en/download/frame-fns.el The code is simple. But presumably you need not examine it. Just please, ASAP, restore the link between font size and frame size. Now, when I hit C-z to thumbify a frame, the font is shrunk, but the frame is not shrunk accordingly. The core of the code is this: (defun enlarge-font (&optional increment frame) "Increase size of font in FRAME by INCREMENT. Interactively, INCREMENT is given by the prefix argument. Optional FRAME parameter defaults to current frame." (interactive "p") (setq frame (or frame (selected-frame))) (let ((fontname (cdr (assq 'font (frame-parameters frame)))) (count enlarge-font-tries)) (setq fontname (enlarged-font-name fontname frame increment)) (while (and (not (x-list-fonts fontname)) (wholenump (setq count (1- count)))) (setq fontname (enlarged-font-name fontname frame increment))) (unless (x-list-fonts fontname) (error "Cannot change font size")) (modify-frame-parameters frame (list (cons 'font fontname))) ;; Update faces that want a bold or italic version of the default font. (when (< emacs-major-version 21) (frame-update-faces frame)))) (defun enlarged-font-name (fontname frame increment) "FONTNAME, after enlarging font size of FRAME by INCREMENT. FONTNAME is the font of FRAME." (when (query-fontset fontname) (let ((ascii (assq 'ascii (aref (fontset-info fontname frame) 2)))) (when ascii (setq fontname (nth 2 ascii))))) (let ((xlfd-fields (x-decompose-font-name fontname))) (unless xlfd-fields (error "Cannot decompose font name")) (let ((new-size (+ (string-to-number (aref xlfd-fields xlfd-regexp-pixelsize-subnum)) increment))) (unless (> new-size 0) (signal 'font-too-small (list new-size))) (aset xlfd-fields xlfd-regexp-pixelsize-subnum (number-to-string new-size))) ;; Set point size & width to "*", so frame width adjusts to new font (aset xlfd-fields xlfd-regexp-pointsize-subnum "*") (aset xlfd-fields xlfd-regexp-avgwidth-subnum "*") (x-compose-font-name xlfd-fields))) Though not needed to see the problem, here is the thumbify code that makes use of `enlarge-font': (defun thumfr-thumbify-frame (&optional frame) "Create a thumbnail version of FRAME (default: selected frame). Variable `thumfr-frame-parameters' is used to determine which frame parameters (such as `menu-bar-lines') to remove." (interactive) (setq frame (or frame (selected-frame))) (let* ((tf-params (frame-parameter frame 'thumfr-non-thumbnail-frame= )) (non-tf-params (thumfr-remove-if #'thumfr-thumfr-parameter-p (frame-parameters frame)))) (when thumfr-rename-when-thumbify-flag (rename-non-minibuffer-frame)) (unless (frame-parameter frame 'thumfr-thumbnail-frame) ; No-op if alre= ady a thumbnail. (set-frame-parameter frame 'thumfr-thumbnail-frame non-tf-params) (set-frame-parameter frame 'thumfr-non-thumbnail-frame nil) (condition-case thumfr-thumbify-frame (progn (enlarge-font (- thumfr-font-difference) frame) ; In `frame-cmd= s.el'. (when tf-params (modify-frame-parameters frame tf-params)) (when thumfr-next-stack-xoffset (set-frame-position frame thumfr-next-stack-xoffset thumfr-next-stack-yoffset) (setq thumfr-next-stack-xoffset nil thumfr-next-stack-yoffset nil)) (modify-frame-parameters frame thumfr-frame-parameters)) (font-too-small ; Try again, with a larger font. (set-frame-parameter frame 'thumfr-non-thumbnail-frame tf-params) (set-frame-parameter frame 'thumfr-thumbnail-frame nil) (unless (> thumfr-font-difference 0) (error (error-message-string thumfr-thumbify-frame))) (let ((thumfr-font-difference (1- thumfr-font-difference))) (thumfr-thumbify-frame frame))) (error (set-frame-parameter frame 'thumfr-non-thumbnail-frame tf-params) (set-frame-parameter frame 'thumfr-thumbnail-frame nil) (error (error-message-string thumfr-thumbify-frame))))))) =20 In GNU Emacs 24.3.50.1 (i686-pc-mingw32) of 2013-12-01 on ODIEONE Bzr revision: 115342 eggert@cs.ucla.edu-20131201223313-xvgrjlk0r9aiakes Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --prefix=3D/c/Devel/emacs/binary --enable-checking=3Dyes,glyphs 'CFLAGS=3D-O0 -g3' CPPFLAGS=3D-Ic:/Devel/emacs/include LDFLAGS=3D-Lc:/Devel/emacs/lib' From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 02 10:58:12 2013 Received: (at 16028) by debbugs.gnu.org; 2 Dec 2013 15:58:12 +0000 Received: from localhost ([127.0.0.1]:54826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VnVsx-00035U-Ts for submit@debbugs.gnu.org; Mon, 02 Dec 2013 10:58:12 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:41956) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VnVsv-00035A-Uq for 16028@debbugs.gnu.org; Mon, 02 Dec 2013 10:58:10 -0500 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rB2Fw3CL010910 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <16028@debbugs.gnu.org>; Mon, 2 Dec 2013 15:58:03 GMT Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rB2Fw2xt006889 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <16028@debbugs.gnu.org>; Mon, 2 Dec 2013 15:58:02 GMT Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rB2Fw1Pu015008 for <16028@debbugs.gnu.org>; Mon, 2 Dec 2013 15:58:01 GMT MIME-Version: 1.0 Message-ID: <96c37273-b354-4d28-8035-9beaf085774f@default> Date: Mon, 2 Dec 2013 07:58:01 -0800 (PST) From: Drew Adams To: 16028@debbugs.gnu.org Subject: RE: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <8dee88e8-6b12-4822-9586-e013328f2ddc@default> In-Reply-To: <8dee88e8-6b12-4822-9586-e013328f2ddc@default> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 16028 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Should have added: This regression occurred between a build from 2013/11/18 and a build from 2013/12/02. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 02 13:16:45 2013 Received: (at 16028) by debbugs.gnu.org; 2 Dec 2013 18:16:45 +0000 Received: from localhost ([127.0.0.1]:55008 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VnY33-0006mf-Bo for submit@debbugs.gnu.org; Mon, 02 Dec 2013 13:16:45 -0500 Received: from mout.gmx.net ([212.227.17.21]:58238) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VnY30-0006mN-H2 for 16028@debbugs.gnu.org; Mon, 02 Dec 2013 13:16:43 -0500 Received: from [62.47.32.26] ([62.47.32.26]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0LdHLB-1VNK3345uT-00iQc5 for <16028@debbugs.gnu.org>; Mon, 02 Dec 2013 19:16:37 +0100 Message-ID: <529CCE7F.3070400@gmx.at> Date: Mon, 02 Dec 2013 19:16:31 +0100 From: martin rudalics MIME-Version: 1.0 To: Drew Adams Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <8dee88e8-6b12-4822-9586-e013328f2ddc@default> In-Reply-To: <8dee88e8-6b12-4822-9586-e013328f2ddc@default> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:24ixQtH0QSHN9rGxe8iJzs/2+4BQG3ZdhkoXFgaDv85E0MwU2mg zKQ/C444QsuzjNP1dz2ISszHNWhg++4unEsHuhUWjadj9Bl3tQzyEEGHu5cxUE9fdJfr8/T p/Zn//IhFSko0Yl+v5Wy/eJRcxo/OD82lcrhNFGsPNzwt9NXl1i1DICnNsc1coMnkCVL5Mm kqPiza5ryiWQ5JKn8OL3Q== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > I cannot use the latest Emacs build at all. I extensively use thumbnail > frames, which are tiny frames, fully functional, made by shrinking the > frame's font size. FWIW, this is very important to me. Sorry, I didn't intend to break that. I'll look into this as soon as I have time. martin From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 02 14:06:45 2013 Received: (at 16028) by debbugs.gnu.org; 2 Dec 2013 19:06:45 +0000 Received: from localhost ([127.0.0.1]:55075 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VnYpQ-00085T-M8 for submit@debbugs.gnu.org; Mon, 02 Dec 2013 14:06:45 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:42702) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VnYpO-00085F-DV for 16028@debbugs.gnu.org; Mon, 02 Dec 2013 14:06:42 -0500 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rB2J6ZAt018441 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 2 Dec 2013 19:06:36 GMT Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rB2J6Yn7005555 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 2 Dec 2013 19:06:34 GMT Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rB2J6YX3019709; Mon, 2 Dec 2013 19:06:34 GMT MIME-Version: 1.0 Message-ID: <92615add-b9b2-465b-ada3-3edee6810159@default> Date: Mon, 2 Dec 2013 11:06:33 -0800 (PST) From: Drew Adams To: martin rudalics Subject: RE: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <8dee88e8-6b12-4822-9586-e013328f2ddc@default> <529CCE7F.3070400@gmx.at> In-Reply-To: <529CCE7F.3070400@gmx.at> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > > I cannot use the latest Emacs build at all. I extensively use thumbna= il > > frames, which are tiny frames, fully functional, made by shrinking the > > frame's font size. FWIW, this is very important to me. >=20 > Sorry, I didn't intend to break that. I'll look into this as soon as I > have time. Don't be sorry. Take your time. And thank you very much for wanting to fix this. I really appreciate it. From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 05 09:02:46 2013 Received: (at 16028) by debbugs.gnu.org; 5 Dec 2013 14:02:46 +0000 Received: from localhost ([127.0.0.1]:59288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VoZVt-0004xT-Gg for submit@debbugs.gnu.org; Thu, 05 Dec 2013 09:02:45 -0500 Received: from mout.gmx.net ([212.227.15.18]:60910) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VoZVq-0004xK-So for 16028@debbugs.gnu.org; Thu, 05 Dec 2013 09:02:44 -0500 Received: from [62.47.49.53] ([62.47.49.53]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0Lwnem-1VUlSL1zjc-016Qu2 for <16028@debbugs.gnu.org>; Thu, 05 Dec 2013 15:02:41 +0100 Message-ID: <52A08780.9020405@gmx.at> Date: Thu, 05 Dec 2013 15:02:40 +0100 From: martin rudalics MIME-Version: 1.0 To: Drew Adams Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <8dee88e8-6b12-4822-9586-e013328f2ddc@default> <529CCE7F.3070400@gmx.at> In-Reply-To: <529CCE7F.3070400@gmx.at> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:4adNOXud3f9Q7n9Oik+TJ+/RzsW5sr5AOB9Ws9NO1rDVtHXo5Ld kHXRJ4CEwCTeNuBhHazN9Zj2T0oYkS5n2xcvruNMByp+ZdAy5qLyzijhcqT71C5Vyr1ZaXA xSx3cIEus85AzBVDukv2lYSvBR6O+AJYsyQmRbV5dQXoVsisr+zupLTauYdLnUG4RzDFjAm vcbsy8bhdwdlMNlvKup7g== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > Sorry, I didn't intend to break that. I'll look into this as soon as I > have time. Should be fixed now with revision 115383 on trunk. Could the kind soul providing Drew with binaries upload a new build so he may continue his frame bug tests ? Thanks, martin From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 05 11:33:44 2013 Received: (at 16028) by debbugs.gnu.org; 5 Dec 2013 16:33:44 +0000 Received: from localhost ([127.0.0.1]:60062 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vobrz-0000LA-Ba for submit@debbugs.gnu.org; Thu, 05 Dec 2013 11:33:43 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:42927) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vobrt-0000Ky-Iw for 16028@debbugs.gnu.org; Thu, 05 Dec 2013 11:33:38 -0500 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rB5GXZJv032316 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 5 Dec 2013 16:33:36 GMT Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rB5GXYUh008303 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 5 Dec 2013 16:33:35 GMT Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rB5GXY1C000478; Thu, 5 Dec 2013 16:33:34 GMT MIME-Version: 1.0 Message-ID: <3df21358-48ca-4150-9f0e-aa2dbf78cbcb@default> Date: Thu, 5 Dec 2013 08:33:33 -0800 (PST) From: Drew Adams To: martin rudalics Subject: RE: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <8dee88e8-6b12-4822-9586-e013328f2ddc@default> <529CCE7F.3070400@gmx.at> <52A08780.9020405@gmx.at> In-Reply-To: <52A08780.9020405@gmx.at> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > Should be fixed now with revision 115383 on trunk. >=20 > Could the kind soul providing Drew with binaries upload a new build > so he may continue his frame bug tests ? Excellent - I'll give it a try. Thanks, to you Martin and to all the other kind souls. From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 05 19:12:06 2013 Received: (at 16028) by debbugs.gnu.org; 6 Dec 2013 00:12:07 +0000 Received: from localhost ([127.0.0.1]:60774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Voj1a-0005kJ-0b for submit@debbugs.gnu.org; Thu, 05 Dec 2013 19:12:06 -0500 Received: from mail-ea0-f177.google.com ([209.85.215.177]:47284) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Voj1W-0005jq-G0 for 16028@debbugs.gnu.org; Thu, 05 Dec 2013 19:12:03 -0500 Received: by mail-ea0-f177.google.com with SMTP id n15so11553915ead.8 for <16028@debbugs.gnu.org>; Thu, 05 Dec 2013 16:12:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=YBvL9stVnH3NcxNyhbvStUrIIkNmJmU5eahIMcNIgZ0=; b=Kn+l4L2iWOHG0W6lttPYVdgqLEoQu8qI3IPC7IMoZUjXETRgmL9OFw7pNPnVV+Htq6 56Aw+VAgYa2II6Jt6u9fPb96SxzubxZx5nVzs0rTz9IxSTt3yfApqiHcgIpwXPfOvnNz DaGhjn8xoDNHsm+NOPy7qxivGkmDRQG6hPXssT4Nio+wej+KavRHuVtSDRr7RaG4KKYp C7DvLIVPnN2/l26GoX+pAWT5seSa8aKiUpGbkAi7heJuzo7Ff4/atXMNauhF2CWNylbu fUGvWMIN27IKwxIefp+1Ps3x65LcY9/LfXHYM+YMGygbeWlppYcSgeTzHtSZ86BbZHsv GYDA== X-Received: by 10.14.93.197 with SMTP id l45mr18917359eef.53.1386288721326; Thu, 05 Dec 2013 16:12:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.15.98.68 with HTTP; Thu, 5 Dec 2013 16:11:21 -0800 (PST) In-Reply-To: <52A08780.9020405@gmx.at> References: <8dee88e8-6b12-4822-9586-e013328f2ddc@default> <529CCE7F.3070400@gmx.at> <52A08780.9020405@gmx.at> From: Juanma Barranquero Date: Fri, 6 Dec 2013 01:11:21 +0100 Message-ID: Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code To: martin rudalics Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Thu, Dec 5, 2013 at 3:02 PM, martin rudalics wrote: > Could the kind soul providing Drew with binaries upload a new build > so he may continue his frame bug tests ? Unsure about the "kind soul" status, but building as we speak. J From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 05 19:18:29 2013 Received: (at 16028) by debbugs.gnu.org; 6 Dec 2013 00:18:30 +0000 Received: from localhost ([127.0.0.1]:60787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Voj7l-0005uC-2a for submit@debbugs.gnu.org; Thu, 05 Dec 2013 19:18:29 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:36859) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Voj7i-0005u3-CY for 16028@debbugs.gnu.org; Thu, 05 Dec 2013 19:18:27 -0500 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rB60IOxB002456 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 6 Dec 2013 00:18:25 GMT Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rB60INXf019056 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 6 Dec 2013 00:18:24 GMT Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rB60INDB016705; Fri, 6 Dec 2013 00:18:23 GMT MIME-Version: 1.0 Message-ID: <1e5f48d5-a0ab-4156-9927-d7c2879642cb@default> Date: Thu, 5 Dec 2013 16:18:22 -0800 (PST) From: Drew Adams To: Juanma Barranquero , martin rudalics Subject: RE: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <8dee88e8-6b12-4822-9586-e013328f2ddc@default> <529CCE7F.3070400@gmx.at> <52A08780.9020405@gmx.at> In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > > Could the kind soul providing Drew with binaries upload a new build > > so he may continue his frame bug tests ? >=20 > Unsure about the "kind soul" status, but building as we speak. Proof of "kind soul" status, I'd say. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 00:23:51 2013 Received: (at 16028) by debbugs.gnu.org; 6 Dec 2013 05:23:51 +0000 Received: from localhost ([127.0.0.1]:32807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VontH-00052k-5n for submit@debbugs.gnu.org; Fri, 06 Dec 2013 00:23:51 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:30222) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VontF-00052Z-30 for 16028@debbugs.gnu.org; Fri, 06 Dec 2013 00:23:49 -0500 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rB65Nlfo018521 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 6 Dec 2013 05:23:48 GMT Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rB65Nkiw004534 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 6 Dec 2013 05:23:47 GMT Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rB65Nkso004531; Fri, 6 Dec 2013 05:23:46 GMT MIME-Version: 1.0 Message-ID: <360e0ca4-7e4a-4f11-8157-c8f69e4ce913@default> Date: Thu, 5 Dec 2013 21:23:45 -0800 (PST) From: Drew Adams To: martin rudalics Subject: RE: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <8dee88e8-6b12-4822-9586-e013328f2ddc@default> <529CCE7F.3070400@gmx.at> <52A08780.9020405@gmx.at> <3df21358-48ca-4150-9f0e-aa2dbf78cbcb@default> In-Reply-To: <3df21358-48ca-4150-9f0e-aa2dbf78cbcb@default> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > > Should be fixed now with revision 115383 on trunk. >=20 > Excellent - I'll give it a try. Unfortunately, it doesn't help. Exactly the same broken behavior, I'm afraid. I tested using this build from Juanma: In GNU Emacs 24.3.50.1 (i686-pc-mingw32) of 2013-12-05 on ODIEONE Bzr revision: 115389 monnier@iro.umontreal.ca-20131205202554-1az0dm7bdk303b= gw Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --prefix=3D/c/Devel/emacs/binary --enable-checking=3Dyes,glyphs 'CFLAGS=3D-O0 -g3' CPPFLAGS=3D-Ic:/Devel/emacs/include LDFLAGS=3D-Lc:/Devel/emacs/lib' From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 03:20:49 2013 Received: (at 16028) by debbugs.gnu.org; 6 Dec 2013 08:20:49 +0000 Received: from localhost ([127.0.0.1]:32939 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VoqeW-00015K-5G for submit@debbugs.gnu.org; Fri, 06 Dec 2013 03:20:48 -0500 Received: from mout.gmx.net ([212.227.17.20]:55982) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VoqeS-000159-LE for 16028@debbugs.gnu.org; Fri, 06 Dec 2013 03:20:45 -0500 Received: from [62.47.61.24] ([62.47.61.24]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MTjqS-1VxkbL1q2S-00QWoT for <16028@debbugs.gnu.org>; Fri, 06 Dec 2013 09:20:43 +0100 Message-ID: <52A188D8.60608@gmx.at> Date: Fri, 06 Dec 2013 09:20:40 +0100 From: martin rudalics MIME-Version: 1.0 To: Drew Adams Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <8dee88e8-6b12-4822-9586-e013328f2ddc@default> <529CCE7F.3070400@gmx.at> <52A08780.9020405@gmx.at> <3df21358-48ca-4150-9f0e-aa2dbf78cbcb@default> <360e0ca4-7e4a-4f11-8157-c8f69e4ce913@default> In-Reply-To: <360e0ca4-7e4a-4f11-8157-c8f69e4ce913@default> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:uzES8phqQeewXEFrQEgMLwjrbxyw64WC8bQCNHX/FuC5z+MRNxl RBq7LZuGpUGyRNVuiGDQggT68IQk+E219560Ktfpp85wF4UkRPpzyOlYDuRMuuRVjs66mcp 1Yv0iInLBMHmesIMUMmmVVhONPcg6cUXiKZ1eFcKbN5tasRUArmtl1iV6yZhIC43yS5B7m8 DWwj4sx4DsHbVG/aIurJw== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > Unfortunately, it doesn't help. Exactly the same broken > behavior, I'm afraid. > > I tested using this build from Juanma: > > In GNU Emacs 24.3.50.1 (i686-pc-mingw32) > of 2013-12-05 on ODIEONE > Bzr revision: 115389 monnier@iro.umontreal.ca-20131205202554-1az0dm7bdk303bgw Then we have to dig into this further. Let's stick to this simple example (where `enlarged-font-name' is just yours): (defun enlarged-font-name (fontname frame increment) "FONTNAME, after enlarging font size of FRAME by INCREMENT. FONTNAME is the font of FRAME." (when (query-fontset fontname) (let ((ascii (assq 'ascii (aref (fontset-info fontname frame) 2)))) (when ascii (setq fontname (nth 2 ascii))))) (let ((xlfd-fields (x-decompose-font-name fontname))) (unless xlfd-fields (error "Cannot decompose font name")) (let ((new-size (+ (string-to-number (aref xlfd-fields xlfd-regexp-pixelsize-subnum)) increment))) (unless (> new-size 0) (signal 'font-too-small (list new-size))) (aset xlfd-fields xlfd-regexp-pixelsize-subnum (number-to-string new-size))) ;; Set point size & width to "*", so frame width adjusts to new font (aset xlfd-fields xlfd-regexp-pointsize-subnum "*") (aset xlfd-fields xlfd-regexp-avgwidth-subnum "*") (x-compose-font-name xlfd-fields))) (defun enlarge-font-by (increment) (let* ((old-size (cons (frame-width) (frame-height))) (old-pixel-size (cons (frame-pixel-width) (frame-pixel-height))) (old-font (cdr (assq 'font (frame-parameters (selected-frame))))) (new-font (enlarged-font-name old-font (selected-frame) increment))) (modify-frame-parameters (selected-frame) (list (cons 'font new-font))) (sit-for 0) (with-current-buffer (get-buffer-create "*temp*") (goto-char (point-max)) (insert (format "%s %s %s ->\n%s %s %s\n\n" old-font old-size old-pixel-size new-font (cons (frame-width) (frame-height)) (cons (frame-pixel-width) (frame-pixel-height))))))) ;; (eval-buffer) ;; (enlarge-font-by 4) ;; (enlarge-font-by -4) ;; (enlarge-font-by -4) ;; (enlarge-font-by 0) ;; (enlarge-font-by 4) With emacs -Q evaluating the commented out rows in sequence gets me in *temp*: -outline-Courier New-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1 (80 . 38) (672 . 608) -> -outline-Courier New-normal-normal-normal-mono-17-*-*-*-c-*-iso8859-1 (80 . 38) (836 . 760) -outline-Courier New-normal-normal-normal-mono-17-*-*-*-c-*-iso8859-1 (80 . 38) (836 . 760) -> -outline-Courier New-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1 (80 . 38) (672 . 608) -outline-Courier New-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1 (80 . 38) (672 . 608) -> -outline-Courier New-normal-normal-normal-mono-9-*-*-*-c-*-iso8859-1 (80 . 38) (436 . 456) -outline-Courier New-normal-normal-normal-mono-9-*-*-*-c-*-iso8859-1 (80 . 38) (436 . 456) -> -outline-Courier New-normal-normal-normal-mono-9-*-*-*-c-*-iso8859-1 (80 . 38) (436 . 456) -outline-Courier New-normal-normal-normal-mono-9-*-*-*-c-*-iso8859-1 (80 . 38) (436 . 456) -> -outline-Courier New-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1 (80 . 38) (672 . 608) The sit-for is needed for getting the right new pixel values, the resizing effect is the same when I comment it out. What do you get here? martin From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 03:45:22 2013 Received: (at 16028) by debbugs.gnu.org; 6 Dec 2013 08:45:22 +0000 Received: from localhost ([127.0.0.1]:32976 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vor2H-0001gk-CV for submit@debbugs.gnu.org; Fri, 06 Dec 2013 03:45:21 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:34886) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vor2E-0001gb-Po for 16028@debbugs.gnu.org; Fri, 06 Dec 2013 03:45:19 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MXD00F00MTJBA00@a-mtaout22.012.net.il> for 16028@debbugs.gnu.org; Fri, 06 Dec 2013 10:45:17 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MXD00FRWMZCAH10@a-mtaout22.012.net.il>; Fri, 06 Dec 2013 10:45:13 +0200 (IST) Date: Fri, 06 Dec 2013 10:45:01 +0200 From: Eli Zaretskii Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code In-reply-to: <52A188D8.60608@gmx.at> X-012-Sender: halo1@inter.net.il To: martin rudalics Message-id: <83txem1i7m.fsf@gnu.org> References: <8dee88e8-6b12-4822-9586-e013328f2ddc@default> <529CCE7F.3070400@gmx.at> <52A08780.9020405@gmx.at> <3df21358-48ca-4150-9f0e-aa2dbf78cbcb@default> <360e0ca4-7e4a-4f11-8157-c8f69e4ce913@default> <52A188D8.60608@gmx.at> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Fri, 06 Dec 2013 09:20:40 +0100 > From: martin rudalics > Cc: 16028@debbugs.gnu.org > > ;; (enlarge-font-by 4) > ;; (enlarge-font-by -4) > ;; (enlarge-font-by -4) > ;; (enlarge-font-by 0) > ;; (enlarge-font-by 4) > > > With emacs -Q evaluating the commented out rows in sequence gets me in *temp*: > > -outline-Courier New-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1 (80 . 38) (672 . 608) -> > -outline-Courier New-normal-normal-normal-mono-17-*-*-*-c-*-iso8859-1 (80 . 38) (836 . 760) > > -outline-Courier New-normal-normal-normal-mono-17-*-*-*-c-*-iso8859-1 (80 . 38) (836 . 760) -> > -outline-Courier New-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1 (80 . 38) (672 . 608) > > -outline-Courier New-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1 (80 . 38) (672 . 608) -> > -outline-Courier New-normal-normal-normal-mono-9-*-*-*-c-*-iso8859-1 (80 . 38) (436 . 456) > > -outline-Courier New-normal-normal-normal-mono-9-*-*-*-c-*-iso8859-1 (80 . 38) (436 . 456) -> > -outline-Courier New-normal-normal-normal-mono-9-*-*-*-c-*-iso8859-1 (80 . 38) (436 . 456) > > -outline-Courier New-normal-normal-normal-mono-9-*-*-*-c-*-iso8859-1 (80 . 38) (436 . 456) -> > -outline-Courier New-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1 (80 . 38) (672 . 608) > > > The sit-for is needed for getting the right new pixel values, the > resizing effect is the same when I comment it out. What do you get > here? Perhaps the real-life thumbnail-mode does something to restore the frame dimensions, thus countermanding the effect of making the font smaller? From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 09:13:39 2013 Received: (at 16028) by debbugs.gnu.org; 6 Dec 2013 14:13:39 +0000 Received: from localhost ([127.0.0.1]:33433 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vow9y-0002dn-Hu for submit@debbugs.gnu.org; Fri, 06 Dec 2013 09:13:38 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:22567) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vow9w-0002dc-FZ for 16028@debbugs.gnu.org; Fri, 06 Dec 2013 09:13:36 -0500 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rB6EDY2a000381 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 6 Dec 2013 14:13:35 GMT Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rB6EDXlP018787 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 6 Dec 2013 14:13:34 GMT Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rB6EDWPr025925; Fri, 6 Dec 2013 14:13:33 GMT MIME-Version: 1.0 Message-ID: Date: Fri, 6 Dec 2013 06:13:32 -0800 (PST) From: Drew Adams To: martin rudalics Subject: RE: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <8dee88e8-6b12-4822-9586-e013328f2ddc@default> <529CCE7F.3070400@gmx.at> <52A08780.9020405@gmx.at> <3df21358-48ca-4150-9f0e-aa2dbf78cbcb@default> <360e0ca4-7e4a-4f11-8157-c8f69e4ce913@default> <52A188D8.60608@gmx.at> In-Reply-To: <52A188D8.60608@gmx.at> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.5 (--) > What do you get here? ;; (enlarge-font-by 4) -outline-Courier New-normal-normal-normal-mono-17-*-*-*-c-*-iso8859-1 (80 .= 37) (841 . 740) -> -outline-Courier New-normal-normal-normal-mono-21-*-*-*-c-*-iso8859-1 (80 .= 37) (1087 . 851) ;; (enlarge-font-by -4) -outline-Courier New-normal-normal-normal-mono-21-*-*-*-c-*-iso8859-1 (80 .= 37) (1087 . 851) -> -outline-Courier New-normal-normal-normal-mono-17-*-*-*-c-*-iso8859-1 (80 .= 37) (841 . 740) ;; (enlarge-font-by -4) -outline-Courier New-normal-normal-normal-mono-17-*-*-*-c-*-iso8859-1 (80 .= 37) (841 . 740) -> -outline-Courier New-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1 (80 .= 37) (677 . 592) ;; (enlarge-font-by 0) -outline-Courier New-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1 (80 .= 37) (677 . 592) -> -outline-Courier New-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1 (80 .= 37) (677 . 592) ;; (enlarge-font-by 4) -outline-Courier New-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1 (80 .= 37) (677 . 592) -> -outline-Courier New-normal-normal-normal-mono-17-*-*-*-c-*-iso8859-1 (80 .= 37) (841 . 740) From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 09:32:18 2013 Received: (at 16028) by debbugs.gnu.org; 6 Dec 2013 14:32:18 +0000 Received: from localhost ([127.0.0.1]:33482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VowS0-00038Z-TY for submit@debbugs.gnu.org; Fri, 06 Dec 2013 09:32:17 -0500 Received: from mout.gmx.net ([212.227.15.15]:52485) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VowRx-00038Q-RN for 16028@debbugs.gnu.org; Fri, 06 Dec 2013 09:32:15 -0500 Received: from [62.47.32.183] ([62.47.32.183]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0LkBPy-1VILS51tiE-00c5cm for <16028@debbugs.gnu.org>; Fri, 06 Dec 2013 15:32:12 +0100 Message-ID: <52A1DFE8.3050708@gmx.at> Date: Fri, 06 Dec 2013 15:32:08 +0100 From: martin rudalics MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <8dee88e8-6b12-4822-9586-e013328f2ddc@default> <529CCE7F.3070400@gmx.at> <52A08780.9020405@gmx.at> <3df21358-48ca-4150-9f0e-aa2dbf78cbcb@default> <360e0ca4-7e4a-4f11-8157-c8f69e4ce913@default> <52A188D8.60608@gmx.at> <83txem1i7m.fsf@gnu.org> In-Reply-To: <83txem1i7m.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:Pq7hgIbprH+n8bH0N4syeZGEURWXJ6VXGdvJFIeYrpsXsbn/KxF eYUoTaPYiSzJkqFM7UJ9dggrQtIuXKjUOiGoPR2ncfPn2L/Bh+UytUII1J/htARH2SGLugD vWqGtBKqCkyvwkK30L2JkmotCc0PyIuTc/e/i10RIqi+GwkwQlqG6KG6XoZwjLeUzAORJf0 UJUn3ndI28qcXRZjzAtSg== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > Perhaps the real-life thumbnail-mode does something to restore the > frame dimensions, thus countermanding the effect of making the font > smaller? Maybe. But then `enlarge-font' isn't of much use in this context. martin From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 09:32:28 2013 Received: (at 16028) by debbugs.gnu.org; 6 Dec 2013 14:32:28 +0000 Received: from localhost ([127.0.0.1]:33485 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VowSA-000390-Os for submit@debbugs.gnu.org; Fri, 06 Dec 2013 09:32:27 -0500 Received: from mout.gmx.net ([212.227.17.20]:63895) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VowS3-00038k-UN for 16028@debbugs.gnu.org; Fri, 06 Dec 2013 09:32:20 -0500 Received: from [62.47.32.183] ([62.47.32.183]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MRTiG-1Vztik3en2-00Sg3G for <16028@debbugs.gnu.org>; Fri, 06 Dec 2013 15:32:19 +0100 Message-ID: <52A1DFF0.1050405@gmx.at> Date: Fri, 06 Dec 2013 15:32:16 +0100 From: martin rudalics MIME-Version: 1.0 To: Drew Adams Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <8dee88e8-6b12-4822-9586-e013328f2ddc@default> <529CCE7F.3070400@gmx.at> <52A08780.9020405@gmx.at> <3df21358-48ca-4150-9f0e-aa2dbf78cbcb@default> <360e0ca4-7e4a-4f11-8157-c8f69e4ce913@default> <52A188D8.60608@gmx.at> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:u5KR8JB3u+E1sDin6U8rwiGQkuh5kYu2dYrhR5SCY7ZUr2tI2l8 hf2o4nJb+kRaoQmYt8jDmED4ylVLuAni4Ud0XEOGDg7mY37Byt2EcGkZ2jQm/uXUufKWS2a 4Z1XT20FHI3uQ/gvouOuIfnNNzLdlXEyTrIVAXclc7EfE7an1CYAAvcR4e/vGEnob8gX0ph IVp5W46XccoaJ1tEfkb1g== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) >> What do you get here? > > ;; (enlarge-font-by 4) > > -outline-Courier New-normal-normal-normal-mono-17-*-*-*-c-*-iso8859-1 (80 . 37) (841 . 740) -> > -outline-Courier New-normal-normal-normal-mono-21-*-*-*-c-*-iso8859-1 (80 . 37) (1087 . 851) > > ;; (enlarge-font-by -4) > > -outline-Courier New-normal-normal-normal-mono-21-*-*-*-c-*-iso8859-1 (80 . 37) (1087 . 851) -> > -outline-Courier New-normal-normal-normal-mono-17-*-*-*-c-*-iso8859-1 (80 . 37) (841 . 740) > > ;; (enlarge-font-by -4) > > -outline-Courier New-normal-normal-normal-mono-17-*-*-*-c-*-iso8859-1 (80 . 37) (841 . 740) -> > -outline-Courier New-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1 (80 . 37) (677 . 592) > > ;; (enlarge-font-by 0) > > -outline-Courier New-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1 (80 . 37) (677 . 592) -> > -outline-Courier New-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1 (80 . 37) (677 . 592) > > ;; (enlarge-font-by 4) > > -outline-Courier New-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1 (80 . 37) (677 . 592) -> > -outline-Courier New-normal-normal-normal-mono-17-*-*-*-c-*-iso8859-1 (80 . 37) (841 . 740) So what am I missing? `enlarge-font' seems to work as expected. martin From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 09:43:17 2013 Received: (at 16028) by debbugs.gnu.org; 6 Dec 2013 14:43:17 +0000 Received: from localhost ([127.0.0.1]:33512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vowcf-0003Pm-2E for submit@debbugs.gnu.org; Fri, 06 Dec 2013 09:43:17 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:20914) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vowcd-0003Pe-Aj for 16028@debbugs.gnu.org; Fri, 06 Dec 2013 09:43:16 -0500 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rB6EhD09018357 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 6 Dec 2013 14:43:13 GMT Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rB6EhCn1016175 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 6 Dec 2013 14:43:13 GMT Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rB6EhCFP016790; Fri, 6 Dec 2013 14:43:12 GMT MIME-Version: 1.0 Message-ID: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> Date: Fri, 6 Dec 2013 06:43:11 -0800 (PST) From: Drew Adams To: Eli Zaretskii , martin rudalics Subject: RE: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <<8dee88e8-6b12-4822-9586-e013328f2ddc@default>> <<529CCE7F.3070400@gmx.at>> <<52A08780.9020405@gmx.at>> <<3df21358-48ca-4150-9f0e-aa2dbf78cbcb@default>> <<360e0ca4-7e4a-4f11-8157-c8f69e4ce913@default>> <<52A188D8.60608@gmx.at>> <<83txem1i7m.fsf@gnu.org>> In-Reply-To: <<83txem1i7m.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.5 (--) > Perhaps the real-life thumbnail-mode does something to restore the > frame dimensions, thus countermanding the effect of making the font > smaller? This is the core code, for thumbifying & dethumbifying: (defcustom thumfr-frame-parameters '((menu-bar-lines . 0) (tool-bar-lines . 0) (scroll-bar-width . 6)) "*Frame parameters for thumbnail frames. Use this to show or hide things like the menu bar, tool bar, tab bar, and scroll bars for thumbnail frames." :type '(repeat (cons symbol sexp)) :group 'Thumbnail-Frames :set (lambda (sym defs) (custom-set-default sym defs) (dolist (frm (frame-list)) (when (and (frame-live-p frm) (frame-parameter frm 'thumfr-thumbnail-frame)) (modify-frame-parameters frm thumfr-frame-parameters))))) (defun thumfr-thumbify-frame (&optional frame) "Create a thumbnail version of FRAME (default: selected frame). Variable `thumfr-frame-parameters' is used to determine which frame parameters (such as `menu-bar-lines') to remove." (interactive) (setq frame (or frame (selected-frame))) (let* ((tf-params (frame-parameter frame 'thumfr-non-thumbnail-frame= )) (non-tf-params (thumfr-remove-if #'thumfr-thumfr-parameter-p (frame-parameters frame)))) (when thumfr-rename-when-thumbify-flag (rename-non-minibuffer-frame)) (unless (frame-parameter frame 'thumfr-thumbnail-frame) (set-frame-parameter frame 'thumfr-thumbnail-frame non-tf-params) (set-frame-parameter frame 'thumfr-non-thumbnail-frame nil) (condition-case thumfr-thumbify-frame (progn (enlarge-font (- thumfr-font-difference) frame) (when tf-params (modify-frame-parameters frame tf-params)) (when thumfr-next-stack-xoffset (set-frame-position frame thumfr-next-stack-xoffset thumfr-next-stack-yoffset) (setq thumfr-next-stack-xoffset nil thumfr-next-stack-yoffset nil)) (modify-frame-parameters frame thumfr-frame-parameters)) (font-too-small ; Try again, with a larger font. (set-frame-parameter frame 'thumfr-non-thumbnail-frame tf-params) (set-frame-parameter frame 'thumfr-thumbnail-frame nil) (unless (> thumfr-font-difference 0) (error (error-message-string thumfr-thumbify-frame))) (let ((thumfr-font-difference (1- thumfr-font-difference))) (thumfr-thumbify-frame frame))) (error (set-frame-parameter frame 'thumfr-non-thumbnail-frame tf-params) (set-frame-parameter frame 'thumfr-thumbnail-frame nil) (error (error-message-string thumfr-thumbify-frame))))))) (defun thumfr-dethumbify-frame (&optional frame) "Restore thumbnail FRAME to original size (default: selected frame)." (interactive) (setq frame (or frame (selected-frame))) (let* ((non-tf-params (frame-parameter frame 'thumfr-thumbnail-frame)) (tf-params (thumfr-remove-if #'thumfr-thumfr-parameter-p (frame-parameters frame)))) (when non-tf-params ; No-op if not a thumbnail. (set-frame-parameter frame 'thumfr-non-thumbnail-frame tf-params) (set-frame-parameter frame 'thumfr-thumbnail-frame nil) (condition-case thumfr-dethumbify-frame (progn (enlarge-font thumfr-font-difference frame) (modify-frame-parameters frame non-tf-params)) (error (set-frame-parameter frame 'thumfr-thumbnail-frame non-tf-params) (set-frame-parameter frame 'thumfr-non-thumbnail-frame nil) (error (error-message-string thumfr-dethumbify-frame)))) (select-frame-set-input-focus frame) (thumfr-only-raise-frame frame)))) (defun thumfr-thumfr-parameter-p (parameter+value) "Return non-nil if PARAMETER+VALUE is a `thumb-frm.el' frame parameter. PARAMETER+VALUE is a frame-parameter cons: (PARAMETER . VALUE). This means that PARAMETER is either `thumbfr-thumbnail-frame' or `thumbfr-non-thumbnail-frame'." (memq (car parameter+value) '(thumfr-thumbnail-frame thumfr-non-thumbnail-frame))) To be clear (I was not, before; sorry), the problem is not with shrinking and enlarging the font and having the frame size follow. For instance, my commands `zoom-frm-out' and `zoom-frm-in' work fine in this respect. The problem is with thumbifying (`thumfr-thumbify-frame'). Running it through the debugger, I see that the frame _is_ shrunk correctly, along with the font, at this point in the code: (enlarge-font (- thumfr-font-difference) frame) ... (modify-frame-parameters frame thumfr-frame-parameters) But if I don't go through the debugger, it does not work. And if I just hit `c' in the debugger, instead of `d' throughout, it also does not work. This is 100% reproducible. Dunno why stepping through the debugger would work, and even hitting `c' for the `enlarge-font' call works, but hitting `c' for the `condition-case' does not. HTH. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 09:44:19 2013 Received: (at 16028) by debbugs.gnu.org; 6 Dec 2013 14:44:19 +0000 Received: from localhost ([127.0.0.1]:33518 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vowdd-0003Rm-QH for submit@debbugs.gnu.org; Fri, 06 Dec 2013 09:44:19 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:21500) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vowdc-0003Re-6t for 16028@debbugs.gnu.org; Fri, 06 Dec 2013 09:44:16 -0500 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rB6EiEwr019598 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 6 Dec 2013 14:44:15 GMT Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rB6EiDU2004875 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 6 Dec 2013 14:44:14 GMT Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rB6EiDZC019307; Fri, 6 Dec 2013 14:44:13 GMT MIME-Version: 1.0 Message-ID: <3f32c98f-a3f9-4177-830a-d6c4563476b8@default> Date: Fri, 6 Dec 2013 06:44:12 -0800 (PST) From: Drew Adams To: martin rudalics Subject: RE: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <8dee88e8-6b12-4822-9586-e013328f2ddc@default> <529CCE7F.3070400@gmx.at> <52A08780.9020405@gmx.at> <3df21358-48ca-4150-9f0e-aa2dbf78cbcb@default> <360e0ca4-7e4a-4f11-8157-c8f69e4ce913@default> <52A188D8.60608@gmx.at> <52A1DFF0.1050405@gmx.at> In-Reply-To: <52A1DFF0.1050405@gmx.at> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.5 (--) > So what am I missing? `enlarge-font' seems to work as expected. Yes, see my followup reply. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 09:56:50 2013 Received: (at 16028) by debbugs.gnu.org; 6 Dec 2013 14:56:50 +0000 Received: from localhost ([127.0.0.1]:34177 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vowpl-00050B-U0 for submit@debbugs.gnu.org; Fri, 06 Dec 2013 09:56:50 -0500 Received: from mout.gmx.net ([212.227.15.15]:64074) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vowpe-000505-3F for 16028@debbugs.gnu.org; Fri, 06 Dec 2013 09:56:47 -0500 Received: from [62.47.42.58] ([62.47.42.58]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0MCcvy-1VgfMJ0U2k-009TOa for <16028@debbugs.gnu.org>; Fri, 06 Dec 2013 15:56:41 +0100 Message-ID: <52A1E5A6.3010901@gmx.at> Date: Fri, 06 Dec 2013 15:56:38 +0100 From: martin rudalics MIME-Version: 1.0 To: Drew Adams Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <<8dee88e8-6b12-4822-9586-e013328f2ddc@default>> <<529CCE7F.3070400@gmx.at>> <<52A08780.9020405@gmx.at>> <<3df21358-48ca-4150-9f0e-aa2dbf78cbcb@default>> <<360e0ca4-7e4a-4f11-8157-c8f69e4ce913@default>> <<52A188D8.60608@gmx.at>> <<83txem1i7m.fsf@gnu.org>> <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> In-Reply-To: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:MmDJb2EFeN/JnAH7oNQgQEk3vauih9ucKXCi9KsWyxL9k70ow4r 8B050x5BdgyRs1ocsTdwTRY16fLHZJV1/C4wdYc1MZN6kFTdToox1yGDAs4LmHnezyFMgTo v/pIWvXliIG0BF9wkgFfqBvixZJ88kZXPTSkD2+/S1HVpUDhzhj6FsrZJXdN8LouGaDobEJ 74bXCZZHR8/y8NLgKrI+g== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16028 Cc: Eli Zaretskii , 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > Running it through the debugger, I see that the frame _is_ shrunk > correctly, along with the font, at this point in the code: > > (enlarge-font (- thumfr-font-difference) frame) > ... > (modify-frame-parameters frame thumfr-frame-parameters) > > But if I don't go through the debugger, it does not work. And if I just > hit `c' in the debugger, instead of `d' throughout, it also does not work. > > This is 100% reproducible. Dunno why stepping through the debugger would > work, and even hitting `c' for the `enlarge-font' call works, but hitting > `c' for the `condition-case' does not. Put in some sit-fors. Check whether and which exception handlers get called. Check which frame parameters get set and reset. martin From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 10:29:18 2013 Received: (at 16028) by debbugs.gnu.org; 6 Dec 2013 15:29:18 +0000 Received: from localhost ([127.0.0.1]:34218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VoxLB-0005mC-Is for submit@debbugs.gnu.org; Fri, 06 Dec 2013 10:29:17 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:27271) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VoxL9-0005m4-Fa for 16028@debbugs.gnu.org; Fri, 06 Dec 2013 10:29:15 -0500 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rB6FTCsV024019 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 6 Dec 2013 15:29:13 GMT Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rB6FTBRx021654 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 6 Dec 2013 15:29:11 GMT Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rB6FTAlX014406; Fri, 6 Dec 2013 15:29:10 GMT MIME-Version: 1.0 Message-ID: Date: Fri, 6 Dec 2013 07:29:10 -0800 (PST) From: Drew Adams To: martin rudalics Subject: RE: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <<8dee88e8-6b12-4822-9586-e013328f2ddc@default>> <<529CCE7F.3070400@gmx.at>> <<52A08780.9020405@gmx.at>> <<3df21358-48ca-4150-9f0e-aa2dbf78cbcb@default>> <<360e0ca4-7e4a-4f11-8157-c8f69e4ce913@default>> <<52A188D8.60608@gmx.at>> <<83txem1i7m.fsf@gnu.org>> <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> In-Reply-To: <52A1E5A6.3010901@gmx.at> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 16028 Cc: Eli Zaretskii , 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.5 (--) > Put in some sit-fors. Check whether and which exception handlers get > called. Check which frame parameters get set and reset. OK, I found that adding a (sit-for 0) after this call in `thumfr-thumbify-frame' fixes the problem: (enlarge-font (- thumfr-font-difference) frame) (And no error handlers were called with this simple test.) Do I need to do that in my code, or will you be doing something to your fix that incorporates this? If I need to do it, should I add the sit-for to the end of `enlarge-font' or add it only after the above call in `thumfr-thumbify-frame'. IOW, is this something that needs to be fixed in the frame shrinking/enlarging code, even though I do not generally notice a problem with that, or should it be handled only here and there, where I happen to notice a problem. (Normally, I would probably opt for the latter, but if you think this is now a wise or necessary thing to do in general, then let me know.) Thx. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 11:21:13 2013 Received: (at 16028) by debbugs.gnu.org; 6 Dec 2013 16:21:13 +0000 Received: from localhost ([127.0.0.1]:34308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Voy9Q-0007AO-8c for submit@debbugs.gnu.org; Fri, 06 Dec 2013 11:21:12 -0500 Received: from mout.gmx.net ([212.227.17.22]:63921) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Voy9D-00079O-9j for 16028@debbugs.gnu.org; Fri, 06 Dec 2013 11:21:10 -0500 Received: from [62.47.42.58] ([62.47.42.58]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MZD0K-1W9nJm18Xs-00L20C for <16028@debbugs.gnu.org>; Fri, 06 Dec 2013 17:20:58 +0100 Message-ID: <52A1F967.5070403@gmx.at> Date: Fri, 06 Dec 2013 17:20:55 +0100 From: martin rudalics MIME-Version: 1.0 To: Drew Adams Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <<8dee88e8-6b12-4822-9586-e013328f2ddc@default>> <<529CCE7F.3070400@gmx.at>> <<52A08780.9020405@gmx.at>> <<3df21358-48ca-4150-9f0e-aa2dbf78cbcb@default>> <<360e0ca4-7e4a-4f11-8157-c8f69e4ce913@default>> <<52A188D8.60608@gmx.at>> <<83txem1i7m.fsf@gnu.org>> <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:tOGJ9nDcexYBzRTamoqJnn4fEn0r4hLkJDCX+LwAOTJU6VcUnzz Bt0m/LYhPImv2N8bot63ce3sjz6+uM3SfNKdtVHjRgQzPAThZYJJT3v/argcL71YrnFeVdR p6vc8tA+CmmAWBPUTIAVU8mKHH0XWzX0soxdGYS3EaCjO+ZVrg2Ae+fMCF3QqQ+PeiaXC9Y +sG/L+sOqUx3iMoOfrfAQ== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16028 Cc: Eli Zaretskii , 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > OK, I found that adding a (sit-for 0) after this call in > `thumfr-thumbify-frame' fixes the problem: > > (enlarge-font (- thumfr-font-difference) frame) > > (And no error handlers were called with this simple test.) > > Do I need to do that in my code, or will you be doing something to > your fix that incorporates this? > > If I need to do it, should I add the sit-for to the end of `enlarge-font' > or add it only after the above call in `thumfr-thumbify-frame'. > > IOW, is this something that needs to be fixed in the frame > shrinking/enlarging code, even though I do not generally notice a problem > with that, or should it be handled only here and there, where I happen to > notice a problem. (Normally, I would probably opt for the latter, but if > you think this is now a wise or necessary thing to do in general, then > let me know.) Until we resolved this issue leave it in. IIUC for some reason setting the font apparently doesn't want to resize the frame immediately. I could imagine that somewhere in the code I compare numbers of lines/columns and decide that no resizing is needed because these are unchanged. Maybe you could try to insert somwhere at the top level a (ding) in window--resize-root-window (in window.el) and listen whether it rings when you try to thumbify a frame (with and without the sit-for). martin From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 11:43:43 2013 Received: (at 16028) by debbugs.gnu.org; 6 Dec 2013 16:43:43 +0000 Received: from localhost ([127.0.0.1]:34344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VoyVC-0007mM-NA for submit@debbugs.gnu.org; Fri, 06 Dec 2013 11:43:43 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:30902) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VoyVA-0007mC-1e for 16028@debbugs.gnu.org; Fri, 06 Dec 2013 11:43:40 -0500 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rB6GhbsU013973 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 6 Dec 2013 16:43:38 GMT Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rB6Ghaul023292 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 6 Dec 2013 16:43:37 GMT Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rB6GhaFi012959; Fri, 6 Dec 2013 16:43:36 GMT MIME-Version: 1.0 Message-ID: <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> Date: Fri, 6 Dec 2013 08:43:35 -0800 (PST) From: Drew Adams To: martin rudalics Subject: RE: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <<8dee88e8-6b12-4822-9586-e013328f2ddc@default>> <<529CCE7F.3070400@gmx.at>> <<52A08780.9020405@gmx.at>> <<3df21358-48ca-4150-9f0e-aa2dbf78cbcb@default>> <<360e0ca4-7e4a-4f11-8157-c8f69e4ce913@default>> <<52A188D8.60608@gmx.at>> <<83txem1i7m.fsf@gnu.org>> <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> In-Reply-To: <52A1F967.5070403@gmx.at> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 16028 Cc: Eli Zaretskii , 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.5 (--) > > Do I need to do that in my code, or will you be doing something to > > your fix that incorporates this? > > > > If I need to do it, should I add the sit-for to the end of `enlarge-fo= nt' > > or add it only after the above call in `thumfr-thumbify-frame'. > > > > IOW, is this something that needs to be fixed in the frame > > shrinking/enlarging code, even though I do not generally notice a prob= lem > > with that, or should it be handled only here and there, where I happen= to > > notice a problem. (Normally, I would probably opt for the latter, but= if > > you think this is now a wise or necessary thing to do in general, then > > let me know.) >=20 > Until we resolved this issue leave it in. OK, but leave it in where? That's my question. After the call to `enlarge-font' in `thumfr-thumbify-frame'? > IIUC for some reason setting the font apparently doesn't want to resize > the frame immediately. I could imagine that somewhere in the code I > compare numbers of lines/columns and decide that no resizing is needed > because these are unchanged. >=20 > Maybe you could try to insert somwhere at the top level a (ding) in > window--resize-root-window (in window.el) and listen whether it rings > when you try to thumbify a frame (with and without the sit-for). I have sound turned off and visual-bell has no effect in my environment. And I would rather not fiddle with `window--resize-root-window'. Are you unable to use `thumb-frm.el' for your tests? AFAIK, it works on any platform ("works" apart from this bug, I mean). You should be able to just load `frame-fns.el', `frame-cmds.el', and `thumb-frm.el', and try it. (You don't need all of the code in those 3 libraries, but it won't hurt to load them for quick testing.) But sad to say, when I try it from emacs -Q, loading those 3 libraries and inserting `sit-for' after `enlarge-font' in `thumfr-thumbify-frame', it does *not* solve the problem. It works for my setup, but not for this test from emacs -Q. Sounds like subtle display timing thingies. Or maybe font differences. Or...? I think it would be better if you could test this stuff on your end. It is easy to see the problem, at least - just try emacs -Q, load those 3 files, then hit C-z. Try adding sit-for here or there (where?), to see if it helps. I tried and failed (with emacs -Q). From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 12:22:21 2013 Received: (at 16028) by debbugs.gnu.org; 6 Dec 2013 17:22:21 +0000 Received: from localhost ([127.0.0.1]:34416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Voz6a-0000MD-Fa for submit@debbugs.gnu.org; Fri, 06 Dec 2013 12:22:20 -0500 Received: from mout.gmx.net ([212.227.17.21]:65413) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Voz6X-0000M2-NP for 16028@debbugs.gnu.org; Fri, 06 Dec 2013 12:22:18 -0500 Received: from [62.47.36.91] ([62.47.36.91]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0LbyUS-1V8Fq80rO0-00jEbS for <16028@debbugs.gnu.org>; Fri, 06 Dec 2013 18:22:16 +0100 Message-ID: <52A207C5.4070404@gmx.at> Date: Fri, 06 Dec 2013 18:22:13 +0100 From: martin rudalics MIME-Version: 1.0 To: Drew Adams Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <<8dee88e8-6b12-4822-9586-e013328f2ddc@default>> <<529CCE7F.3070400@gmx.at>> <<52A08780.9020405@gmx.at>> <<3df21358-48ca-4150-9f0e-aa2dbf78cbcb@default>> <<360e0ca4-7e4a-4f11-8157-c8f69e4ce913@default>> <<52A188D8.60608@gmx.at>> <<83txem1i7m.fsf@gnu.org>> <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> In-Reply-To: <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:SdNXsQ53IJpKUVGUOihYUh7ZD5zSGD4lYhNsI/joWvFZqt9Bwur 29g2PdrGabdb9J83lKkLS68P8pIseMggaxuWFM8OblHcuRMk9gcM6r5u+Ib3epmZsqxpPie 8MVEe10sX0PsMcS8e2beCyc87wxgIhPQhdbVSot/T7AstijtLYEJ92E04l0waKuO5HbwShd dQRatjz2DblHBctV3ui7w== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16028 Cc: Eli Zaretskii , 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > OK, but leave it in where? That's my question. After the call to > `enlarge-font' in `thumfr-thumbify-frame'? If it works, yes. > I have sound turned off and visual-bell has no effect in my environment. > And I would rather not fiddle with `window--resize-root-window'. In *scratch* evaluate (defvar my-thumbify nil) (defvar my-counter 0) (defun window--resize-root-window (window delta horizontal ignore pixelwise) "Resize root window WINDOW vertically by DELTA lines. HORIZONTAL non-nil means resize root window WINDOW horizontally by DELTA columns. IGNORE non-nil means ignore any restrictions imposed by fixed size windows, `window-min-height' or `window-min-width' settings. This function is only called by the frame resizing routines. It resizes windows proportionally and never deletes any windows." (when my-thumbify (setq my-counter (1+ my-counter))) (when (and (windowp window) (numberp delta)) (let ((pixel-delta (if pixelwise delta (window--size-to-pixel window delta horizontal)))) (when (window-sizable-p window pixel-delta horizontal ignore t) (window--resize-reset (window-frame window) horizontal) (window--resize-this-window window pixel-delta horizontal ignore t))))) and bind my-thumbify to t around your `enlarge-font' call. Then tell me the value of my-counter. > Are you unable to use `thumb-frm.el' for your tests? AFAIK, it works on > any platform ("works" apart from this bug, I mean). You should be able > to just load `frame-fns.el', `frame-cmds.el', and `thumb-frm.el', and > try it. (You don't need all of the code in those 3 libraries, but it > won't hurt to load them for quick testing.) I believe that your code works just as you say that it does. So this won't help. > But sad to say, when I try it from emacs -Q, loading those 3 libraries > and inserting `sit-for' after `enlarge-font' in `thumfr-thumbify-frame', > it does *not* solve the problem. It works for my setup, but not for > this test from emacs -Q. Sounds like subtle display timing thingies. > Or maybe font differences. Or...? Maybe. The problem is to boil this down to a minimum test example. If that example is three files long, it will take me a year to find out. > I think it would be better if you could test this stuff on your end. > It is easy to see the problem, at least - just try emacs -Q, load those > 3 files, then hit C-z. Try adding sit-for here or there (where?), to > see if it helps. I tried and failed (with emacs -Q). If you don't investigate yourself and come up with a simple, repeatable example, I'm afraid we won't be able to fix this soon. martin From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 13:22:35 2013 Received: (at 16028) by debbugs.gnu.org; 6 Dec 2013 18:22:35 +0000 Received: from localhost ([127.0.0.1]:34541 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vp02s-0001zB-LM for submit@debbugs.gnu.org; Fri, 06 Dec 2013 13:22:34 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:58431) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vp02q-0001z2-RD for 16028@debbugs.gnu.org; Fri, 06 Dec 2013 13:22:33 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MXE00J00DNGYE00@a-mtaout22.012.net.il> for 16028@debbugs.gnu.org; Fri, 06 Dec 2013 20:22:26 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MXE00JGODPEPM40@a-mtaout22.012.net.il>; Fri, 06 Dec 2013 20:22:26 +0200 (IST) Date: Fri, 06 Dec 2013 20:22:16 +0200 From: Eli Zaretskii Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code In-reply-to: <52A1F967.5070403@gmx.at> X-012-Sender: halo1@inter.net.il To: martin rudalics Message-id: <83a9gd261z.fsf@gnu.org> References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Fri, 06 Dec 2013 17:20:55 +0100 > From: martin rudalics > CC: Eli Zaretskii , 16028@debbugs.gnu.org > > IIUC for some reason setting the font apparently doesn't want to resize > the frame immediately. It's redisplay that actually does that, isn't it? From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 13:57:14 2013 Received: (at 16028) by debbugs.gnu.org; 6 Dec 2013 18:57:15 +0000 Received: from localhost ([127.0.0.1]:34609 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vp0aQ-0002vW-Lv for submit@debbugs.gnu.org; Fri, 06 Dec 2013 13:57:14 -0500 Received: from mout.gmx.net ([212.227.17.22]:51259) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vp0aO-0002vO-JJ for 16028@debbugs.gnu.org; Fri, 06 Dec 2013 13:57:13 -0500 Received: from [62.47.36.91] ([62.47.36.91]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MbPPQ-1W7lvH3Rau-00Ind6 for <16028@debbugs.gnu.org>; Fri, 06 Dec 2013 19:57:11 +0100 Message-ID: <52A21E05.2010309@gmx.at> Date: Fri, 06 Dec 2013 19:57:09 +0100 From: martin rudalics MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <83a9gd261z.fsf@gnu.org> In-Reply-To: <83a9gd261z.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:4n7haZxHgKot+Fd2CsakigBWrUjNW3QH8nUynw72Q2S76bvj4H8 9IyiF0KEVPI3EGwgZfG8H2ms+rAta8J3KpP9Tyz+POudLyOYVZw5e5DcH1RaChRvQ/+oPhX Ix2fpmS7Ba/ybqjj52CPqBOXla8NZAvGVOIrSP3qedlOJTtcBEa5AS4fbO2hpawjA7vxmBq wIuI/WbtUEaQWxf+jF7Yg== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) >> IIUC for some reason setting the font apparently doesn't want to resize >> the frame immediately. > > It's redisplay that actually does that, isn't it? Or should do that. x_set_font does a lot to make redisplay happen. martin From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 14:04:39 2013 Received: (at 16028) by debbugs.gnu.org; 6 Dec 2013 19:04:39 +0000 Received: from localhost ([127.0.0.1]:34651 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vp0ha-00038f-VM for submit@debbugs.gnu.org; Fri, 06 Dec 2013 14:04:39 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:31065) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vp0hY-00038X-Fg for 16028@debbugs.gnu.org; Fri, 06 Dec 2013 14:04:37 -0500 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rB6J4YvZ009474 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 6 Dec 2013 19:04:35 GMT Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rB6J4WeD019297 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 6 Dec 2013 19:04:33 GMT Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rB6J4V6R003084; Fri, 6 Dec 2013 19:04:31 GMT MIME-Version: 1.0 Message-ID: <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> Date: Fri, 6 Dec 2013 11:04:31 -0800 (PST) From: Drew Adams To: martin rudalics Subject: RE: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <<8dee88e8-6b12-4822-9586-e013328f2ddc@default>> <<529CCE7F.3070400@gmx.at>> <<52A08780.9020405@gmx.at>> <<3df21358-48ca-4150-9f0e-aa2dbf78cbcb@default>> <<360e0ca4-7e4a-4f11-8157-c8f69e4ce913@default>> <<52A188D8.60608@gmx.at>> <<83txem1i7m.fsf@gnu.org>> <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> In-Reply-To: <52A207C5.4070404@gmx.at> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 16028 Cc: Eli Zaretskii , 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.5 (--) > In *scratch* evaluate... > and bind my-thumbify to t around your `enlarge-font' call. Then tell me > the value of my-counter. I did that, with emacs -Q (loading the 3 (original) files plus your code). Same problem (yes, I know that what you suggested was not intended as a fix= ). `my-counter' =3D 0 after thumbifying. [Also, FWIW, When I did C-h v my-counter, the *Help* buffer was shown to the right of the main buffer, instead of below it. (Unrelated bug/feature, no doubt.) If I do `C-h v' with the frame not thumbified then *Help* shows up below, as usual. Perhaps this is because of the pixel width of the displayed buffer at the reduced font size.] HTH. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 14:15:33 2013 Received: (at 16028) by debbugs.gnu.org; 6 Dec 2013 19:15:33 +0000 Received: from localhost ([127.0.0.1]:34668 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vp0s8-0003PA-Im for submit@debbugs.gnu.org; Fri, 06 Dec 2013 14:15:32 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:34345) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vp0s4-0003Oz-Ae for 16028@debbugs.gnu.org; Fri, 06 Dec 2013 14:15:29 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MXE00K00G2BD400@a-mtaout22.012.net.il> for 16028@debbugs.gnu.org; Fri, 06 Dec 2013 21:15:26 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MXE00K8HG5Q3830@a-mtaout22.012.net.il>; Fri, 06 Dec 2013 21:15:26 +0200 (IST) Date: Fri, 06 Dec 2013 21:15:16 +0200 From: Eli Zaretskii Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code In-reply-to: <52A21E05.2010309@gmx.at> X-012-Sender: halo1@inter.net.il To: martin rudalics Message-id: <837gbh23ln.fsf@gnu.org> References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <83a9gd261z.fsf@gnu.org> <52A21E05.2010309@gmx.at> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Fri, 06 Dec 2013 19:57:09 +0100 > From: martin rudalics > CC: drew.adams@oracle.com, 16028@debbugs.gnu.org > > x_set_font does a lot to make redisplay happen. You mean the call to clear_current_matrices? AFAIR, that's not enough: it just ensures that _when_ redisplay happens, every screen line will get redrawn. But it doesn't force redisplay. Perhaps try calling fset_redisplay for that frame. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 06 16:32:56 2013 Received: (at 16028) by debbugs.gnu.org; 6 Dec 2013 21:32:56 +0000 Received: from localhost ([127.0.0.1]:34905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vp315-0000fb-Bj for submit@debbugs.gnu.org; Fri, 06 Dec 2013 16:32:55 -0500 Received: from mercure.iro.umontreal.ca ([132.204.24.67]:38619) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vp313-0000fT-MB for 16028@debbugs.gnu.org; Fri, 06 Dec 2013 16:32:53 -0500 Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id E91A584D96; Fri, 6 Dec 2013 16:32:52 -0500 (EST) Received: from lechon.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 090371E5B89; Fri, 6 Dec 2013 16:32:29 -0500 (EST) Received: by lechon.iro.umontreal.ca (Postfix, from userid 20848) id D81C8B40FA; Fri, 6 Dec 2013 16:32:28 -0500 (EST) From: Stefan Monnier To: Drew Adams Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code Message-ID: References: <8dee88e8-6b12-4822-9586-e013328f2ddc@default>> <529CCE7F.3070400@gmx.at>> <52A08780.9020405@gmx.at>> <3df21358-48ca-4150-9f0e-aa2dbf78cbcb@default>> <360e0ca4-7e4a-4f11-8157-c8f69e4ce913@default>> <52A188D8.60608@gmx.at>> <83txem1i7m.fsf@gnu.org>> <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> Date: Fri, 06 Dec 2013 16:32:28 -0500 In-Reply-To: (Drew Adams's message of "Fri, 6 Dec 2013 07:29:10 -0800 (PST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82, MC_TSTLAST 0.00) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-Spam-Status: No X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 16028 Cc: martin rudalics , 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.5 (--) > OK, I found that adding a (sit-for 0) after this call in > `thumfr-thumbify-frame' fixes the problem: [...] > Do I need to do that in my code, No. It's simply a bug that we need to fix. Stefan From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 07 04:46:48 2013 Received: (at 16028) by debbugs.gnu.org; 7 Dec 2013 09:46:48 +0000 Received: from localhost ([127.0.0.1]:35570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VpETI-00022u-3q for submit@debbugs.gnu.org; Sat, 07 Dec 2013 04:46:48 -0500 Received: from mout.gmx.net ([212.227.17.22]:55146) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VpETD-00022j-Pd for 16028@debbugs.gnu.org; Sat, 07 Dec 2013 04:46:44 -0500 Received: from [62.47.58.35] ([62.47.58.35]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0LsxuQ-1VQETj17zG-012Ynl for <16028@debbugs.gnu.org>; Sat, 07 Dec 2013 10:46:41 +0100 Message-ID: <52A2EE7B.4030105@gmx.at> Date: Sat, 07 Dec 2013 10:46:35 +0100 From: martin rudalics MIME-Version: 1.0 To: Drew Adams Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <<8dee88e8-6b12-4822-9586-e013328f2ddc@default>> <<529CCE7F.3070400@gmx.at>> <<52A08780.9020405@gmx.at>> <<3df21358-48ca-4150-9f0e-aa2dbf78cbcb@default>> <<360e0ca4-7e4a-4f11-8157-c8f69e4ce913@default>> <<52A188D8.60608@gmx.at>> <<83txem1i7m.fsf@gnu.org>> <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> In-Reply-To: <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:9kKd5IXhNP3OlNPoFFhpjO4IZROoAMimn01uA9zYt5Eoin9GJ0m 7QKECMw77ANZm3YxexP/DiusdLRGl54TT4LvmAO8sVk3EHLIK2XCMp+31pSUnlfAVHBS1TG wwE/HGxg/vpkaMk1bTswKtP4Vym5PrwlkIH6ZxusnD84k+REWHaA/wv45XDf24CFVyrb4IG i9Z5ziVj8sy52FoG6hMGQ== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16028 Cc: Eli Zaretskii , 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) >> and bind my-thumbify to t around your `enlarge-font' call. Then tell me >> the value of my-counter. > > I did that, with emacs -Q (loading the 3 (original) files plus your code). > Same problem (yes, I know that what you suggested was not intended as a fix). > > `my-counter' = 0 after thumbifying. Actually what I expected after your earlier description. Could you try once more with the `condition-case' in `thumfr-thumbify-frame' removed and see whether that changes anything? > [Also, FWIW, When I did C-h v my-counter, the *Help* buffer was shown to > the right of the main buffer, instead of below it. (Unrelated bug/feature, > no doubt.) If I do `C-h v' with the frame not thumbified then *Help* > shows up below, as usual. Perhaps this is because of the pixel width of > the displayed buffer at the reduced font size.] This could be normal - after all it's without your usual customizations of `display-buffer' IIUC. martin From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 07 04:46:53 2013 Received: (at 16028) by debbugs.gnu.org; 7 Dec 2013 09:46:53 +0000 Received: from localhost ([127.0.0.1]:35573 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VpETM-00023I-Nt for submit@debbugs.gnu.org; Sat, 07 Dec 2013 04:46:53 -0500 Received: from mout.gmx.net ([212.227.15.15]:50982) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VpETK-000238-Cr for 16028@debbugs.gnu.org; Sat, 07 Dec 2013 04:46:51 -0500 Received: from [62.47.58.35] ([62.47.58.35]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MXUmw-1W2tDj17QM-00WXSg for <16028@debbugs.gnu.org>; Sat, 07 Dec 2013 10:46:49 +0100 Message-ID: <52A2EE84.1040006@gmx.at> Date: Sat, 07 Dec 2013 10:46:44 +0100 From: martin rudalics MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <83a9gd261z.fsf@gnu.org> <52A21E05.2010309@gmx.at> <837gbh23ln.fsf@gnu.org> In-Reply-To: <837gbh23ln.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:aPPI2s8rhvb/CnLLfY9Dk1NkfbgfCMobyAPR/k5vXgNlQVIWrdX Ky0rTou9+r+HNIeEKXOwJvFNr6RVNVVWQmx2cBKyEmoQweuFBJPvxRwmLRNimsZ007kk298 1vr5nFLiKKm31Ev62BFMicqgiWykqj4y2ZyfP7B4QhjK0geBwbB+mzF81TaDnQTDe8miSDz uM7j1JbnLQQz4L1rIh+mQ== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) >> x_set_font does a lot to make redisplay happen. > > You mean the call to clear_current_matrices? AFAIR, that's not > enough: it just ensures that _when_ redisplay happens, every screen > line will get redrawn. But it doesn't force redisplay. > > Perhaps try calling fset_redisplay for that frame. If there are no errors, x_set_font inevitably calls x_new_font which on window inevitably calls x_set_window_size which inevitably calls my_set_window_pos. Or do you see some way out for this? So my only explanation is that something in Drew's setup signals an error which causes this to return earlier. BTW I could hardly analyze this at the moment because now I'm bitten by the "modeline doesn't update correctly" virus. `find-tag-noselect', when trying to go to the definition of x_new_font, switches from nsterm.m to w32term.c to xterm.c as expected but after going to nsterm.m the modeline buffer id is stuck at nsterm.m. martin From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 07 06:15:30 2013 Received: (at 16028) by debbugs.gnu.org; 7 Dec 2013 11:15:30 +0000 Received: from localhost ([127.0.0.1]:35672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VpFr8-0004Em-0s for submit@debbugs.gnu.org; Sat, 07 Dec 2013 06:15:30 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]:57765) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VpFr4-0004Eb-JG for 16028@debbugs.gnu.org; Sat, 07 Dec 2013 06:15:28 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MXF00500OEQDE00@a-mtaout20.012.net.il> for 16028@debbugs.gnu.org; Sat, 07 Dec 2013 13:15:25 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MXF005AUOLODU00@a-mtaout20.012.net.il>; Sat, 07 Dec 2013 13:15:25 +0200 (IST) Date: Sat, 07 Dec 2013 13:15:16 +0200 From: Eli Zaretskii Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code In-reply-to: <52A2EE84.1040006@gmx.at> X-012-Sender: halo1@inter.net.il To: martin rudalics Message-id: <83y53wzzcr.fsf@gnu.org> References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <83a9gd261z.fsf@gnu.org> <52A21E05.2010309@gmx.at> <837gbh23ln.fsf@gnu.org> <52A2EE84.1040006@gmx.at> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sat, 07 Dec 2013 10:46:44 +0100 > From: martin rudalics > CC: drew.adams@oracle.com, 16028@debbugs.gnu.org > > >> x_set_font does a lot to make redisplay happen. > > > > You mean the call to clear_current_matrices? AFAIR, that's not > > enough: it just ensures that _when_ redisplay happens, every screen > > line will get redrawn. But it doesn't force redisplay. > > > > Perhaps try calling fset_redisplay for that frame. > > If there are no errors, x_set_font inevitably calls x_new_font which on > window inevitably calls x_set_window_size which inevitably calls > my_set_window_pos. But my_set_window_pos just tells Windows to redraw the frame according to the current dimensions. It's the current dimensions that need to be changed, and that is done by redisplay, when it notices that the font was changed and therefore the dimensions of the glyph matrices need to be updated. > BTW I could hardly analyze this at the moment because now I'm bitten by > the "modeline doesn't update correctly" virus. `find-tag-noselect', > when trying to go to the definition of x_new_font, switches from > nsterm.m to w32term.c to xterm.c as expected but after going to nsterm.m > the modeline buffer id is stuck at nsterm.m. Probably due to Stefan's changes. "M-x redraw-display RET" should put you out of your misery. (It's entirely possible that just "M-x" will do.) From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 07 07:25:49 2013 Received: (at 16028) by debbugs.gnu.org; 7 Dec 2013 12:25:50 +0000 Received: from localhost ([127.0.0.1]:35747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VpGxB-00065Q-4c for submit@debbugs.gnu.org; Sat, 07 Dec 2013 07:25:49 -0500 Received: from mout.gmx.net ([212.227.15.18]:52737) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VpGx8-00065H-Hd for 16028@debbugs.gnu.org; Sat, 07 Dec 2013 07:25:47 -0500 Received: from [62.47.58.35] ([62.47.58.35]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0LdLw5-1V7Ads1jrV-00iPcb for <16028@debbugs.gnu.org>; Sat, 07 Dec 2013 13:25:45 +0100 Message-ID: <52A313C2.1070301@gmx.at> Date: Sat, 07 Dec 2013 13:25:38 +0100 From: martin rudalics MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <83a9gd261z.fsf@gnu.org> <52A21E05.2010309@gmx.at> <837gbh23ln.fsf@gnu.org> <52A2EE84.1040006@gmx.at> <83y53wzzcr.fsf@gnu.org> In-Reply-To: <83y53wzzcr.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:aQFqaKTKxue2sjghP9ypoJWac/yo8HzU622CtfcCaicPL+CbJCV vTp60vTGTbIFfw+70WcRlbxhzZ9+klHlPow62MhWW6AEl2nvjlur2zBurNfm28Pyn8v43Ty ikAj7J+TjfkKXLhX9LFQ30C+Wd69iuqDuZ6h79sc8YllbktnokGLq80B1bwUA8kISJxBvBR 3KHdOSXufXgE6W136tiVQ== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) >> If there are no errors, x_set_font inevitably calls x_new_font which on >> window inevitably calls x_set_window_size which inevitably calls >> my_set_window_pos. > > But my_set_window_pos just tells Windows to redraw the frame according > to the current dimensions. It's the current dimensions that need to > be changed, and that is done by redisplay, when it notices that the > font was changed and therefore the dimensions of the glyph matrices > need to be updated. my_set_window_pos sends a resize request to Windows so the frame size should visibly change. redisplay then can do whatever it wants - but it can't undo the frame size change. >> BTW I could hardly analyze this at the moment because now I'm bitten by >> the "modeline doesn't update correctly" virus. `find-tag-noselect', >> when trying to go to the definition of x_new_font, switches from >> nsterm.m to w32term.c to xterm.c as expected but after going to nsterm.m >> the modeline buffer id is stuck at nsterm.m. > > Probably due to Stefan's changes. "M-x redraw-display RET" should put > you out of your misery. (It's entirely possible that just "M-x" will > do.) I filed a bug report. martin From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 07 15:34:39 2013 Received: (at 16028) by debbugs.gnu.org; 7 Dec 2013 20:34:39 +0000 Received: from localhost ([127.0.0.1]:36942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VpOaE-0002Wd-9p for submit@debbugs.gnu.org; Sat, 07 Dec 2013 15:34:38 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:18401) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VpOaB-0002WU-GO for 16028@debbugs.gnu.org; Sat, 07 Dec 2013 15:34:36 -0500 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rB7KYXW1008872 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 7 Dec 2013 20:34:34 GMT Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rB7KYWsR014761 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 7 Dec 2013 20:34:32 GMT Received: from ubhmt111.oracle.com (ubhmt111.oracle.com [156.151.24.16]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rB7KYVts015610; Sat, 7 Dec 2013 20:34:31 GMT MIME-Version: 1.0 Message-ID: <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> Date: Sat, 7 Dec 2013 12:34:33 -0800 (PST) From: Drew Adams To: martin rudalics Subject: RE: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <<8dee88e8-6b12-4822-9586-e013328f2ddc@default>> <<529CCE7F.3070400@gmx.at>> <<52A08780.9020405@gmx.at>> <<3df21358-48ca-4150-9f0e-aa2dbf78cbcb@default>> <<360e0ca4-7e4a-4f11-8157-c8f69e4ce913@default>> <<52A188D8.60608@gmx.at>> <<83txem1i7m.fsf@gnu.org>> <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> In-Reply-To: <52A2EE7B.4030105@gmx.at> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 16028 Cc: Eli Zaretskii , 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.5 (--) > Could you try > once more with the `condition-case' in `thumfr-thumbify-frame' removed > and see whether that changes anything? I did that. It did not change anything. And the counter is still 0. HTH. From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 08 04:57:44 2013 Received: (at 16028) by debbugs.gnu.org; 8 Dec 2013 09:57:44 +0000 Received: from localhost ([127.0.0.1]:37647 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vpb7Q-00072y-2a for submit@debbugs.gnu.org; Sun, 08 Dec 2013 04:57:44 -0500 Received: from mout.gmx.net ([212.227.17.22]:55428) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vpb7N-00072q-LA for 16028@debbugs.gnu.org; Sun, 08 Dec 2013 04:57:42 -0500 Received: from [62.47.38.87] ([62.47.38.87]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0Lu874-1VOkqI3Vxu-011S0U for <16028@debbugs.gnu.org>; Sun, 08 Dec 2013 10:57:40 +0100 Message-ID: <52A4428F.4030101@gmx.at> Date: Sun, 08 Dec 2013 10:57:35 +0100 From: martin rudalics MIME-Version: 1.0 To: Drew Adams Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <<8dee88e8-6b12-4822-9586-e013328f2ddc@default>> <<529CCE7F.3070400@gmx.at>> <<52A08780.9020405@gmx.at>> <<3df21358-48ca-4150-9f0e-aa2dbf78cbcb@default>> <<360e0ca4-7e4a-4f11-8157-c8f69e4ce913@default>> <<52A188D8.60608@gmx.at>> <<83txem1i7m.fsf@gnu.org>> <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> In-Reply-To: <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:KkQq2pfshlFH/pH/OTXQZiLRjJj/H1qiMJuGBnl7NQF9l8LZU/F rgks8K/aWOfcP7S+P1bOuOJMWq+jhcrpmZsJB2qpZf8gd7JZqZw1TQErcD5UipGp2xb6a9B UGN626na67FUQ550hNvdeLAixYHL5irM4FTW5sMyG1DLC2aMLTIx4wx0fqPuEnKk957qNE5 98ho6SXsQgHHtZ+K6H47g== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16028 Cc: Eli Zaretskii , 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) >> Could you try >> once more with the `condition-case' in `thumfr-thumbify-frame' removed >> and see whether that changes anything? > > I did that. It did not change anything. And the counter is still 0. I'm running out of ideas. I now set the frame as garbaged which should include the fset_redisplay Eli proposed earlier. I don't have the slightest idea when to use which of these so this is just a shot in the dark. martin From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 08 12:32:00 2013 Received: (at 16028) by debbugs.gnu.org; 8 Dec 2013 17:32:00 +0000 Received: from localhost ([127.0.0.1]:38441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VpiD2-0002fl-Fn for submit@debbugs.gnu.org; Sun, 08 Dec 2013 12:32:00 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:26338) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VpiD0-0002fc-0d for 16028@debbugs.gnu.org; Sun, 08 Dec 2013 12:31:58 -0500 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rB8HVu4o027911 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 8 Dec 2013 17:31:56 GMT Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rB8HVtWv020058 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 8 Dec 2013 17:31:55 GMT Received: from abhmp0020.oracle.com (abhmp0020.oracle.com [141.146.116.26]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rB8HVt3D020055; Sun, 8 Dec 2013 17:31:55 GMT MIME-Version: 1.0 Message-ID: <600e7b0c-73bb-4163-8d03-a8579f250045@default> Date: Sun, 8 Dec 2013 09:31:57 -0800 (PST) From: Drew Adams To: martin rudalics Subject: RE: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <<8dee88e8-6b12-4822-9586-e013328f2ddc@default>> <<529CCE7F.3070400@gmx.at>> <<52A08780.9020405@gmx.at>> <<3df21358-48ca-4150-9f0e-aa2dbf78cbcb@default>> <<360e0ca4-7e4a-4f11-8157-c8f69e4ce913@default>> <<52A188D8.60608@gmx.at>> <<83txem1i7m.fsf@gnu.org>> <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> In-Reply-To: <52A4428F.4030101@gmx.at> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Spam-Score: -2.4 (--) X-Debbugs-Envelope-To: 16028 Cc: Eli Zaretskii , 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) > >> Could you try > >> once more with the `condition-case' in `thumfr-thumbify-frame' remove= d > >> and see whether that changes anything? > > > > I did that. It did not change anything. And the counter is still 0. >=20 > I'm running out of ideas. I now set the frame as garbaged which should > include the fset_redisplay Eli proposed earlier. I don't have the > slightest idea when to use which of these so this is just a shot in the > dark. I tried again with your recipe and a build with your latest try (from Juanma). No change in symptoms, unfortunately. I tried your recipe, both with and without the condition-case wrapper. `my-counter' =3D 0 still= . From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 08 12:54:20 2013 Received: (at 16028) by debbugs.gnu.org; 8 Dec 2013 17:54:20 +0000 Received: from localhost ([127.0.0.1]:38482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VpiYc-0003Ia-Q4 for submit@debbugs.gnu.org; Sun, 08 Dec 2013 12:54:20 -0500 Received: from mout.gmx.net ([212.227.15.15]:50272) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VpiYY-0003IO-IJ for 16028@debbugs.gnu.org; Sun, 08 Dec 2013 12:54:15 -0500 Received: from [62.47.37.125] ([62.47.37.125]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0Lu2F0-1VOfWl0YtC-011Ulj for <16028@debbugs.gnu.org>; Sun, 08 Dec 2013 18:54:13 +0100 Message-ID: <52A4B23E.9080609@gmx.at> Date: Sun, 08 Dec 2013 18:54:06 +0100 From: martin rudalics MIME-Version: 1.0 To: Drew Adams Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <<8dee88e8-6b12-4822-9586-e013328f2ddc@default>> <<529CCE7F.3070400@gmx.at>> <<52A08780.9020405@gmx.at>> <<3df21358-48ca-4150-9f0e-aa2dbf78cbcb@default>> <<360e0ca4-7e4a-4f11-8157-c8f69e4ce913@default>> <<52A188D8.60608@gmx.at>> <<83txem1i7m.fsf@gnu.org>> <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> In-Reply-To: <600e7b0c-73bb-4163-8d03-a8579f250045@default> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:RSP9P3Ba+GwkKWuXQGhMjkb6wess054fsWy2DjUvkB9gJ9H3cwy lK66x1omHLyYSHPG7dBN7hG9tqtuwwyaiiKTGef9ps/i3hvHKfEzaTj+gsHC+6BMqwh5zDO ki85y9V/tjdwiEVGpEkcbEOS3uktTd8BOUazUoR9vtHTbRTFAg48KmbTB2SRlOWN3lBnU4R m+e0sHN6/XJZQcjj9et9Q== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16028 Cc: Eli Zaretskii , 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > I tried again with your recipe and a build with your latest try (from > Juanma). No change in symptoms, unfortunately. I tried your recipe, > both with and without the condition-case wrapper. `my-counter' = 0 still. I have no more ideas. For some reason Emacs either refuses to redisplay the frame or insists on thinking that it still has the same size and no size change is needed. Maybe it's some additional hook you run. If you see a chance to do that, try to strip your code from all non-essential features while still reproducing the bug (this is what any person would have to do if she wanted to find the cause of this behavior). martin From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 09 12:14:36 2013 Received: (at 16028) by debbugs.gnu.org; 9 Dec 2013 17:14:36 +0000 Received: from localhost ([127.0.0.1]:40406 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vq4Pk-0000Ot-0O for submit@debbugs.gnu.org; Mon, 09 Dec 2013 12:14:36 -0500 Received: from mtaout21.012.net.il ([80.179.55.169]:58636) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vq4Ph-0000Og-Se for 16028@debbugs.gnu.org; Mon, 09 Dec 2013 12:14:35 -0500 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MXJ00K00UJV0Z00@a-mtaout21.012.net.il> for 16028@debbugs.gnu.org; Mon, 09 Dec 2013 19:14:31 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MXJ00JV3UK7S580@a-mtaout21.012.net.il>; Mon, 09 Dec 2013 19:14:31 +0200 (IST) Date: Mon, 09 Dec 2013 19:14:29 +0200 From: Eli Zaretskii Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code In-reply-to: <52A4B23E.9080609@gmx.at> X-012-Sender: halo1@inter.net.il To: martin rudalics Message-id: <837gbeymiy.fsf@gnu.org> References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sun, 08 Dec 2013 18:54:06 +0100 > From: martin rudalics > CC: Eli Zaretskii , 16028@debbugs.gnu.org > > > I tried again with your recipe and a build with your latest try (from > > Juanma). No change in symptoms, unfortunately. I tried your recipe, > > both with and without the condition-case wrapper. `my-counter' = 0 still. > > I have no more ideas. For some reason Emacs either refuses to redisplay > the frame or insists on thinking that it still has the same size and no > size change is needed. If no one beats me to it, I will try to look into this in a day or two. > Maybe it's some additional hook you run. Does this mean that the following recipe works for you? emacs -Q M-x load-file RET frame-fns.el RET M-x load-file RET frame-cmds.el RET M-x load-file RET thumb-frm.el RET C-z It doesn't work for me here, with today's trunk. If this doesn't work for you, then what hooks did you have in mind? From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 09 13:37:17 2013 Received: (at 16028) by debbugs.gnu.org; 9 Dec 2013 18:37:17 +0000 Received: from localhost ([127.0.0.1]:40525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vq5hl-0002bT-AV for submit@debbugs.gnu.org; Mon, 09 Dec 2013 13:37:17 -0500 Received: from mout.gmx.net ([212.227.15.19]:55941) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vq5hj-0002bM-TG for 16028@debbugs.gnu.org; Mon, 09 Dec 2013 13:37:16 -0500 Received: from [62.47.60.229] ([62.47.60.229]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0LnxQO-1VNddT0D1c-00g0Gb for <16028@debbugs.gnu.org>; Mon, 09 Dec 2013 19:37:15 +0100 Message-ID: <52A60DD2.1020303@gmx.at> Date: Mon, 09 Dec 2013 19:37:06 +0100 From: martin rudalics MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> In-Reply-To: <837gbeymiy.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:aMKlpqRGNw6xPavpXNsCAmIULaJASSeeygYc0dDivBw2XhsL6ef GevTnmTEx1/apfYa+pG54uAEUzE9foF7rDipez/43R4cAdwlDXkZXVuPIpo7OVJOhUjTTK6 /efXjwmvQs0NfK/ykygZVeG7KdhXDyia/WlG9pPmJiNKC5VyEKHkPoKiIOdB7OpoR4O/RKE btDqCi57gsGktddvT6Scw== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > If no one beats me to it, I will try to look into this in a day or > two. Please do. >> Maybe it's some additional hook you run. > > Does this mean that the following recipe works for you? > > emacs -Q > M-x load-file RET frame-fns.el RET > M-x load-file RET frame-cmds.el RET > M-x load-file RET thumb-frm.el RET > C-z > > It doesn't work for me here, with today's trunk. I haven't had tried that. But since Drew said it doesn't work I had no reason to doubt that it doesn't work. > If this doesn't work for you, then what hooks did you have in mind? I thought that code might have put something on hooks. martin From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 09 22:53:57 2013 Received: (at 16028) by debbugs.gnu.org; 10 Dec 2013 03:53:57 +0000 Received: from localhost ([127.0.0.1]:41227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqEOR-0000Qb-Hp for submit@debbugs.gnu.org; Mon, 09 Dec 2013 22:53:56 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:44310) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqEOM-0000QP-RF for 16028@debbugs.gnu.org; Mon, 09 Dec 2013 22:53:52 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MXK00G00O12VI00@a-mtaout22.012.net.il> for 16028@debbugs.gnu.org; Tue, 10 Dec 2013 05:53:49 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MXK00GBLO5ONS80@a-mtaout22.012.net.il>; Tue, 10 Dec 2013 05:53:49 +0200 (IST) Date: Tue, 10 Dec 2013 05:53:48 +0200 From: Eli Zaretskii Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code In-reply-to: <52A60DD2.1020303@gmx.at> X-012-Sender: halo1@inter.net.il To: martin rudalics Message-id: <83r49lxsxf.fsf@gnu.org> References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Mon, 09 Dec 2013 19:37:06 +0100 > From: martin rudalics > CC: drew.adams@oracle.com, 16028@debbugs.gnu.org > > > emacs -Q > > M-x load-file RET frame-fns.el RET > > M-x load-file RET frame-cmds.el RET > > M-x load-file RET thumb-frm.el RET > > C-z > > > > It doesn't work for me here, with today's trunk. > > I haven't had tried that. But since Drew said it doesn't work > I had no reason to doubt that it doesn't work. Can you please test this on X? I'd like to know if this is a Windows specific problem. TIA From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 10 02:52:37 2013 Received: (at 16028) by debbugs.gnu.org; 10 Dec 2013 07:52:37 +0000 Received: from localhost ([127.0.0.1]:41324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqI7R-0006af-5U for submit@debbugs.gnu.org; Tue, 10 Dec 2013 02:52:37 -0500 Received: from mout.gmx.net ([212.227.17.21]:57814) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqI7O-0006aW-Jf for 16028@debbugs.gnu.org; Tue, 10 Dec 2013 02:52:35 -0500 Received: from [62.47.49.155] ([62.47.49.155]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0Lbujs-1V760r1EMW-00jM5j for <16028@debbugs.gnu.org>; Tue, 10 Dec 2013 08:52:33 +0100 Message-ID: <52A6C838.8090003@gmx.at> Date: Tue, 10 Dec 2013 08:52:24 +0100 From: martin rudalics MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> In-Reply-To: <83r49lxsxf.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:JP29MLn67OPN0SYKLoh6KNq45Ge5CBWZ4yD8/mQrHcRTX1fOl0u Ap/SSOH340vI0YsYd8ekc+c2rDIbdtoqBI7dNeo2d/lRQ4NY5LBESqeoVqqkI6mreJd3Q32 UPMz79WLFlGNzIr+gQUlQDJkQvhpXTD/vN+ADA45J+Gkw67Vn0PVmL/k9c/9zU5K0vdNUbe wPXxk+zIRCX3lYH+rPloA== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) >>> emacs -Q >>> M-x load-file RET frame-fns.el RET >>> M-x load-file RET frame-cmds.el RET >>> M-x load-file RET thumb-frm.el RET >>> C-z >>> >>> It doesn't work for me here, with today's trunk. >> I haven't had tried that. But since Drew said it doesn't work >> I had no reason to doubt that it doesn't work. > > Can you please test this on X? I'd like to know if this is a Windows > specific problem. On Gtk3+ the default frame shrinks to 315x362 pixels and in addition I get a Gtk-CRITICAL **: gtk_distribute_natural_allocation: assertion `extra_space >= 0' failed on the console (which might a more or less well known issue). I consider such resizing insane because there's no guarantee that a toolkit will be able to cope with arbitrarily microsized scrollbars. martin From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 10 05:31:47 2013 Received: (at 16028) by debbugs.gnu.org; 10 Dec 2013 10:31:47 +0000 Received: from localhost ([127.0.0.1]:41445 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqKbT-0002AV-97 for submit@debbugs.gnu.org; Tue, 10 Dec 2013 05:31:47 -0500 Received: from mout.gmx.net ([212.227.17.22]:59387) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqKbP-0002AL-KK for 16028@debbugs.gnu.org; Tue, 10 Dec 2013 05:31:44 -0500 Received: from [62.47.46.21] ([62.47.46.21]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0Ld4xA-1V8A620LcO-00i8UP for <16028@debbugs.gnu.org>; Tue, 10 Dec 2013 11:31:42 +0100 Message-ID: <52A6ED85.8020206@gmx.at> Date: Tue, 10 Dec 2013 11:31:33 +0100 From: martin rudalics MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> In-Reply-To: <83r49lxsxf.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:Zz/Evbvk3k+/4G9NDra3hr/76mGjNlprBDYjmrzibNnp5uLsfAp akazRwq2Be7GcZ4qMWWwV3hXcUfbowwyLNhagwYHUdetDGG7z3GtKGaFftLKU4KJ7LZ7nvz 31H0O/8mhWrRzGee4F/QUDCTt3bnwF+6RHj8/69fEm9CsUmSfjCGp3LoYARUm4dlf5QIoBY 1YZdxXiLLWk6q7m9dSeSg== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > Can you please test this on X? I'd like to know if this is a Windows > specific problem. A simple way to reproduce this it in a proper bug report: (defun enlarged-font-name (fontname frame increment) "FONTNAME, after enlarging font size of FRAME by INCREMENT. FONTNAME is the font of FRAME." (when (query-fontset fontname) (let ((ascii (assq 'ascii (aref (fontset-info fontname frame) 2)))) (when ascii (setq fontname (nth 2 ascii))))) (let ((xlfd-fields (x-decompose-font-name fontname))) (unless xlfd-fields (error "Cannot decompose font name")) (let ((new-size (+ (string-to-number (aref xlfd-fields xlfd-regexp-pixelsize-subnum)) increment))) (unless (> new-size 0) (signal 'font-too-small (list new-size))) (aset xlfd-fields xlfd-regexp-pixelsize-subnum (number-to-string new-size))) ;; Set point size & width to "*", so frame width adjusts to new font (aset xlfd-fields xlfd-regexp-pointsize-subnum "*") (aset xlfd-fields xlfd-regexp-avgwidth-subnum "*") (x-compose-font-name xlfd-fields))) (defun enlarge-font-by (increment) (let* ((old-font (cdr (assq 'font (frame-parameters (selected-frame))))) (new-font (enlarged-font-name old-font (selected-frame) increment))) (modify-frame-parameters (selected-frame) (list (cons 'font new-font) (cons 'tool-bar-lines 0) (cons 'menu-bar-lines 0) (cons 'scroll-bar-width 6))))) (enlarge-font-by -4) martin From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 10 05:49:52 2013 Received: (at 16028) by debbugs.gnu.org; 10 Dec 2013 10:49:52 +0000 Received: from localhost ([127.0.0.1]:41453 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqKsy-0002bZ-3h for submit@debbugs.gnu.org; Tue, 10 Dec 2013 05:49:52 -0500 Received: from mout.gmx.net ([212.227.17.22]:57856) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqKsw-0002bP-Pf for 16028@debbugs.gnu.org; Tue, 10 Dec 2013 05:49:51 -0500 Received: from [62.47.46.21] ([62.47.46.21]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0LtJAR-1VRdAc2TAR-012sdY for <16028@debbugs.gnu.org>; Tue, 10 Dec 2013 11:49:49 +0100 Message-ID: <52A6F1C4.3040803@gmx.at> Date: Tue, 10 Dec 2013 11:49:40 +0100 From: martin rudalics MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> In-Reply-To: <52A6ED85.8020206@gmx.at> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:w0UCBqDT/I/hiCi37k0lfDMN0FdHRU7/mvPauPmkjBH+3D3wEhU Oaj1oSQx2xFOnCOuXzKuBdLUYRsrNZJWRFem7WJrODoSK/TsZ3PAWwZiRL5IfCzo6Mzd24/ 4mRjjfgKlChykz9v5d88/NVT0aL/5HEH8ERvBedw0ujPOmFrQD/NxAI1RXFO1n4P20obX54 uxkGLN7nK32IwIC8NrFjw== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Yet simpler: (defun enlarged-font-name (fontname frame increment) "FONTNAME, after enlarging font size of FRAME by INCREMENT. FONTNAME is the font of FRAME." (when (query-fontset fontname) (let ((ascii (assq 'ascii (aref (fontset-info fontname frame) 2)))) (when ascii (setq fontname (nth 2 ascii))))) (let ((xlfd-fields (x-decompose-font-name fontname))) (unless xlfd-fields (error "Cannot decompose font name")) (let ((new-size (+ (string-to-number (aref xlfd-fields xlfd-regexp-pixelsize-subnum)) increment))) (unless (> new-size 0) (signal 'font-too-small (list new-size))) (aset xlfd-fields xlfd-regexp-pixelsize-subnum (number-to-string new-size))) ;; Set point size & width to "*", so frame width adjusts to new font (aset xlfd-fields xlfd-regexp-pointsize-subnum "*") (aset xlfd-fields xlfd-regexp-avgwidth-subnum "*") (x-compose-font-name xlfd-fields))) (defun enlarge-font-by (increment) (let* ((old-font (cdr (assq 'font (frame-parameters (selected-frame))))) (new-font (enlarged-font-name old-font (selected-frame) increment))) (modify-frame-parameters (selected-frame) (list (cons 'font new-font) (cons 'scroll-bar-width 6))))) (enlarge-font-by -4) From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 10 09:50:27 2013 Received: (at 16028) by debbugs.gnu.org; 10 Dec 2013 14:50:28 +0000 Received: from localhost ([127.0.0.1]:41578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqOdm-0001WJ-Dp for submit@debbugs.gnu.org; Tue, 10 Dec 2013 09:50:27 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:46351) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqOdi-0001W9-NC for 16028@debbugs.gnu.org; Tue, 10 Dec 2013 09:50:23 -0500 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rBAEoKSd003259 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 10 Dec 2013 14:50:21 GMT Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBAEoJIB017064 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 10 Dec 2013 14:50:20 GMT Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBAEoJcA002722; Tue, 10 Dec 2013 14:50:19 GMT MIME-Version: 1.0 Message-ID: <941b1292-a5c6-442d-afe8-d83aebf4b41c@default> Date: Tue, 10 Dec 2013 06:50:19 -0800 (PST) From: Drew Adams To: martin rudalics , Eli Zaretskii Subject: RE: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> In-Reply-To: <52A6F1C4.3040803@gmx.at> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.5 (--) > (defun enlarged-font-name (fontname frame increment) > "FONTNAME, after enlarging font size of FRAME by INCREMENT. > FONTNAME is the font of FRAME." > (when (query-fontset fontname) > (let ((ascii (assq 'ascii (aref (fontset-info fontname frame) 2)))) > (when ascii (setq fontname (nth 2 ascii))))) > (let ((xlfd-fields (x-decompose-font-name fontname))) > (unless xlfd-fields (error "Cannot decompose font name")) > (let ((new-size (+ (string-to-number > (aref xlfd-fields xlfd-regexp-pixelsize-subnum)= ) > increment))) > (unless (> new-size 0) (signal 'font-too-small (list new-size))) > (aset xlfd-fields xlfd-regexp-pixelsize-subnum > (number-to-string new-size))) > ;; Set point size & width to "*", so frame width adjusts to new font > (aset xlfd-fields xlfd-regexp-pointsize-subnum "*") > (aset xlfd-fields xlfd-regexp-avgwidth-subnum "*") > (x-compose-font-name xlfd-fields))) >=20 > (defun enlarge-font-by (increment) > (let* ((old-font (cdr (assq 'font (frame-parameters (selected-frame)))= )) > =09 (new-font (enlarged-font-name old-font (selected-frame) > increment))) > (modify-frame-parameters > (selected-frame) (list (cons 'font new-font) > =09=09=09 (cons 'scroll-bar-width 6))))) >=20 > (enlarge-font-by -4) And this seems to compensate for the bug, at least with the above recipe: (defun enlarge-font-by (increment) (let* ((old-font (cdr (assq 'font (frame-parameters (selected-frame))))) =09 (new-font (enlarged-font-name old-font (selected-frame) increment))) (modify-frame-parameters (selected-frame) (list (cons 'scroll-bar-width 6))) (modify-frame-parameters (selected-frame) (list (cons 'font new-font))))) Switch the order of the two calls to `modify-frame-parameters' and the bug is manifested again. From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 10 09:51:16 2013 Received: (at 16028) by debbugs.gnu.org; 10 Dec 2013 14:51:16 +0000 Received: from localhost ([127.0.0.1]:41582 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqOeZ-0001Xp-W3 for submit@debbugs.gnu.org; Tue, 10 Dec 2013 09:51:16 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:46963) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqOeY-0001Xh-G4 for 16028@debbugs.gnu.org; Tue, 10 Dec 2013 09:51:14 -0500 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rBAEpCxx004489 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 10 Dec 2013 14:51:13 GMT Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBAEpBFB006415 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 10 Dec 2013 14:51:12 GMT Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBAEpBXY020038; Tue, 10 Dec 2013 14:51:11 GMT MIME-Version: 1.0 Message-ID: Date: Tue, 10 Dec 2013 06:51:10 -0800 (PST) From: Drew Adams To: martin rudalics , Eli Zaretskii Subject: RE: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6C838.8090003@gmx.at> In-Reply-To: <52A6C838.8090003@gmx.at> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.5 (--) > I consider such resizing insane because there's no guarantee that a > toolkit will be able to cope with arbitrarily microsized scrollbars. There's no guarantee against any fault of a window mgr. The thumb-frm.el code wraps the shrinking/expanding in a condition-case,=20 which restores the original size and other frame parameters in case of error. But for that, Emacs must be able to detect the error. From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 10 10:36:22 2013 Received: (at 16028) by debbugs.gnu.org; 10 Dec 2013 15:36:22 +0000 Received: from localhost ([127.0.0.1]:41895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqPME-0002hm-0d for submit@debbugs.gnu.org; Tue, 10 Dec 2013 10:36:22 -0500 Received: from mout.gmx.net ([212.227.17.22]:50590) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqPMB-0002ha-44 for 16028@debbugs.gnu.org; Tue, 10 Dec 2013 10:36:20 -0500 Received: from [62.47.52.63] ([62.47.52.63]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MF5FT-1VnLLO2dZr-00GGqL for <16028@debbugs.gnu.org>; Tue, 10 Dec 2013 16:36:17 +0100 Message-ID: <52A733DF.8080806@gmx.at> Date: Tue, 10 Dec 2013 16:31:43 +0100 From: martin rudalics MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> In-Reply-To: <52A6F1C4.3040803@gmx.at> Content-Type: multipart/mixed; boundary="------------050909010809080508020702" X-Provags-ID: V03:K0:zJvg4kP8RK2u6c3UtoPPjerBBy59RZEcu6+fmifN4IMdRifBM7y 6BQ4Lbg4m4VRztxVin5BaVBnQgC5b9iDC3++kuGKYWRSiuWS/yNGthm+zjyQLGk4h059ccG JCA6DQlSleA84bENnrV3lwai/GSN4CxFDKCws/K/SNDu3jDPJ9Yx8oFwSRp/o19efCmFEPy wT76L/U30w8Hk7lhVO0mQ== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) This is a multi-part message in MIME format. --------------050909010809080508020702 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit > (modify-frame-parameters > (selected-frame) (list (cons 'font new-font) > (cons 'scroll-bar-width 6))))) What happes is that when we ask Windows to change the frame's size, we don't record the new sizes. When we ask Windows to change the scrollbar width, we start again with the old sizes. I can handle this case by commenting in some code in w32term.c as in the attached diff. But that code was commented our for a reason. So I don't know what to do. martin PS: I don't know why it worked earlier. In principle, the potential for this bug was always here. --------------050909010809080508020702 Content-Type: text/plain; name="w32term.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="w32term.diff" === modified file 'src/w32term.c' --- src/w32term.c 2013-12-07 17:48:52 +0000 +++ src/w32term.c 2013-12-10 14:52:22 +0000 @@ -5726,7 +5726,7 @@ SWP_NOZORDER | SWP_NOMOVE | SWP_NOACTIVATE); } -#if 0 +/** #if 0 **/ /* The following mirrors what is done in xterm.c. It appears to be for informing lisp of the new size immediately, while the actual resize will happen asynchronously. But on Windows, the menu bar @@ -5754,7 +5754,7 @@ We pass 1 for DELAY since we can't run Lisp code inside of a BLOCK_INPUT. */ - change_frame_size (f, width, height, 0, 1, 0, 0); + change_frame_size (f, width, height, 0, 1, 0, pixelwise); FRAME_PIXEL_WIDTH (f) = pixelwidth; FRAME_PIXEL_HEIGHT (f) = pixelheight; @@ -5772,7 +5772,7 @@ Actually checking whether it is outside is a pain in the neck, so don't try--just let the highlighting be done afresh with new size. */ cancel_mouse_face (f); -#endif +/** #endif **/ unblock_input (); } --------------050909010809080508020702-- From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 10 10:36:30 2013 Received: (at 16028) by debbugs.gnu.org; 10 Dec 2013 15:36:31 +0000 Received: from localhost ([127.0.0.1]:41898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqPMM-0002iB-IA for submit@debbugs.gnu.org; Tue, 10 Dec 2013 10:36:30 -0500 Received: from mout.gmx.net ([212.227.17.21]:56125) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqPMK-0002i1-Px for 16028@debbugs.gnu.org; Tue, 10 Dec 2013 10:36:29 -0500 Received: from [62.47.52.63] ([62.47.52.63]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0M4Gup-1VYC1A3rvv-00rr2J for <16028@debbugs.gnu.org>; Tue, 10 Dec 2013 16:36:28 +0100 Message-ID: <52A734F2.8020203@gmx.at> Date: Tue, 10 Dec 2013 16:36:18 +0100 From: martin rudalics MIME-Version: 1.0 To: Drew Adams Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> <941b1292-a5c6-442d-afe8-d83aebf4b41c@default> In-Reply-To: <941b1292-a5c6-442d-afe8-d83aebf4b41c@default> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:x9XT7gKdL7MwwOS+t4UjeFzcTUXN5ZKiVBfbHFvhP6EupwhWLtq wBzrIPbx9eIKEgEuLddAZ7eg9WFl5e272GRCJCK/61PceYHaEZV8ePqZryMZ3RAEjEQtVAI fSVCQBCY3N3PCz1dvM4mqmCMxnMAnWm03J2n6VVQm+YwuxqYKp0R55EmVlrRP6RdLgj31HU q7coN4/29afL30kEvmQ2g== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16028 Cc: Eli Zaretskii , 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > Switch the order of the two calls to `modify-frame-parameters' and the > bug is manifested again. Yes. As a rule always resize the frame last. martin From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 10 11:41:17 2013 Received: (at 16028) by debbugs.gnu.org; 10 Dec 2013 16:41:17 +0000 Received: from localhost ([127.0.0.1]:41924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqQN3-0004Q0-2K for submit@debbugs.gnu.org; Tue, 10 Dec 2013 11:41:17 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:56301) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqQN0-0004Pr-Cn for 16028@debbugs.gnu.org; Tue, 10 Dec 2013 11:41:15 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MXL00200NJKDQ00@a-mtaout22.012.net.il> for 16028@debbugs.gnu.org; Tue, 10 Dec 2013 18:41:13 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MXL00281NOODO10@a-mtaout22.012.net.il>; Tue, 10 Dec 2013 18:41:13 +0200 (IST) Date: Tue, 10 Dec 2013 18:41:14 +0200 From: Eli Zaretskii Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code In-reply-to: <52A6F1C4.3040803@gmx.at> X-012-Sender: halo1@inter.net.il To: martin rudalics Message-id: <83iouwy7yt.fsf@gnu.org> References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Tue, 10 Dec 2013 11:49:40 +0100 > From: martin rudalics > CC: 16028@debbugs.gnu.org > > Yet simpler: What do you get on X with this recipe? From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 10 11:52:09 2013 Received: (at 16028) by debbugs.gnu.org; 10 Dec 2013 16:52:09 +0000 Received: from localhost ([127.0.0.1]:41943 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqQXY-0004j5-H4 for submit@debbugs.gnu.org; Tue, 10 Dec 2013 11:52:08 -0500 Received: from mout.gmx.net ([212.227.15.19]:56320) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqQXW-0004iu-1I for 16028@debbugs.gnu.org; Tue, 10 Dec 2013 11:52:07 -0500 Received: from [62.47.52.63] ([62.47.52.63]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0M3NEK-1VYtee21uy-00r2Nw for <16028@debbugs.gnu.org>; Tue, 10 Dec 2013 17:52:04 +0100 Message-ID: <52A746AA.4090303@gmx.at> Date: Tue, 10 Dec 2013 17:51:54 +0100 From: martin rudalics MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> <83iouwy7yt.fsf@gnu.org> In-Reply-To: <83iouwy7yt.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:ZYYWjssAwgFEKtkFwhBluL4DTSpx9VmKXaGm6CunY7u49DuwtcG 2tBb5IDDtArHnJymGO0VgkACfftz07+28s4APXzNMS/dCD8d6Ad4YPmDZajQvR/ogTjbM8A TpSyd0Hh/dk25cH829JC2P50Fj2y4Y7RDWT2qbbN320K+r39A0Qr+417BP7net6lc9xOYY6 +5nVdn+U/WXYg6AuWDW7Q== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > What do you get on X with this recipe? The frame's pixel size shrinks from 744x630 to 587x455. martin From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 10 13:04:05 2013 Received: (at 16028) by debbugs.gnu.org; 10 Dec 2013 18:04:05 +0000 Received: from localhost ([127.0.0.1]:42040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqRfB-0001fU-Ed for submit@debbugs.gnu.org; Tue, 10 Dec 2013 13:04:05 -0500 Received: from mtaout23.012.net.il ([80.179.55.175]:59556) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqRf9-0001f7-0i for 16028@debbugs.gnu.org; Tue, 10 Dec 2013 13:04:04 -0500 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MXL00300RDS0Q00@a-mtaout23.012.net.il> for 16028@debbugs.gnu.org; Tue, 10 Dec 2013 20:04:01 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MXL00230RIMXW60@a-mtaout23.012.net.il>; Tue, 10 Dec 2013 20:03:59 +0200 (IST) Date: Tue, 10 Dec 2013 20:04:00 +0200 From: Eli Zaretskii Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code In-reply-to: <52A746AA.4090303@gmx.at> X-012-Sender: halo1@inter.net.il To: martin rudalics Message-id: <83a9g8y44v.fsf@gnu.org> References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> <83iouwy7yt.fsf@gnu.org> <52A746AA.4090303@gmx.at> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Tue, 10 Dec 2013 17:51:54 +0100 > From: martin rudalics > CC: 16028@debbugs.gnu.org > > > What do you get on X with this recipe? > > The frame's pixel size shrinks from 744x630 to 587x455. On Windows it shrinks for me from 672x608 to 666x600. Is that what you see? From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 10 13:57:37 2013 Received: (at 16028) by debbugs.gnu.org; 10 Dec 2013 18:57:37 +0000 Received: from localhost ([127.0.0.1]:42129 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqSUz-0004IH-5Q for submit@debbugs.gnu.org; Tue, 10 Dec 2013 13:57:37 -0500 Received: from mout.gmx.net ([212.227.15.19]:65174) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqSUo-0004I0-Jx for 16028@debbugs.gnu.org; Tue, 10 Dec 2013 13:57:36 -0500 Received: from [62.47.36.41] ([62.47.36.41]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MWk3f-1W4xW33DtD-00XvPa for <16028@debbugs.gnu.org>; Tue, 10 Dec 2013 19:57:24 +0100 Message-ID: <52A7640B.1070400@gmx.at> Date: Tue, 10 Dec 2013 19:57:15 +0100 From: martin rudalics MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> <83iouwy7yt.fsf@gnu.org> <52A746AA.4090303@gmx.at> <83a9g8y44v.fsf@gnu.org> In-Reply-To: <83a9g8y44v.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:F5dsU9tqcAu2HRZy7oGGxBovTASgRbZ/EwnaEseN14IxMHA8QnT xMVNkAS8kV/y1xkq+FosVEPVccdgnZUfMk2p46XnN6QvcG5iH13jQfXKQ1EYCGNjrYVQF4J 64NGUQkuEn8rNH7T/NEfcbliLMSxFEt+jWpVoTnqoHBVXjlWDDB2EdIdQEXO4Z+PSoiLSpd 4Y1B7hnT+pjOuU5TRjK9w== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > On Windows it shrinks for me from 672x608 to 666x600. Is that what > you see? Yes. martin From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 11 23:27:32 2013 Received: (at 16028) by debbugs.gnu.org; 12 Dec 2013 04:27:32 +0000 Received: from localhost ([127.0.0.1]:44583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vqxs4-0005ep-4v for submit@debbugs.gnu.org; Wed, 11 Dec 2013 23:27:32 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:36973) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vqxs2-0005eh-Et for 16028@debbugs.gnu.org; Wed, 11 Dec 2013 23:27:31 -0500 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rBC4RSaV005465 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 12 Dec 2013 04:27:28 GMT Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBC4RRIc007381 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 12 Dec 2013 04:27:27 GMT Received: from abhmp0001.oracle.com (abhmp0001.oracle.com [141.146.116.7]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBC4RRcZ007376; Thu, 12 Dec 2013 04:27:27 GMT MIME-Version: 1.0 Message-ID: Date: Wed, 11 Dec 2013 20:27:25 -0800 (PST) From: Drew Adams To: martin rudalics Subject: RE: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> <941b1292-a5c6-442d-afe8-d83aebf4b41c@default> <52A734F2.8020203@gmx.at> In-Reply-To: <52A734F2.8020203@gmx.at> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 16028 Cc: Eli Zaretskii , 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.5 (--) > > Switch the order of the two calls to `modify-frame-parameters' > > and the bug is manifested again. >=20 > Yes. As a rule always resize the frame last. FWIW/FYI: I was hoping that that might be a simple solution to my problem. I tried switching the order, doing the other frame changes before shrinking or enlarging the font. Unfortunately, that did not work at all. It made a big mess, in all Emacs versions. For one thing, each shrinking/enlargement magnified the scale of zoom out/in over the previous one. I.e., each shrinking/enlargement was greater than the enlargement/shrinking that immediately preceded it (not just greater than the last shrinking/enlargement). You can see this easily in emacs -Q by (loading frame-fns.el, then frame-cmds.el, then) loading thumb-frm.el but with the calls to `enlarge-font' moved after the `modify-frame-parameters' calls. E.g., for thumbify: (when tf-params (modify-frame-parameters frame tf-params)) (when thumfr-next-stack-xoffset (set-frame-position frame thumfr-next-stack-xoffset thumfr-next-stack-yoffset) (setq thumfr-next-stack-xoffset nil thumfr-next-stack-yoffset nil)) (modify-frame-parameters frame thumfr-frame-parameters) ;; Trying this last, not first. (enlarge-font (- thumfr-font-difference) frame) And for dethumbify: (modify-frame-parameters frame non-tf-params) ;; Trying this last, not first. (enlarge-font thumfr-font-difference frame) I had to quickly revert to the regular code I use, which calls `enlarge-font' first, not last. From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 12 05:18:01 2013 Received: (at 16028) by debbugs.gnu.org; 12 Dec 2013 10:18:02 +0000 Received: from localhost ([127.0.0.1]:44743 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vr3LF-00069x-39 for submit@debbugs.gnu.org; Thu, 12 Dec 2013 05:18:01 -0500 Received: from mout.gmx.net ([212.227.17.21]:56663) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vr3LD-00069n-8C for 16028@debbugs.gnu.org; Thu, 12 Dec 2013 05:17:59 -0500 Received: from [62.47.39.63] ([62.47.39.63]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MRCCJ-1Vz7Pd2nRn-00UbfW for <16028@debbugs.gnu.org>; Thu, 12 Dec 2013 11:17:58 +0100 Message-ID: <52A98D4A.5000000@gmx.at> Date: Thu, 12 Dec 2013 11:17:46 +0100 From: martin rudalics MIME-Version: 1.0 To: Drew Adams Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> <941b1292-a5c6-442d-afe8-d83aebf4b41c@default> <52A734F2.8020203@gmx.at> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:knEElb5WtXHzZFtF5F8tlHgIw0tMwwVbhIX4cts8/0YRGHbgeNH 5mahYUjqqWcNYUreSuhVV7+SUcfqWjPaar4Z29lxxCMEeroDg+wHzsEbJqpyjrX5Rlxl07J nipauJPopM/E3Cqlu6kfghXLhYqx/spkKzW9musyZpQGE1yDws0YepLtUguOZzfEyqBOM2Y dfD2NWTuCM8EaNSBVZYAQ== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16028 Cc: Eli Zaretskii , 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > Unfortunately, that did not work at all. It made a big mess, in > all Emacs versions. For one thing, each shrinking/enlargement > magnified the scale of zoom out/in over the previous one. > > I.e., each shrinking/enlargement was greater than the > enlargement/shrinking that immediately preceded it (not just > greater than the last shrinking/enlargement). Which also demonstrates how fragile your code is. You maybe rely on some undocumented behavior, namely that setting the font size can set the scrollbar width too, despite of the fact that you explicitly set the scrollbar width to some specific value before. And your code might easily fail with toolkits that want to handle the scrollbar width themselves. The trap your code fell into can be roughly described as follows: (1) You ask for changing the pixel size of a frame by setting the font size. Emacs passes the request on to the window manager but on Windows it does _not_ store the new pixel size of the frame. (2) You ask for changing the pixel size of a frame by setting the scrollbar width. Now before my changes, (2) asked the window manager to change the pixel size of the frame based on its line/column sizes multiplied by the default font sizes. After my changes, (2) asks to change the pixel size of the frame directly from the previously calculated pixel sizes. However, since on Windows (1) does not record the change of the pixel size caused by setting the font size, the request in (2) will be based on the pixel size of the frame before (1) was issued. I don't know how to fix this properly. IIUC Emacs cannot wait until Windows passes the new sizes back to it in (1) just as it does on other systems. The sit-for I proposed earlier could work around this. If OTOH I restore the calculation for (2) to use the line/column values, people who want to change the scrollbar width exactly by pixels are lost. martin From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 12 11:29:44 2013 Received: (at 16028) by debbugs.gnu.org; 12 Dec 2013 16:29:44 +0000 Received: from localhost ([127.0.0.1]:45921 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vr98x-00009c-Ga for submit@debbugs.gnu.org; Thu, 12 Dec 2013 11:29:44 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:41664) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vr98v-00009S-K2 for 16028@debbugs.gnu.org; Thu, 12 Dec 2013 11:29:42 -0500 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rBCGTdxd020779 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 12 Dec 2013 16:29:40 GMT Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBCGTcda001508 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 12 Dec 2013 16:29:39 GMT Received: from abhmp0004.oracle.com (abhmp0004.oracle.com [141.146.116.10]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBCGTcjM001501; Thu, 12 Dec 2013 16:29:38 GMT MIME-Version: 1.0 Message-ID: <039ebe72-12f8-49df-ae49-f1b7c56302e5@default> Date: Thu, 12 Dec 2013 08:29:37 -0800 (PST) From: Drew Adams To: martin rudalics Subject: RE: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> <941b1292-a5c6-442d-afe8-d83aebf4b41c@default> <52A734F2.8020203@gmx.at> <52A98D4A.5000000@gmx.at> In-Reply-To: <52A98D4A.5000000@gmx.at> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 16028 Cc: Eli Zaretskii , 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > > Unfortunately, that did not work at all. It made a big mess, in > > all Emacs versions. For one thing, each shrinking/enlargement > > magnified the scale of zoom out/in over the previous one. > > > > I.e., each shrinking/enlargement was greater than the > > enlargement/shrinking that immediately preceded it (not just > > greater than the last shrinking/enlargement). >=20 > Which also demonstrates how fragile your code is. You are welcome to improve it or offer concrete suggestions - please do. FWIW, it works fine, AFAIK, on all previous versions of Emacs, and on all platforms I'm aware of. I use it myself with Emacs 20-24 on MS Windows and with Emacs 21.3 on GNU/Linux (KDE & GNOME). > The trap your code fell into can be roughly described as follows: >=20 > (1) You ask for changing the pixel size of a frame by setting the font > size. Emacs passes the request on to the window manager but on > Windows it does _not_ store the new pixel size of the frame. >=20 > (2) You ask for changing the pixel size of a frame by setting the > scrollbar width. Why should asking to change the scroll-bar width constitute a request to also change the pixel size of the frame? Or did you mean only that changing the scroll-bar width will change the frame width slightly? The latter I could probably live with. > Now before my changes, (2) asked the window manager to change the pixel > size of the frame based on its line/column sizes multiplied by the > default font sizes. After my changes, (2) asks to change the pixel size > of the frame directly from the previously calculated pixel sizes. > However, since on Windows (1) does not record the change of the pixel > size caused by setting the font size, the request in (2) will be based > on the pixel size of the frame before (1) was issued. Good to understand. Thx. Not sure what that means in terms of trying to get my code to work properly with your new code (as well as with prior Emacs code). Concrete suggestions welcome. > I don't know how to fix this properly. IIUC Emacs cannot wait until > Windows passes the new sizes back to it in (1) just as it does on other > systems. The sit-for I proposed earlier could work around this. If > OTOH I restore the calculation for (2) to use the line/column values, > people who want to change the scrollbar width exactly by pixels are > lost. Are they necessarily lost, or is there some other way to accommodate both? BTW, as far as you can tell, is it just the scroll bar that is the problem (wrt my code)? From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 12 11:39:08 2013 Received: (at 16028) by debbugs.gnu.org; 12 Dec 2013 16:39:08 +0000 Received: from localhost ([127.0.0.1]:45935 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vr9I3-0000TH-Ss for submit@debbugs.gnu.org; Thu, 12 Dec 2013 11:39:08 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:44290) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vr9I1-0000T7-DL for 16028@debbugs.gnu.org; Thu, 12 Dec 2013 11:39:06 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MXP00400CEEX300@a-mtaout22.012.net.il> for 16028@debbugs.gnu.org; Thu, 12 Dec 2013 18:38:36 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MXP004VPCWBQ0A0@a-mtaout22.012.net.il>; Thu, 12 Dec 2013 18:38:35 +0200 (IST) Date: Thu, 12 Dec 2013 18:38:35 +0200 From: Eli Zaretskii Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code In-reply-to: <52A98D4A.5000000@gmx.at> X-012-Sender: halo1@inter.net.il To: martin rudalics Message-id: <8361qu6n3o.fsf@gnu.org> References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> <941b1292-a5c6-442d-afe8-d83aebf4b41c@default> <52A734F2.8020203@gmx.at> <52A98D4A.5000000@gmx.at> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Thu, 12 Dec 2013 11:17:46 +0100 > From: martin rudalics > CC: Eli Zaretskii , 16028@debbugs.gnu.org > > The trap your code fell into can be roughly described as follows: > > (1) You ask for changing the pixel size of a frame by setting the font > size. Emacs passes the request on to the window manager but on > Windows it does _not_ store the new pixel size of the frame. > > (2) You ask for changing the pixel size of a frame by setting the > scrollbar width. > > Now before my changes, (2) asked the window manager to change the pixel > size of the frame based on its line/column sizes multiplied by the > default font sizes. After my changes, (2) asks to change the pixel size > of the frame directly from the previously calculated pixel sizes. > However, since on Windows (1) does not record the change of the pixel > size caused by setting the font size, the request in (2) will be based > on the pixel size of the frame before (1) was issued. Since we can now resize a frame pixelwise with an explicit request (right?), would it be possible to fix the above by (3) Ask for change of the frame size by giving explicit dimensions in pixel units. ? If not, why not? From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 12 13:10:24 2013 Received: (at 16028) by debbugs.gnu.org; 12 Dec 2013 18:10:24 +0000 Received: from localhost ([127.0.0.1]:46039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrAiN-0002nf-V3 for submit@debbugs.gnu.org; Thu, 12 Dec 2013 13:10:24 -0500 Received: from mout.gmx.net ([212.227.17.20]:55087) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrAiH-0002nT-UM for 16028@debbugs.gnu.org; Thu, 12 Dec 2013 13:10:23 -0500 Received: from [62.47.35.230] ([62.47.35.230]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0Lh7PL-1VElAs0VoV-00oZrI for <16028@debbugs.gnu.org>; Thu, 12 Dec 2013 19:10:17 +0100 Message-ID: <52A9FC07.7040304@gmx.at> Date: Thu, 12 Dec 2013 19:10:15 +0100 From: martin rudalics MIME-Version: 1.0 To: Drew Adams Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> <941b1292-a5c6-442d-afe8-d83aebf4b41c@default> <52A734F2.8020203@gmx.at> <52A98D4A.5000000@gmx.at> <039ebe72-12f8-49df-ae49-f1b7c56302e5@default> In-Reply-To: <039ebe72-12f8-49df-ae49-f1b7c56302e5@default> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:keab91zACofXBv3dKjhtDoMwPeg4EKgmu5R6ycJzcG47Ael152E jsF4CWIb9iZHbBn5+ANykWPnN4FzrWr9KUKJYkhsyE4Xj/F8xLAmvPJrlB4ANoJ/EKw+jzV GxTJPELuEHuNQNuLx1iGJTsKonFLXFIUV9HHNq1zZnO5Op9fyLlpd19IahQty2w6SWWgRi0 L+A3VZp5wLW1bePmXS56w== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16028 Cc: Eli Zaretskii , 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > Why should asking to change the scroll-bar width constitute a request to > also change the pixel size of the frame? Because that's what x_set_scroll_bar_width in frame.c does. Unfortunately so, IMHO. > Or did you mean only that > changing the scroll-bar width will change the frame width slightly? > The latter I could probably live with. When x_set_scroll_bar_width asks to change the frame size, it has to provide the new size in some way. In your particular case, it uses that of _before_ the font change since Windows did not propagate the new values back to us. >> Now before my changes, (2) asked the window manager to change the pixel >> size of the frame based on its line/column sizes multiplied by the >> default font sizes. After my changes, (2) asks to change the pixel size >> of the frame directly from the previously calculated pixel sizes. >> However, since on Windows (1) does not record the change of the pixel >> size caused by setting the font size, the request in (2) will be based >> on the pixel size of the frame before (1) was issued. > > Good to understand. Thx. Not sure what that means in terms of trying > to get my code to work properly with your new code (as well as with > prior Emacs code). Concrete suggestions welcome. I'm afraid there's not much you can do here. >> I don't know how to fix this properly. IIUC Emacs cannot wait until >> Windows passes the new sizes back to it in (1) just as it does on other >> systems. The sit-for I proposed earlier could work around this. If >> OTOH I restore the calculation for (2) to use the line/column values, >> people who want to change the scrollbar width exactly by pixels are >> lost. > > Are they necessarily lost, or is there some other way to accommodate both? > > BTW, as far as you can tell, is it just the scroll bar that is the problem > (wrt my code)? Hopefully, scrollbars on Windows are the only problem for you. martin From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 12 13:10:48 2013 Received: (at 16028) by debbugs.gnu.org; 12 Dec 2013 18:10:48 +0000 Received: from localhost ([127.0.0.1]:46042 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrAil-0002oV-JM for submit@debbugs.gnu.org; Thu, 12 Dec 2013 13:10:47 -0500 Received: from mout.gmx.net ([212.227.17.22]:56114) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrAij-0002oN-7S for 16028@debbugs.gnu.org; Thu, 12 Dec 2013 13:10:45 -0500 Received: from [62.47.35.230] ([62.47.35.230]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MS5xC-1VyDD411lC-00THRs for <16028@debbugs.gnu.org>; Thu, 12 Dec 2013 19:10:44 +0100 Message-ID: <52A9FC22.2030301@gmx.at> Date: Thu, 12 Dec 2013 19:10:42 +0100 From: martin rudalics MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> <941b1292-a5c6-442d-afe8-d83aebf4b41c@default> <52A734F2.8020203@gmx.at> <52A98D4A.5000000@gmx.at> <8361qu6n3o.fsf@gnu.org> In-Reply-To: <8361qu6n3o.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:7tiZ0mSy/XY/mONU1Mhlblr/TmOfYDFHdkU4l8D8Wy05QQ7IL9M b+smIxxS0icPmMIEaCdr55Yq8mMiIOr5nTLLKVjT4cxdwZbOydnwGk7Mi82xqM0DTioQxgS ACsGMi9t6nIN0Liw0J4e8FAdXgtPz8cp7hPtPB+NtZuPBY0HCpYZimnrfcST5FEOUmCODfI mckbOpEGaHIlSaUFaov0w== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > Since we can now resize a frame pixelwise with an explicit request > (right?), would it be possible to fix the above by > > (3) Ask for change of the frame size by giving explicit dimensions > in pixel units. > > ? If not, why not? We always could resize frames pixelwise and also did so IIRC, for example, when faking maximized or fullscreen frames. After that, we either left the last pixels of the echo area dangling, left some empty space between side by side windows, or extended the rightmost fringe by some pixels. All this because change_frame_size wasn't able to resize pixelwise. The display engine worked pixelwise for a long time already, as can be easily seen, for example, when drawing a fullscreen modeline. If you want to change the frame size pixelwise from Lisp, you can now use `set-frame-size'. But this won't solve the problem that issuing two requests in sequel is still inherently broken on Windows. The problem here is that we don't resynch with Windows after calling my_set_window_pos in x_set_window_size as I explained earlier. martin From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 12 13:49:25 2013 Received: (at 16028) by debbugs.gnu.org; 12 Dec 2013 18:49:25 +0000 Received: from localhost ([127.0.0.1]:46080 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrBK9-0003nY-3V for submit@debbugs.gnu.org; Thu, 12 Dec 2013 13:49:25 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:40677) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrBK6-0003nQ-V4 for 16028@debbugs.gnu.org; Thu, 12 Dec 2013 13:49:23 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MXP00500IODWG00@a-mtaout22.012.net.il> for 16028@debbugs.gnu.org; Thu, 12 Dec 2013 20:47:55 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MXP0053WIVVX410@a-mtaout22.012.net.il>; Thu, 12 Dec 2013 20:47:55 +0200 (IST) Date: Thu, 12 Dec 2013 20:47:56 +0200 From: Eli Zaretskii Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code In-reply-to: <52A9FC22.2030301@gmx.at> X-012-Sender: halo1@inter.net.il To: martin rudalics Message-id: <831u1h7voj.fsf@gnu.org> References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> <941b1292-a5c6-442d-afe8-d83aebf4b41c@default> <52A734F2.8020203@gmx.at> <52A98D4A.5000000@gmx.at> <8361qu6n3o.fsf@gnu.org> <52A9FC22.2030301@gmx.at> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Thu, 12 Dec 2013 19:10:42 +0100 > From: martin rudalics > CC: drew.adams@oracle.com, 16028@debbugs.gnu.org > > If you want to change the frame size pixelwise from Lisp, you can now > use `set-frame-size'. But this won't solve the problem that issuing two > requests in sequel is still inherently broken on Windows. The problem > here is that we don't resynch with Windows after calling > my_set_window_pos in x_set_window_size as I explained earlier. But if we somehow could provide Drew with the frame dimensions that _should_ have resulted from the two changes his code does, then he could add a call to set-frame-size to request precisely those dimensions, and that should fix his problem, no? From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 12 14:55:28 2013 Received: (at 16028) by debbugs.gnu.org; 12 Dec 2013 19:55:28 +0000 Received: from localhost ([127.0.0.1]:46109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrCM3-0005Rl-NV for submit@debbugs.gnu.org; Thu, 12 Dec 2013 14:55:28 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:38836) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrCM0-0005Rb-Mn for 16028@debbugs.gnu.org; Thu, 12 Dec 2013 14:55:25 -0500 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rBCJtL1h027050 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 12 Dec 2013 19:55:22 GMT Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBCJtK5m015257 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 12 Dec 2013 19:55:21 GMT Received: from abhmp0004.oracle.com (abhmp0004.oracle.com [141.146.116.10]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBCJtKqh007844; Thu, 12 Dec 2013 19:55:20 GMT MIME-Version: 1.0 Message-ID: <3f787f9b-58e4-40b5-b012-59bf359af421@default> Date: Thu, 12 Dec 2013 11:55:19 -0800 (PST) From: Drew Adams To: martin rudalics Subject: RE: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> <941b1292-a5c6-442d-afe8-d83aebf4b41c@default> <52A734F2.8020203@gmx.at> <52A98D4A.5000000@gmx.at> <039ebe72-12f8-49df-ae49-f1b7c56302e5@default> <52A9FC07.7040304@gmx.at> In-Reply-To: <52A9FC07.7040304@gmx.at> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 16028 Cc: Eli Zaretskii , 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > > Why should asking to change the scroll-bar width constitute a > > request to also change the pixel size of the frame? >=20 > Because that's what x_set_scroll_bar_width in frame.c does. > Unfortunately so, IMHO. Well, I don't understand, but maybe I do not need to. Is that something new? The regression is new. If the C code has always done that, it has not been problematic for thumbnail frames before now. > > Or did you mean only that > > changing the scroll-bar width will change the frame width slightly? > > The latter I could probably live with. >=20 > When x_set_scroll_bar_width asks to change the frame size, it has to > provide the new size in some way. In your particular case, it uses that > of _before_ the font change since Windows did not propagate the new > values back to us. >=20 > >> Now before my changes, (2) asked the window manager to change the pix= el > >> size of the frame based on its line/column sizes multiplied by the > >> default font sizes. After my changes, (2) asks to change the pixel s= ize > >> of the frame directly from the previously calculated pixel sizes. > >> However, since on Windows (1) does not record the change of the pixel > >> size caused by setting the font size, the request in (2) will be base= d > >> on the pixel size of the frame before (1) was issued. > > > > Good to understand. Thx. Not sure what that means in terms of trying > > to get my code to work properly with your new code (as well as with > > prior Emacs code). Concrete suggestions welcome. >=20 > I'm afraid there's not much you can do here. You mean the only solution is to stop using Emacs 24 after 24.3? > >> I don't know how to fix this properly. IIUC Emacs cannot wait until > >> Windows passes the new sizes back to it in (1) just as it does on oth= er > >> systems. The sit-for I proposed earlier could work around this. If > >> OTOH I restore the calculation for (2) to use the line/column values, > >> people who want to change the scrollbar width exactly by pixels are > >> lost. > > > > Are they necessarily lost, or is there some other way to accommodate > > both? > > > > BTW, as far as you can tell, is it just the scroll bar that is the > > problem (wrt my code)? >=20 > Hopefully, scrollbars on Windows are the only problem for you. Well at least that is good news. As a workaround, then, I could presumably turn off the scroll bar on thumbnail frames. That would be a fairly large loss of functionality, but at least it would make (de)thumbifying possible again. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 13 05:12:51 2013 Received: (at 16028) by debbugs.gnu.org; 13 Dec 2013 10:12:51 +0000 Received: from localhost ([127.0.0.1]:46577 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrPji-00033X-96 for submit@debbugs.gnu.org; Fri, 13 Dec 2013 05:12:50 -0500 Received: from mout.gmx.net ([212.227.17.20]:55241) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrPjf-00033M-6V for 16028@debbugs.gnu.org; Fri, 13 Dec 2013 05:12:44 -0500 Received: from [62.47.62.238] ([62.47.62.238]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MLj5z-1Vr8kk3RmF-000rkO for <16028@debbugs.gnu.org>; Fri, 13 Dec 2013 11:12:42 +0100 Message-ID: <52AADD97.5060801@gmx.at> Date: Fri, 13 Dec 2013 11:12:39 +0100 From: martin rudalics MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> <941b1292-a5c6-442d-afe8-d83aebf4b41c@default> <52A734F2.8020203@gmx.at> <52A98D4A.5000000@gmx.at> <8361qu6n3o.fsf@gnu.org> <52A9FC22.2030301@gmx.at> <831u1h7voj.fsf@gnu.org> In-Reply-To: <831u1h7voj.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:GyTytGBnzKHIq1KXnT1xS1gg//588bfd2YKRxji6HPFeUWPm06L 7tPar3rqUEL+p85lKH0uWXqdXcifo0w5hlYIg4IXYXtljQSCzIN22uU8ctsuBFzWx3gn0sU aDHq1C57Nslya5G8tG0D7NPbqscnA7UBp+uEthMQeic88s+w3HyxpD4Wb5+TiHUNq4mfz2r q9/GwjcBErn7jh8Km/+0g== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > But if we somehow could provide Drew with the frame dimensions that > _should_ have resulted from the two changes his code does, then he > could add a call to set-frame-size to request precisely those > dimensions, and that should fix his problem, no? I'm not sure. In principle Drew should be able to thumbify as follows: (1) Save the current pixel sizess, font and scrollbar width. (2) Set the new font size. (3) Set the new scrollbar width. (4) Set the new pixel sizes to some calculated from the ones saved in (1) and the scale factor used in (2). To dethumbify he would have to (5) Set the new font size to the one saved in (1). (6) Set the new scrollbar width to the one saved in (1). (7) Set the new frame pixel sizes to the ones saved in (1). I don't know whether this correctly restores window start positions but at least it seems the only sane way to fix his problem with the current trunk. We could obviously store the new pixel values and either let any size changing functions use the new values or provide a Lisp interface to them and let Drew use that value in his calculations. Doing so would, however, not eliminate the fact that the state of Emacs is inconsistent while a resize operation is pending because the value returned by `frame-pixel-height' is not in line with that of `frame-height'. The programmer would still have to be aware of this inconsistency and explaining such a thing in the manual or a doc-string would be quite a nuisance. BTW, when creating a new frame, the inconsistency should be observable on GNU/Linux as well. I see only two ways to solve this inconsistency: (1) Find some way to synch with the window manager as we do on GNU/Linux. (2) Apply the size changes with the commented-out code. The comment motivating why we should not do this on Windows because of the menubar wrapping issue doesn't make sense to me anyway: If we and Windows can handle wrapping, we'll do that when Windows gets back to us. And the worst thing that could happen to us is that parts of the frame (including the modeline) might get obscured. But this is something I plan to do anyway when shrinking a frame below the minimum size to accomodate all of its windows. WDYT? martin From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 13 05:13:07 2013 Received: (at 16028) by debbugs.gnu.org; 13 Dec 2013 10:13:07 +0000 Received: from localhost ([127.0.0.1]:46581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrPk3-00034b-7S for submit@debbugs.gnu.org; Fri, 13 Dec 2013 05:13:07 -0500 Received: from mout.gmx.net ([212.227.17.20]:65309) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrPk0-00034T-VI for 16028@debbugs.gnu.org; Fri, 13 Dec 2013 05:13:05 -0500 Received: from [62.47.62.238] ([62.47.62.238]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0LvzF3-1VUO4L1Eqr-017pLd for <16028@debbugs.gnu.org>; Fri, 13 Dec 2013 11:13:04 +0100 Message-ID: <52AADDAE.7030302@gmx.at> Date: Fri, 13 Dec 2013 11:13:02 +0100 From: martin rudalics MIME-Version: 1.0 To: Drew Adams Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> <941b1292-a5c6-442d-afe8-d83aebf4b41c@default> <52A734F2.8020203@gmx.at> <52A98D4A.5000000@gmx.at> <039ebe72-12f8-49df-ae49-f1b7c56302e5@default> <52A9FC07.7040304@gmx.at> <3f787f9b-58e4-40b5-b012-59bf359af421@default> In-Reply-To: <3f787f9b-58e4-40b5-b012-59bf359af421@default> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:l0edOY7w8aSkr+3uJvNYoeghgoEYpopmbUyGERUKcDurnjFQYOF HjrbcmH1ToSGH/2mQpXHGoO9fi/K0KNxB2ll9Hs5NXZe/NcKBwE3xlhsaUy5UjiTlT3oVDU s3llTugXsJdliJUNshJfBiG8om0nlyEc9vVIf7W4tbC069lQZOwTYIK/4+am+UHV3fAS76l j6ztF5ncL25Aht55WmRiQ== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16028 Cc: Eli Zaretskii , 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) >> Because that's what x_set_scroll_bar_width in frame.c does. >> Unfortunately so, IMHO. > > Well, I don't understand, but maybe I do not need to. Is that something > new? The regression is new. If the C code has always done that, it has > not been problematic for thumbnail frames before now. You've been exploiting an undocumented feature, namely that setting the scrollbar width takes as reference values the numbers of lines and columns of a frame it had before an unacknowledged action preceding the current one. > You mean the only solution is to stop using Emacs 24 after 24.3? If you insist on using the old code, maybe. >> Hopefully, scrollbars on Windows are the only problem for you. > > Well at least that is good news. As a workaround, then, I could presumably > turn off the scroll bar on thumbnail frames. That would be a fairly large > loss of functionality, but at least it would make (de)thumbifying possible > again. You should try the solution I sketched in my other mail. martin From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 13 05:51:08 2013 Received: (at 16028) by debbugs.gnu.org; 13 Dec 2013 10:51:08 +0000 Received: from localhost ([127.0.0.1]:46609 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrQKp-00043s-Pr for submit@debbugs.gnu.org; Fri, 13 Dec 2013 05:51:08 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]:61957) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrQKn-00043j-0s for 16028@debbugs.gnu.org; Fri, 13 Dec 2013 05:51:06 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MXQ00700RDYVH00@a-mtaout20.012.net.il> for 16028@debbugs.gnu.org; Fri, 13 Dec 2013 12:51:03 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MXQ007X6RH2KKB0@a-mtaout20.012.net.il>; Fri, 13 Dec 2013 12:51:03 +0200 (IST) Date: Fri, 13 Dec 2013 12:51:05 +0200 From: Eli Zaretskii Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code In-reply-to: <52AADD97.5060801@gmx.at> X-012-Sender: halo1@inter.net.il To: martin rudalics Message-id: <83mwk558iu.fsf@gnu.org> References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> <941b1292-a5c6-442d-afe8-d83aebf4b41c@default> <52A734F2.8020203@gmx.at> <52A98D4A.5000000@gmx.at> <8361qu6n3o.fsf@gnu.org> <52A9FC22.2030301@gmx.at> <831u1h7voj.fsf@gnu.org> <52AADD97.5060801@gmx.at> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Fri, 13 Dec 2013 11:12:39 +0100 > From: martin rudalics > CC: drew.adams@oracle.com, 16028@debbugs.gnu.org > > > But if we somehow could provide Drew with the frame dimensions that > > _should_ have resulted from the two changes his code does, then he > > could add a call to set-frame-size to request precisely those > > dimensions, and that should fix his problem, no? > > I'm not sure. In principle Drew should be able to thumbify as follows: > > (1) Save the current pixel sizess, font and scrollbar width. > > (2) Set the new font size. > > (3) Set the new scrollbar width. > > (4) Set the new pixel sizes to some calculated from the ones saved in > (1) and the scale factor used in (2). > > To dethumbify he would have to > > (5) Set the new font size to the one saved in (1). > > (6) Set the new scrollbar width to the one saved in (1). > > (7) Set the new frame pixel sizes to the ones saved in (1). > > I don't know whether this correctly restores window start positions but > at least it seems the only sane way to fix his problem with the current > trunk. I'd say we should try that. > I see only two ways to solve this inconsistency: > > (1) Find some way to synch with the window manager as we do on > GNU/Linux. I don't see experts on board who would know how to do that. > (2) Apply the size changes with the commented-out code. The comment > motivating why we should not do this on Windows because of the > menubar wrapping issue doesn't make sense to me anyway: If we and > Windows can handle wrapping, we'll do that when Windows gets back to > us. And the worst thing that could happen to us is that parts of > the frame (including the modeline) might get obscured. But this is > something I plan to do anyway when shrinking a frame below the > minimum size to accomodate all of its windows. We could uncomment that code and see what trouble, if any, it causes. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 13 05:52:56 2013 Received: (at 16028) by debbugs.gnu.org; 13 Dec 2013 10:52:56 +0000 Received: from localhost ([127.0.0.1]:46613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrQMZ-00046d-Ff for submit@debbugs.gnu.org; Fri, 13 Dec 2013 05:52:55 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]:62277) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrQMX-00046T-H7 for 16028@debbugs.gnu.org; Fri, 13 Dec 2013 05:52:53 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MXQ00700RDYVH00@a-mtaout20.012.net.il> for 16028@debbugs.gnu.org; Fri, 13 Dec 2013 12:52:17 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MXQ007HNRJ5M0A0@a-mtaout20.012.net.il>; Fri, 13 Dec 2013 12:52:17 +0200 (IST) Date: Fri, 13 Dec 2013 12:52:19 +0200 From: Eli Zaretskii Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code In-reply-to: <52AADDAE.7030302@gmx.at> X-012-Sender: halo1@inter.net.il To: martin rudalics Message-id: <83lhzp58gs.fsf@gnu.org> References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> <941b1292-a5c6-442d-afe8-d83aebf4b41c@default> <52A734F2.8020203@gmx.at> <52A98D4A.5000000@gmx.at> <039ebe72-12f8-49df-ae49-f1b7c56302e5@default> <52A9FC07.7040304@gmx.at> <3f787f9b-58e4-40b5-b012-59bf359af421@default> <52AADDAE.7030302@gmx.at> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Fri, 13 Dec 2013 11:13:02 +0100 > From: martin rudalics > CC: Eli Zaretskii , 16028@debbugs.gnu.org > > > You mean the only solution is to stop using Emacs 24 after 24.3? > > If you insist on using the old code, maybe. I see no reasons why any non-bundled package couldn't have code that did different things depending on Emacs version. > >> Hopefully, scrollbars on Windows are the only problem for you. > > > > Well at least that is good news. As a workaround, then, I could presumably > > turn off the scroll bar on thumbnail frames. That would be a fairly large > > loss of functionality, but at least it would make (de)thumbifying possible > > again. > > You should try the solution I sketched in my other mail. Yes, please do. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 13 11:00:56 2013 Received: (at 16028) by debbugs.gnu.org; 13 Dec 2013 16:00:56 +0000 Received: from localhost ([127.0.0.1]:48689 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrVAX-0005Me-6d for submit@debbugs.gnu.org; Fri, 13 Dec 2013 11:00:55 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:24907) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrVAT-0005MP-Qf for 16028@debbugs.gnu.org; Fri, 13 Dec 2013 11:00:46 -0500 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rBDG0hIK019001 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 13 Dec 2013 16:00:44 GMT Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBDG0h1C017680 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 13 Dec 2013 16:00:43 GMT Received: from abhmp0001.oracle.com (abhmp0001.oracle.com [141.146.116.7]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBDG0gt4017655; Fri, 13 Dec 2013 16:00:42 GMT MIME-Version: 1.0 Message-ID: <6f8190dd-2b3c-4c83-b74b-b8a816611af4@default> Date: Fri, 13 Dec 2013 08:00:42 -0800 (PST) From: Drew Adams To: martin rudalics Subject: RE: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> <941b1292-a5c6-442d-afe8-d83aebf4b41c@default> <52A734F2.8020203@gmx.at> <52A98D4A.5000000@gmx.at> <039ebe72-12f8-49df-ae49-f1b7c56302e5@default> <52A9FC07.7040304@gmx.at> <3f787f9b-58e4-40b5-b012-59bf359af421@default> <52AADDAE.7030302@gmx.at> In-Reply-To: <52AADDAE.7030302@gmx.at> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 16028 Cc: Eli Zaretskii , 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > >> Because that's what x_set_scroll_bar_width in frame.c does. > >> Unfortunately so, IMHO. > > > > Well, I don't understand, but maybe I do not need to. Is that somethi= ng > > new? The regression is new. If the C code has always done that, it h= as > > not been problematic for thumbnail frames before now. >=20 > You've been exploiting an undocumented feature, namely that setting the > scrollbar width takes as reference values the numbers of lines and > columns of a frame it had before an unacknowledged action preceding the > current one. That's one interpretation. Actually, before Emacs on MS Windows changed so that the scroll bar did not _automatically_ shrink with the font size, I did nothing at all to the scroll bar. Didn't have to. In Emacs 20, shrinking the font is sufficient to shrink the scroll bar as well. To compensate for the fact that Emacs stopped shrinking the scroll bar along with the font and frame, I added an explicit (user-configurable) scroll-bar width for thumbified frames. (And before I realized that that workaround was possible I just eliminated the scroll bar in thumbified frames for Emacs > 20.) > > You mean the only solution is to stop using Emacs 24 after 24.3? >=20 > If you insist on using the old code, maybe. I don't insist on any particular code. It's the behavior I'm after, not a particular implementation. Of course, if other things are equal then I would prefer an implementation that works across Emacs versions. But as a start I'm just looking for an implementation that works, i.e., a fix/workaround for the regression. Stefan mentioned that I should not need to change my code for this regression, that it is just an Emacs bug that needs to be fixed. If that is the case then so much the better. But I am willing to change my code as needed. I just need to know what changes I need to make. > You should try the solution I sketched in my other mail. What solution was that? Can you state it again, in the context of the thumb-frm.el code? I believe I've tried everything I saw suggested here, but I'm open to a fix for my code, of course. I've been asking for it. The last suggestion I recall was to change the order, and I reported the problems that caused. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 13 12:25:02 2013 Received: (at 16028) by debbugs.gnu.org; 13 Dec 2013 17:25:02 +0000 Received: from localhost ([127.0.0.1]:48766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrWU0-0007Y7-6J for submit@debbugs.gnu.org; Fri, 13 Dec 2013 12:25:01 -0500 Received: from mout.gmx.net ([212.227.15.15]:57833) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrWTx-0007Xv-9b for 16028@debbugs.gnu.org; Fri, 13 Dec 2013 12:24:57 -0500 Received: from [62.47.50.199] ([62.47.50.199]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0Ldq55-1V8s3f1pSN-00j1je for <16028@debbugs.gnu.org>; Fri, 13 Dec 2013 18:24:56 +0100 Message-ID: <52AB42E5.3030306@gmx.at> Date: Fri, 13 Dec 2013 18:24:53 +0100 From: martin rudalics MIME-Version: 1.0 To: Drew Adams Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> <941b1292-a5c6-442d-afe8-d83aebf4b41c@default> <52A734F2.8020203@gmx.at> <52A98D4A.5000000@gmx.at> <039ebe72-12f8-49df-ae49-f1b7c56302e5@default> <52A9FC07.7040304@gmx.at> <3f787f9b-58e4-40b5-b012-59bf359af421@default> <52AADDAE.7030302@gmx.at> <6f8190dd-2b3c-4c83-b74b-b8a816611af4@default> In-Reply-To: <6f8190dd-2b3c-4c83-b74b-b8a816611af4@default> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:OIL8oZVizZDSBANMjJmXOazs0LThKsNIF9JCQBnPaIJ7haDp8+q 3zarXkrpy3lKvTYaIGXMYYx6ZEMOr+8PPjCe2izc7F7YQ8QUOTUIlc6AT5tdYhsdApqfnki 0KSQ/np8KQYO5pzHYIoRdf5JZpkBZ3oX2gR1doNOUmuSKWUB/3zs0HEVj2nuKiOA419Z9/y QXigvUhxx12LcjQIY6dXA== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16028 Cc: Eli Zaretskii , 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > What solution was that? Can you state it again, in the context of > the thumb-frm.el code? I believe I've tried everything I saw suggested > here, but I'm open to a fix for my code, of course. I've been asking > for it. The last suggestion I recall was to change the order, and I > reported the problems that caused. To thumbify (1) Save the current frame pixel size, font and scrollbar width. (2) Set the new font size. (3) Set the new scrollbar width. (4) Set the new pixel size to some calculated from the one saved in (1) and the scale factor used in (2). To dethumbify (5) Set the new font size to the one saved in (1). (6) Set the new scrollbar width to the one saved in (1). (7) Set the new frame pixel size to the one saved in (1). martin From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 13 13:05:21 2013 Received: (at 16028) by debbugs.gnu.org; 13 Dec 2013 18:05:21 +0000 Received: from localhost ([127.0.0.1]:48789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrX72-0001G5-Dj for submit@debbugs.gnu.org; Fri, 13 Dec 2013 13:05:20 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:42031) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrX6y-0001Fv-Im for 16028@debbugs.gnu.org; Fri, 13 Dec 2013 13:05:17 -0500 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rBDI5E6k013717 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 13 Dec 2013 18:05:15 GMT Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBDI5Dnx017884 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 13 Dec 2013 18:05:14 GMT Received: from abhmp0001.oracle.com (abhmp0001.oracle.com [141.146.116.7]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBDI5DRU000230; Fri, 13 Dec 2013 18:05:13 GMT MIME-Version: 1.0 Message-ID: Date: Fri, 13 Dec 2013 10:05:12 -0800 (PST) From: Drew Adams To: martin rudalics Subject: RE: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> <941b1292-a5c6-442d-afe8-d83aebf4b41c@default> <52A734F2.8020203@gmx.at> <52A98D4A.5000000@gmx.at> <039ebe72-12f8-49df-ae49-f1b7c56302e5@default> <52A9FC07.7040304@gmx.at> <3f787f9b-58e4-40b5-b012-59bf359af421@default> <52AADDAE.7030302@gmx.at> <6f8190dd-2b3c-4c83-b74b-b8a816611af4@default> <52AB42E5.3030306@gmx.at> In-Reply-To: <52AB42E5.3030306@gmx.at> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 16028 Cc: Eli Zaretskii , 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > > What solution was that? Can you state it again, in the context of > > the thumb-frm.el code? I believe I've tried everything I saw suggeste= d > > here, but I'm open to a fix for my code, of course. I've been asking > > for it. The last suggestion I recall was to change the order, and I > > reported the problems that caused. >=20 > To thumbify > (1) Save the current frame pixel size, font and scrollbar width. > (2) Set the new font size. > (3) Set the new scrollbar width. > (4) Set the new pixel size to some calculated from the one saved in > (1) and the scale factor used in (2). >=20 > To dethumbify > (5) Set the new font size to the one saved in (1). > (6) Set the new scrollbar width to the one saved in (1). > (7) Set the new frame pixel size to the one saved in (1). a. I don't know how to get the frame pixel size. Do you mean only `frame-pixel-width'? b. I need to allow users to specify settings for thumbified frames (option `thumfr-frame-parameters'). c. I need to be able to record the current frame parameters and use them to restore - for both thumbified and non-thumbified frames. I store this info in frame parameters `thumfr-thumbnail-frame' and `thumfr-non-thumbnail-frame'. Perhaps you can make a concrete suggestion, since you seem to understand what you have in mind by (1)-(7). I do not. But when I asked for concrete suggestions for "trying to get my code to work properly with your new code" you replied "I'm afraid there's not much you can do here." The code for `thumfr-thumbify-frame' and `thumfr-dethumbify-frame' is only 50 lines long, and (i) some of that is for stacking offsets, which is irrelevant here, and (ii) some of it is `font-too-small' error handling, to retry with a slightly larger font. Here is the essential code (30 lines): (defun thumfr-thumbify-frame (&optional frame) (interactive) (setq frame (or frame (selected-frame))) (let* ((tf-params (frame-parameter frame 'thumfr-non-thumbnail-frame= )) (non-tf-params (cl-remove-if #'thumfr-thumfr-parameter-p (frame-parameters frame)))) (unless (frame-parameter frame 'thumfr-thumbnail-frame) (set-frame-parameter frame 'thumfr-thumbnail-frame non-tf-params) (set-frame-parameter frame 'thumfr-non-thumbnail-frame nil) (condition-case thumfr-thumbify-frame (progn (enlarge-font (- thumfr-font-difference) frame) (when tf-params (modify-frame-parameters frame tf-params)) (modify-frame-parameters frame thumfr-frame-parameters)) (error (set-frame-parameter frame 'thumfr-non-thumbnail-frame tf-pa= rams) (set-frame-parameter frame 'thumfr-thumbnail-frame nil) (error (error-message-string thumfr-thumbify-frame))))))) (defun thumfr-dethumbify-frame (&optional frame) (interactive) (setq frame (or frame (selected-frame))) (let* ((non-tf-params (frame-parameter frame 'thumfr-thumbnail-frame)) (tf-params (cl-remove-if #'thumfr-thumfr-parameter-p (frame-parameters frame)))) (when non-tf-params (set-frame-parameter frame 'thumfr-non-thumbnail-frame tf-params) (set-frame-parameter frame 'thumfr-thumbnail-frame nil) (condition-case thumfr-dethumbify-frame (progn (enlarge-font thumfr-font-difference frame) (modify-frame-parameters frame non-tf-params)) (error (set-frame-parameter frame 'thumfr-thumbnail-frame non-tf-pa= rams) (set-frame-parameter frame 'thumfr-non-thumbnail-frame nil) (error (error-message-string thumfr-dethumbify-frame))))))) Helper code: (defun thumfr-thumfr-parameter-p (parameter+value) (memq (car parameter+value) '(thumfr-thumbnail-frame thumfr-non-thumbnail-frame))) (defcustom thumfr-frame-parameters '((menu-bar-lines . 0) (tool-bar-lines . 0) (scroll-bar-width . 6)) :type '(repeat (cons symbol sexp)) :group 'Thumbnail-Frames :set (lambda (sym defs) (custom-set-default sym defs) (dolist (frm (frame-list)) (when (and (frame-live-p frm) (frame-parameter frm 'thumfr-thumbnail-frame)) (modify-frame-parameters frm thumfr-frame-parameters))))) From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 13 13:23:50 2013 Received: (at 16028) by debbugs.gnu.org; 13 Dec 2013 18:23:50 +0000 Received: from localhost ([127.0.0.1]:48801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrXOv-0002oI-Su for submit@debbugs.gnu.org; Fri, 13 Dec 2013 13:23:50 -0500 Received: from mout.gmx.net ([212.227.17.20]:50081) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrXOs-0002o1-NS for 16028@debbugs.gnu.org; Fri, 13 Dec 2013 13:23:48 -0500 Received: from [62.47.50.199] ([62.47.50.199]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MBFBB-1VjbRE0UB3-00ACCT for <16028@debbugs.gnu.org>; Fri, 13 Dec 2013 19:23:45 +0100 Message-ID: <52AB50AD.2000208@gmx.at> Date: Fri, 13 Dec 2013 19:23:41 +0100 From: martin rudalics MIME-Version: 1.0 To: Drew Adams Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> <941b1292-a5c6-442d-afe8-d83aebf4b41c@default> <52A734F2.8020203@gmx.at> <52A98D4A.5000000@gmx.at> <039ebe72-12f8-49df-ae49-f1b7c56302e5@default> <52A9FC07.7040304@gmx.at> <3f787f9b-58e4-40b5-b012-59bf359af421@default> <52AADDAE.7030302@gmx.at> <6f8190dd-2b3c-4c83-b74b-b8a816611af4@default> <52AB42E5.3030306@gmx.at> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:+edbRmp96junYh3+rTaIerxCe8wBND4BJT+UaP9y9/+n1QrjRzq b5CUxaXcMpc9wlIjnBCkFIfQlwTXO/HwZvAFRqy6ycr+mK0Hsj6QcS96kFjjY3pIApHs2w2 MZyvx4d22izc0YdTvRrMwS4Hqc89yY3nuhcbnmh3d5W+c2hsSRHfHc6o88zkY1t51koDVdH 3D/o/beJfeio6TxT8VmlQ== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16028 Cc: Eli Zaretskii , 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) >> To thumbify >> (1) Save the current frame pixel size, font and scrollbar width. >> (2) Set the new font size. >> (3) Set the new scrollbar width. >> (4) Set the new pixel size to some calculated from the one saved in >> (1) and the scale factor used in (2). >> >> To dethumbify >> (5) Set the new font size to the one saved in (1). >> (6) Set the new scrollbar width to the one saved in (1). >> (7) Set the new frame pixel size to the one saved in (1). > > a. I don't know how to get the frame pixel size. Do you mean only > `frame-pixel-width'? And `frame-pixel-height'. You can use the line/column values instead. Just that if the frame did not have an integral multiple of lines/columns before, you won't restore the exact size afterwards. > b. I need to allow users to specify settings for thumbified frames > (option `thumfr-frame-parameters'). Process them in (3) and revert them before (7). > c. I need to be able to record the current frame parameters and use > them to restore - for both thumbified and non-thumbified frames. > I store this info in frame parameters `thumfr-thumbnail-frame' and > `thumfr-non-thumbnail-frame'. Save them in (1) and restore them before (7). > Perhaps you can make a concrete suggestion, since you seem to understand > what you have in mind by (1)-(7). I do not. What is it you don't understand? > But when I asked for concrete suggestions for "trying to get my code to > work properly with your new code" you replied "I'm afraid there's not > much you can do here." Let's hope I was wrong when I said that. martin From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 14 06:22:35 2013 Received: (at 16028) by debbugs.gnu.org; 14 Dec 2013 11:22:35 +0000 Received: from localhost ([127.0.0.1]:49303 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrnIp-0007Yl-0p for submit@debbugs.gnu.org; Sat, 14 Dec 2013 06:22:35 -0500 Received: from mout.gmx.net ([212.227.17.21]:54629) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrnIn-0007Yd-CN for 16028@debbugs.gnu.org; Sat, 14 Dec 2013 06:22:34 -0500 Received: from [62.47.61.64] ([62.47.61.64]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MI5JG-1Vp1sf3lMM-003sFb for <16028@debbugs.gnu.org>; Sat, 14 Dec 2013 12:22:32 +0100 Message-ID: <52AC3F74.3020907@gmx.at> Date: Sat, 14 Dec 2013 12:22:28 +0100 From: martin rudalics MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> <941b1292-a5c6-442d-afe8-d83aebf4b41c@default> <52A734F2.8020203@gmx.at> <52A98D4A.5000000@gmx.at> <8361qu6n3o.fsf@gnu.org> <52A9FC22.2030301@gmx.at> <831u1h7voj.fsf@gnu.org> <52AADD97.5060801@gmx.at> <83mwk558iu.fsf@gnu.org> In-Reply-To: <83mwk558iu.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:DB2SO6G3cZoigTElXwnmw8DdpcKTtxBNOHEoShqQJONByYZEa+F Fsqk1Sr0LYl/jPtS14IQPDRfzUozrNJdHvgY6do49FfJFw61Yt6ML4SSmULpiDasx1WulZM LWHkfdkM7s5C2oM/ULcK4jNsUEwmbVizYD6rgrxl9A4DvhwhoUfnl4YzXZ/Men5GAMmvElL sUUFDCutb+btf2EB1sp9g== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > We could uncomment that code and see what trouble, if any, it causes. Done in revision 115521. The code is executed, however, iff the new variable `w32-enable-frame-resize-hack' is t. So after getting the new version, Drew can try whether setting this variable changes the behavior in his sense. martin From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 14 07:04:27 2013 Received: (at 16028) by debbugs.gnu.org; 14 Dec 2013 12:04:27 +0000 Received: from localhost ([127.0.0.1]:49338 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrnxK-0000Hp-B2 for submit@debbugs.gnu.org; Sat, 14 Dec 2013 07:04:26 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:64969) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrnxG-0000Hg-VU for 16028@debbugs.gnu.org; Sat, 14 Dec 2013 07:04:23 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MXS00000PI1F300@a-mtaout22.012.net.il> for 16028@debbugs.gnu.org; Sat, 14 Dec 2013 14:04:22 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MXS0006FPJ96L80@a-mtaout22.012.net.il>; Sat, 14 Dec 2013 14:04:22 +0200 (IST) Date: Sat, 14 Dec 2013 14:04:25 +0200 From: Eli Zaretskii Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code In-reply-to: <52AC3F74.3020907@gmx.at> X-012-Sender: halo1@inter.net.il To: martin rudalics Message-id: <83lhznfxkm.fsf@gnu.org> References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> <941b1292-a5c6-442d-afe8-d83aebf4b41c@default> <52A734F2.8020203@gmx.at> <52A98D4A.5000000@gmx.at> <8361qu6n3o.fsf@gnu.org> <52A9FC22.2030301@gmx.at> <831u1h7voj.fsf@gnu.org> <52AADD97.5060801@gmx.at> <83mwk558iu.fsf@gnu.org> <52AC3F74.3020907@gmx.at> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sat, 14 Dec 2013 12:22:28 +0100 > From: martin rudalics > CC: drew.adams@oracle.com, 16028@debbugs.gnu.org > > > We could uncomment that code and see what trouble, if any, it causes. > > Done in revision 115521. The code is executed, however, iff the new > variable `w32-enable-frame-resize-hack' is t. I'd say that variable should be t by default. Otherwise, we will never know if it does any trouble until it's too late. From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 14 08:45:55 2013 Received: (at 16028) by debbugs.gnu.org; 14 Dec 2013 13:45:55 +0000 Received: from localhost ([127.0.0.1]:49422 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrpXW-00047F-Kz for submit@debbugs.gnu.org; Sat, 14 Dec 2013 08:45:55 -0500 Received: from mout.gmx.net ([212.227.15.18]:52394) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrpXU-000477-HZ for 16028@debbugs.gnu.org; Sat, 14 Dec 2013 08:45:52 -0500 Received: from [62.47.48.77] ([62.47.48.77]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0LtDpH-1VQ6Nw2bgx-012t7J for <16028@debbugs.gnu.org>; Sat, 14 Dec 2013 14:45:51 +0100 Message-ID: <52AC610B.7050603@gmx.at> Date: Sat, 14 Dec 2013 14:45:47 +0100 From: martin rudalics MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> <941b1292-a5c6-442d-afe8-d83aebf4b41c@default> <52A734F2.8020203@gmx.at> <52A98D4A.5000000@gmx.at> <8361qu6n3o.fsf@gnu.org> <52A9FC22.2030301@gmx.at> <831u1h7voj.fsf@gnu.org> <52AADD97.5060801@gmx.at> <83mwk558iu.fsf@gnu.org> <52AC3F74.3020907@gmx.at> <83lhznfxkm.fsf@gnu.org> In-Reply-To: <83lhznfxkm.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:32SsNNuc/mY4batW7f3iGCkJQRFzKurkSybw+36ejiukiptRXf8 uVt8ke2aE3mjunTB40IdIxPxHcCJK01lmR+HW5iGnpN15zzhDKWGW2yeTHaFBRF6znXabYR Bs40cTXJ5eAre64GxDX25yYbGX4McYa0El+s7qwxI4+k1VmebTJCt3zD7xrWuzQOqPg76Ix RUiJeM+FZ383ctWBJJGow== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > I'd say that variable should be t by default. Otherwise, we will > never know if it does any trouble until it's too late. Let's first see whether it helps at all. What I did was to emulate something like "Drew could you try this patch for w32term.c?". martin From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 14 09:09:30 2013 Received: (at 16028) by debbugs.gnu.org; 14 Dec 2013 14:09:30 +0000 Received: from localhost ([127.0.0.1]:49442 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrpuM-0004kV-Db for submit@debbugs.gnu.org; Sat, 14 Dec 2013 09:09:30 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:56955) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrpuK-0004kM-AS for 16028@debbugs.gnu.org; Sat, 14 Dec 2013 09:09:28 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MXS00100V7YDM00@a-mtaout22.012.net.il> for 16028@debbugs.gnu.org; Sat, 14 Dec 2013 16:09:26 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MXS0015JVBP1690@a-mtaout22.012.net.il>; Sat, 14 Dec 2013 16:09:26 +0200 (IST) Date: Sat, 14 Dec 2013 16:09:29 +0200 From: Eli Zaretskii Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code In-reply-to: <52AC610B.7050603@gmx.at> X-012-Sender: halo1@inter.net.il To: martin rudalics Message-id: <83eh5ffrs6.fsf@gnu.org> References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> <941b1292-a5c6-442d-afe8-d83aebf4b41c@default> <52A734F2.8020203@gmx.at> <52A98D4A.5000000@gmx.at> <8361qu6n3o.fsf@gnu.org> <52A9FC22.2030301@gmx.at> <831u1h7voj.fsf@gnu.org> <52AADD97.5060801@gmx.at> <83mwk558iu.fsf@gnu.org> <52AC3F74.3020907@gmx.at> <83lhznfxkm.fsf@gnu.org> <52AC610B.7050603@gmx.at> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sat, 14 Dec 2013 14:45:47 +0100 > From: martin rudalics > CC: drew.adams@oracle.com, 16028@debbugs.gnu.org > > > I'd say that variable should be t by default. Otherwise, we will > > never know if it does any trouble until it's too late. > > Let's first see whether it helps at all. It does for me, so why shouldn't it for Drew? From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 14 12:17:16 2013 Received: (at 16028) by debbugs.gnu.org; 14 Dec 2013 17:17:16 +0000 Received: from localhost ([127.0.0.1]:50257 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vrsq4-0001Te-7Q for submit@debbugs.gnu.org; Sat, 14 Dec 2013 12:17:16 -0500 Received: from mout.gmx.net ([212.227.15.18]:54070) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vrsq1-0001TW-U0 for 16028@debbugs.gnu.org; Sat, 14 Dec 2013 12:17:14 -0500 Received: from [62.47.42.92] ([62.47.42.92]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MN1Gu-1Vu4gr0oHo-006et5 for <16028@debbugs.gnu.org>; Sat, 14 Dec 2013 18:17:13 +0100 Message-ID: <52AC9294.8000904@gmx.at> Date: Sat, 14 Dec 2013 18:17:08 +0100 From: martin rudalics MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> <941b1292-a5c6-442d-afe8-d83aebf4b41c@default> <52A734F2.8020203@gmx.at> <52A98D4A.5000000@gmx.at> <8361qu6n3o.fsf@gnu.org> <52A9FC22.2030301@gmx.at> <831u1h7voj.fsf@gnu.org> <52AADD97.5060801@gmx.at> <83mwk558iu.fsf@gnu.org> <52AC3F74.3020907@gmx.at> <83lhznfxkm.fsf@gnu.org> <52AC610B.7050603@gmx.at> <83eh5ffrs6.fsf@gnu.org> In-Reply-To: <83eh5ffrs6.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:GZ3pOcefB2fp8LynUfXrd2VfVi00ztFrcuChNu8VS3SpFH6DvR8 DFD3XYot1LIHvn5El0WUBU4pOn8MPUe5/+XqEU5nlMrZBBkXONGztjaT8cyKlw6maOBUG91 dxx4QNRODep7sBpV4GvgAw8ZZHROKCnHVy3LOmcSVm3FKYqHGID42oXxDgPSGLLNC5ASuiM yqFy63JusUVi2NMcpJkGg== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > It does for me, so why shouldn't it for Drew? Because Drew's special. martin From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 14 12:23:34 2013 Received: (at 16028) by debbugs.gnu.org; 14 Dec 2013 17:23:35 +0000 Received: from localhost ([127.0.0.1]:50272 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vrsw9-0001g6-Vp for submit@debbugs.gnu.org; Sat, 14 Dec 2013 12:23:34 -0500 Received: from mout.gmx.net ([212.227.17.20]:49816) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vrsw6-0001fx-Mz for 16028@debbugs.gnu.org; Sat, 14 Dec 2013 12:23:32 -0500 Received: from [62.47.42.92] ([62.47.42.92]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0LlE86-1VHzxH3aKs-00b5SM for <16028@debbugs.gnu.org>; Sat, 14 Dec 2013 18:23:30 +0100 Message-ID: <52AC940D.5090202@gmx.at> Date: Sat, 14 Dec 2013 18:23:25 +0100 From: martin rudalics MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> <941b1292-a5c6-442d-afe8-d83aebf4b41c@default> <52A734F2.8020203@gmx.at> <52A98D4A.5000000@gmx.at> <8361qu6n3o.fsf@gnu.org> <52A9FC22.2030301@gmx.at> <831u1h7voj.fsf@gnu.org> <52AADD97.5060801@gmx.at> <83mwk558iu.fsf@gnu.org> <52AC3F74.3020907@gmx.at> <83lhznfxkm.fsf@gnu.org> <52AC610B.7050603@gmx.at> <83eh5ffrs6.fsf@gnu.org> <52AC9294.8000904@gmx.at> <83d2kzfizp.fsf@gnu.org> In-Reply-To: <83d2kzfizp.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:ieF4IRpKl6SApcnRr9Lix1RxnRQ3tdT03/D67CtS8EhVGnmgDqN 6CM6fK085MWZa84mDcVeKg4hM706t5Pab4I+VQy3eokI8sufUL+r3kPWDNvq67hyQjWMqbG erzLveJ8+Mzl45qNVY+4di8nhl1SZJ+zhjAd0sYBqJfcpswj3bwGcfaY8S496MsosG5fsc4 WEj2n/42kQMGObfeLo0zQ== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > I thought I was special, too. I never met anyone as patient as you on this list. So you're special too, but in the opposite sense. martin From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 14 12:29:46 2013 Received: (at 16028) by debbugs.gnu.org; 14 Dec 2013 17:29:46 +0000 Received: from localhost ([127.0.0.1]:50285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vrt2A-0001rC-3t for submit@debbugs.gnu.org; Sat, 14 Dec 2013 12:29:46 -0500 Received: from mtaout23.012.net.il ([80.179.55.175]:47300) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vrt26-0001r0-K8 for 16028@debbugs.gnu.org; Sat, 14 Dec 2013 12:29:44 -0500 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MXT004003TKXM00@a-mtaout23.012.net.il> for 16028@debbugs.gnu.org; Sat, 14 Dec 2013 19:19:18 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MXT0040Z446XQ10@a-mtaout23.012.net.il>; Sat, 14 Dec 2013 19:19:18 +0200 (IST) Date: Sat, 14 Dec 2013 19:19:22 +0200 From: Eli Zaretskii Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code In-reply-to: <52AC9294.8000904@gmx.at> X-012-Sender: halo1@inter.net.il To: martin rudalics Message-id: <83d2kzfizp.fsf@gnu.org> References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> <941b1292-a5c6-442d-afe8-d83aebf4b41c@default> <52A734F2.8020203@gmx.at> <52A98D4A.5000000@gmx.at> <8361qu6n3o.fsf@gnu.org> <52A9FC22.2030301@gmx.at> <831u1h7voj.fsf@gnu.org> <52AADD97.5060801@gmx.at> <83mwk558iu.fsf@gnu.org> <52AC3F74.3020907@gmx.at> <83lhznfxkm.fsf@gnu.org> <52AC610B.7050603@gmx.at> <83eh5ffrs6.fsf@gnu.org> <52AC9294.8000904@gmx.at> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sat, 14 Dec 2013 18:17:08 +0100 > From: martin rudalics > CC: drew.adams@oracle.com, 16028@debbugs.gnu.org > > > It does for me, so why shouldn't it for Drew? > > Because Drew's special. I thought I was special, too. From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 14 19:44:04 2013 Received: (at 16028) by debbugs.gnu.org; 15 Dec 2013 00:44:04 +0000 Received: from localhost ([127.0.0.1]:50490 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrzoR-0006ZI-RD for submit@debbugs.gnu.org; Sat, 14 Dec 2013 19:44:04 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:20582) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrzoO-0006Yl-Uw for 16028@debbugs.gnu.org; Sat, 14 Dec 2013 19:44:01 -0500 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rBF0hwiX003748 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 15 Dec 2013 00:43:59 GMT Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBF0hvJN011564 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 15 Dec 2013 00:43:58 GMT Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBF0hvxA011554; Sun, 15 Dec 2013 00:43:57 GMT MIME-Version: 1.0 Message-ID: <1fc1bdd2-ea53-4084-802e-d9e181b91722@default> Date: Sat, 14 Dec 2013 16:43:57 -0800 (PST) From: Drew Adams To: martin rudalics , Eli Zaretskii Subject: RE: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> <941b1292-a5c6-442d-afe8-d83aebf4b41c@default> <52A734F2.8020203@gmx.at> <52A98D4A.5000000@gmx.at> <8361qu6n3o.fsf@gnu.org> <52A9FC22.2030301@gmx.at> <831u1h7voj.fsf@gnu.org> <52AADD97.5060801@gmx.at> <83mwk558iu.fsf@gnu.org> <52AC3F74.3020907@gmx.at> In-Reply-To: <52AC3F74.3020907@gmx.at> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.7 (--) > > We could uncomment that code and see what trouble, if any, it causes. >=20 > Done in revision 115521. The code is executed, however, iff the new > variable `w32-enable-frame-resize-hack' is t. So after getting the new > version, Drew can try whether setting this variable changes the behavior > in his sense. Yes, thank you very much. Haven't bothered to test much, but setting that variable to non-nil seems to remove the regression. Thanks very much, to both of you, and to Juanma for providing the Windows builds. This bug fix makes a big difference for me. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 16 05:12:58 2013 Received: (at 16028) by debbugs.gnu.org; 16 Dec 2013 10:12:59 +0000 Received: from localhost ([127.0.0.1]:53010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VsVAY-0007aK-Dv for submit@debbugs.gnu.org; Mon, 16 Dec 2013 05:12:58 -0500 Received: from mout.gmx.net ([212.227.15.18]:55915) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VsVAV-0007a9-Ii for 16028@debbugs.gnu.org; Mon, 16 Dec 2013 05:12:56 -0500 Received: from [62.47.45.151] ([62.47.45.151]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0LwW8p-1VSkg531TD-018MDx for <16028@debbugs.gnu.org>; Mon, 16 Dec 2013 11:12:54 +0100 Message-ID: <52AED21F.8090206@gmx.at> Date: Mon, 16 Dec 2013 11:12:47 +0100 From: martin rudalics MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> <941b1292-a5c6-442d-afe8-d83aebf4b41c@default> <52A734F2.8020203@gmx.at> <52A98D4A.5000000@gmx.at> <8361qu6n3o.fsf@gnu.org> <52A9FC22.2030301@gmx.at> <831u1h7voj.fsf@gnu.org> <52AADD97.5060801@gmx.at> <83mwk558iu.fsf@gnu.org> <52AC3F74.3020907@gmx.at> <83lhznfxkm.fsf@gnu.org> In-Reply-To: <83lhznfxkm.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:7qW5kIlRqXDuSSQi3vfQ8TCNgOdwq0Nk7446O7LCAafGputq/f+ cSJODR0btc7voeKu4LGy+67nOYWEOmNSXKgLylC7PvZeTjB3wRR2847PnTrW5Uv1BE88d/s DVeRvFx/o08EmKzk2N1uapXByFE5VzWbd76XeDSR3Op816t0ojqPHgQR4IXgRm3Blzn/LR2 Ie4cz4LAuV8Ty7zeC72cg== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > I'd say that variable should be t by default. Should be t by default now. If there are no problems in the next weeks I'll hardcode the behavior. martin From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 16 10:06:50 2013 Received: (at 16028) by debbugs.gnu.org; 16 Dec 2013 15:06:50 +0000 Received: from localhost ([127.0.0.1]:53989 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VsZkv-0000VL-Qn for submit@debbugs.gnu.org; Mon, 16 Dec 2013 10:06:50 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:50082) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VsZks-0000V7-Tj for 16028@debbugs.gnu.org; Mon, 16 Dec 2013 10:06:47 -0500 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rBGF6jf7017190 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 16 Dec 2013 15:06:46 GMT Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBGF6ic5029377 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 16 Dec 2013 15:06:45 GMT Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBGF6htD026495; Mon, 16 Dec 2013 15:06:44 GMT MIME-Version: 1.0 Message-ID: <0280aee2-4ae4-439d-ae92-372cbe129a43@default> Date: Mon, 16 Dec 2013 07:06:46 -0800 (PST) From: Drew Adams To: martin rudalics , Eli Zaretskii Subject: RE: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <6ee939f5-138d-4e5c-830e-8a20f8e45bea@default> <52A207C5.4070404@gmx.at> <12e899a3-dbf2-4b44-9b87-a0b9fc24f317@default> <52A2EE7B.4030105@gmx.at> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> <941b1292-a5c6-442d-afe8-d83aebf4b41c@default> <52A734F2.8020203@gmx.at> <52A98D4A.5000000@gmx.at> <8361qu6n3o.fsf@gnu.org> <52A9FC22.2030301@gmx.at> <831u1h7voj.fsf@gnu.org> <52AADD97.5060801@gmx.at> <83mwk558iu.fsf@gnu.org> <52AC3F74.3020907@gmx.at> <83lhznfxkm.fsf@gnu.org> <52AED21F.8090206@gmx.at> In-Reply-To: <52AED21F.8090206@gmx.at> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 16028 Cc: 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.8 (--) > > I'd say that variable should be t by default. >=20 > Should be t by default now. If there are no problems in the next weeks > I'll hardcode the behavior. Great; thanks. From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 09 23:09:16 2014 Received: (at 16028) by debbugs.gnu.org; 10 Feb 2014 04:09:16 +0000 Received: from localhost ([127.0.0.1]:33324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCiBH-0001am-Lm for submit@debbugs.gnu.org; Sun, 09 Feb 2014 23:09:16 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:38664) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCiBF-0001ae-Cq for 16028@debbugs.gnu.org; Sun, 09 Feb 2014 23:09:13 -0500 Received: from [204.14.154.233] (helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WCiB0-0005dl-2d; Mon, 10 Feb 2014 05:08:58 +0100 From: Lars Ingebrigtsen To: Drew Adams Subject: Re: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> <941b1292-a5c6-442d-afe8-d83aebf4b41c@default> <52A734F2.8020203@gmx.at> <52A98D4A.5000000@gmx.at> <8361qu6n3o.fsf@gnu.org> <52A9FC22.2030301@gmx.at> <831u1h7voj.fsf@gnu.org> <52AADD97.5060801@gmx.at> <83mwk558iu.fsf@gnu.org> <52AC3F74.3020907@gmx.at> <1fc1bdd2-ea53-4084-802e-d9e181b91722@default> Date: Sun, 09 Feb 2014 20:07:44 -0800 In-Reply-To: <1fc1bdd2-ea53-4084-802e-d9e181b91722@default> (Drew Adams's message of "Sat, 14 Dec 2013 16:43:57 -0800 (PST)") Message-ID: <87eh3behkf.fsf@building.gnus.org> User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1WCiB0-0005dl-2d X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1392610138.96316@ogc0GDfO/TKVH40e0OmCbg X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16028 Cc: martin rudalics , Eli Zaretskii , 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Drew Adams writes: >> > We could uncomment that code and see what trouble, if any, it causes. >> >> Done in revision 115521. The code is executed, however, iff the new >> variable `w32-enable-frame-resize-hack' is t. So after getting the new >> version, Drew can try whether setting this variable changes the behavior >> in his sense. > > Yes, thank you very much. Haven't bothered to test much, but setting that > variable to non-nil seems to remove the regression. > > Thanks very much, to both of you, and to Juanma for providing the Windows > builds. This bug fix makes a big difference for me. This was a very long thread, but I think the conclusion is that this bug was fixed. Closing. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 09 23:09:20 2014 Received: (at control) by debbugs.gnu.org; 10 Feb 2014 04:09:21 +0000 Received: from localhost ([127.0.0.1]:33327 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCiBM-0001b8-7G for submit@debbugs.gnu.org; Sun, 09 Feb 2014 23:09:20 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:38680) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCiBJ-0001au-6t for control@debbugs.gnu.org; Sun, 09 Feb 2014 23:09:17 -0500 Received: from [204.14.154.233] (helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WCiB4-0005ds-TB for control@debbugs.gnu.org; Mon, 10 Feb 2014 05:09:03 +0100 Date: Sun, 09 Feb 2014 20:07:50 -0800 Message-Id: <87d2ivehk9.fsf@building.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #16028 X-MailScanner-ID: 1WCiB4-0005ds-TB X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1392610143.42781@/M4kCqdFyE7iZXDc67T0bg X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) close 16028 From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 09 23:29:54 2014 Received: (at 16028) by debbugs.gnu.org; 10 Feb 2014 04:29:54 +0000 Received: from localhost ([127.0.0.1]:33402 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCiVG-0003LO-CE for submit@debbugs.gnu.org; Sun, 09 Feb 2014 23:29:54 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:45734) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCiVE-0003LG-0Z for 16028@debbugs.gnu.org; Sun, 09 Feb 2014 23:29:52 -0500 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s1A4ToqX020702 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 10 Feb 2014 04:29:51 GMT Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s1A4Tnt6022091 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 10 Feb 2014 04:29:50 GMT Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s1A4TnkH014519; Mon, 10 Feb 2014 04:29:49 GMT MIME-Version: 1.0 Message-ID: <189c6715-5f40-47a6-8db3-9c44fa5ad7e7@default> Date: Sun, 9 Feb 2014 20:29:47 -0800 (PST) From: Drew Adams To: Lars Ingebrigtsen Subject: RE: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <723644fb-f171-4bed-b8d0-7f9a1c8b9f7d@default> <52A4428F.4030101@gmx.at> <600e7b0c-73bb-4163-8d03-a8579f250045@default> <52A4B23E.9080609@gmx.at> <837gbeymiy.fsf@gnu.org> <52A60DD2.1020303@gmx.at> <83r49lxsxf.fsf@gnu.org> <52A6ED85.8020206@gmx.at> <52A6F1C4.3040803@gmx.at> <941b1292-a5c6-442d-afe8-d83aebf4b41c@default> <52A734F2.8020203@gmx.at> <52A98D4A.5000000@gmx.at> <8361qu6n3o.fsf@gnu.org> <52A9FC22.2030301@gmx.at> <831u1h7voj.fsf@gnu.org> <52AADD97.5060801@gmx.at> <83mwk558iu.fsf@gnu.org> <52AC3F74.3020907@gmx.at> <1fc1bdd2-ea53-4084-802e-d9e181b91722@default> <87eh3behkf.fsf@building.gnus.org> In-Reply-To: <87eh3behkf.fsf@building.gnus.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 16028 Cc: martin rudalics , Eli Zaretskii , 16028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.9 (--) > This was a very long thread, but I think the conclusion is that this > bug was fixed. Closing. Yes, it was fixed. Thx. From unknown Tue Jun 17 01:43:23 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 10 Mar 2014 11:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator