From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 23 02:30:02 2017 Received: (at submit) by debbugs.gnu.org; 23 Jan 2017 07:30:03 +0000 Received: from localhost ([127.0.0.1]:38654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVZ4k-0004h0-El for submit@debbugs.gnu.org; Mon, 23 Jan 2017 02:30:02 -0500 Received: from eggs.gnu.org ([208.118.235.92]:42125) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVZ4T-0004fo-Bj for submit@debbugs.gnu.org; Mon, 23 Jan 2017 02:29:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVZ4N-0005Yk-HD for submit@debbugs.gnu.org; Mon, 23 Jan 2017 02:29:40 -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]:47853) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cVZ4N-0005Yg-EJ for submit@debbugs.gnu.org; Mon, 23 Jan 2017 02:29:39 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33091) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVZ4M-0002zV-By for bug-gnu-emacs@gnu.org; Mon, 23 Jan 2017 02:29:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVZ4H-0005Xn-ES for bug-gnu-emacs@gnu.org; Mon, 23 Jan 2017 02:29:38 -0500 Received: from mail-hampton.hostforweb.net ([205.234.186.191]:53763 helo=hampton.hostforweb.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cVZ4H-0005PR-AC for bug-gnu-emacs@gnu.org; Mon, 23 Jan 2017 02:29:33 -0500 Received: from s70.gtokyofl21.vectant.ne.jp ([202.215.75.70]:60000 helo=localhost) by hampton.hostforweb.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from ) id 1cVZ3N-003ztK-Cd; Mon, 23 Jan 2017 01:28:49 -0600 Date: Mon, 23 Jan 2017 16:28:35 +0900 Message-ID: From: Katsumi Yamaoka To: bug-gnu-emacs@gnu.org Subject: 26.0.50; modify-frame-parameters modifies undesignated parameter? Organization: Emacsen advocacy group X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (i686-pc-cygwin) Cancel-Lock: sha1:17fmW4u1ZWgLqYISX9xz9gUuTA0= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OutGoing-Spam-Status: No, score=-2.9 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: authenticated_id: yamaoka/from_h X-Authenticated-Sender: hampton.hostforweb.net: yamaoka@jpl.org X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (barebone) [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -5.0 (-----) Hi, This didn't happen last week, and doesn't happen with Emacs 25.1. I have two displays arranged up and down; one is the up side of 1920x1080 and the other is the down side of 1366x768, i.e.: +---------------+ | | | | | 1920x1080 | External display | | | | +--+---------+--+ | | |1366x 768| Note PC | | +---------+ The coordinates start with (0 0) and (256 1080) respectively[1]. In that situation, the following script makes a new frame protrude to the left from the down screen: (let ((frame (make-frame))) (modify-frame-parameters frame '((top . 1200)))) On the new frame, (frame-parameter nil 'left) returns 8, that is outside of the down screen. This happens whichever the original frame (that runs the script) exists in the up screen or the down screen. As mentioned above, a new frame did not protrude from the down screen last week. Here is a workaround: (let ((frame (make-frame))) (sit-for 0) (modify-frame-parameters frame '((top . 1200)))) But it is needless, isn't it? Thanks in advance. Regards, In GNU Emacs 26.0.50.1 (i686-pc-cygwin, GTK+ Version 3.18.9) of 2017-01-23 built on yamaoka-PC Windowing system distributor 'The Cygwin/X Project', version 11.0.11900000 [1] The values of left and top frame parameters seem to indicate that of a window of an Emacs frame, so we have to increase the values some extent. From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 23 03:03:56 2017 Received: (at 25511) by debbugs.gnu.org; 23 Jan 2017 08:03:56 +0000 Received: from localhost ([127.0.0.1]:38660 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVZbY-0005Uj-En for submit@debbugs.gnu.org; Mon, 23 Jan 2017 03:03:56 -0500 Received: from mout.gmx.net ([212.227.17.21]:58486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVZbW-0005UW-Na for 25511@debbugs.gnu.org; Mon, 23 Jan 2017 03:03:55 -0500 Received: from [192.168.1.100] ([213.162.68.79]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MQvDO-1cxeZl2mFS-00UNrA; Mon, 23 Jan 2017 09:03:43 +0100 Message-ID: <5885B8D7.4040301@gmx.at> Date: Mon, 23 Jan 2017 09:03:35 +0100 From: martin rudalics MIME-Version: 1.0 To: Katsumi Yamaoka , 25511@debbugs.gnu.org Subject: Re: bug#25511: 26.0.50; modify-frame-parameters modifies undesignated parameter? References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:IRwsHDanMV60b8811uX0zDZ9nYpYMIc4Yyxs0VIEYLgzzMuEdpM EOHacwDuUl+WpDiwYcTJ3HiRZJq8jefRflvinb33RPOIer1XoqDoQ/TOQ6UH4wQyMg6nJGS Tva4KrongGqUFmeaQgF6SYn1aSYghdMVFWC2Vi3e5ODKJ7nK3BmMNzHT/e/3h9VZvy2N4rI ofWfZnWz8l0fMTbRVxSJA== X-UI-Out-Filterresults: notjunk:1;V01:K0:DsnHjza3CQ0=:ZfUWN5KLm9EDlAdUsN5EwI K+bPyZeKhdOcLBZ1cwZ333ovGhVaAzAzUWvquoRRZyEWLI7vut6/odQgDS1dHHoos2nf7Jy+C qE5MTx/GyhP6Vbn6Y8KExtxOwMf4lVMnchrNEdZ80mKgAsDXE4pkcWCuRSxWO+mDh76fpbdLM qrrej6qHBgiklhLBMrbIN76VNb/BaJBNypz8Encd0uhQAHs878TJGFqbO6qiPR62InzZajiNV J+5qH/l2vQHL7zRY2Lo80Wz1Av+f+ZQ276t8iciuPMgPyZcv0XvZdI1GRThna1rSus/XB4Bk/ B9Mdc/MowXxbvycmKjV7xiYifLqkq8Yi9M5hZ/M91HATi+JG0SK8PNp4ka2OL/TAaKRJDz7QL 8eyasxft4HJPrMhpMDTYM+pIfBiqUV8VJNYPGx8TjPHVNHAj2PWpLszXda3B0UJ6PMUEvyL9H 3g0HciHKx2QZGg1DV+GqgkjQ0P+UxW6PWQPNs9qCLwcPhtykiCNyuOK6Xb6c4e0llEWWsxvu+ L2T5rz8CV5ItoeFgcvXpyRj2obmJLThKTw8H4cIcwnlc2aVeczvV5w//indBepk+6xrgaN3rK AO9t3C7ZBBN+nXt5MyNhdw/DOt/JZqqHZEYSDl+jcOKPKx3siYmg+R9USCOsSKQ9NVHfUZmVR XLHLs3vqkCYHRKYu0t87rDz3hJMs/6l//OQj53eH9EeOsSXo0zZUe57r/V6gFIPFtrTCRU+tB ZHQJ3brhhjrs3x0LISc8futw5XamtWfpBBvl6x3e8b+tbLxAFrh3VkYXZvk0zOc/y3hKzckii 4jqh8BCqN4i2zvnj4z7xU9HcAZRcKjakNrpN2Yb0N4XH+3+Pgw8ST7THc2Es7LWSF5YLQNfpY FcI4fizyH3nK+0uSwIaK+sBrO3I+TmaaToIrGJ6JZty6ojoK2aOfu36ZkgyNK33M0HDTnGT/F 4vQEmS5lqb1FN+3zyh9af2qdeha1Ufyb9bQB4BgxR1617+pGAdbpvs08tgpkBGPOy3SmoNGBQ nS7thxTAuvzYFhjdLEyqvTU= X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > The coordinates start with (0 0) and (256 1080) respectively[1]. > In that situation, the following script makes a new frame protrude > to the left from the down screen: > > (let ((frame (make-frame))) > (modify-frame-parameters frame '((top . 1200)))) [...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [212.227.17.21 listed in list.dnswl.org] 3.6 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [213.162.68.79 listed in dnsbl.sorbs.net] -1.2 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.17.21 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rudalics[at]gmx.at) X-Debbugs-Envelope-To: 25511 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > The coordinates start with (0 0) and (256 1080) respectively[1]. > In that situation, the following script makes a new frame protrude > to the left from the down screen: > > (let ((frame (make-frame))) > (modify-frame-parameters frame '((top . 1200)))) [...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.2 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.17.21 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [212.227.17.21 listed in list.dnswl.org] 3.6 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [213.162.68.79 listed in dnsbl.sorbs.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rudalics[at]gmx.at) > The coordinates start with (0 0) and (256 1080) respectively[1]. > In that situation, the following script makes a new frame protrude > to the left from the down screen: > > (let ((frame (make-frame))) > (modify-frame-parameters frame '((top . 1200)))) Why don't you use (make-frame '((top . 1200))) in the first place? This should tell the window manager right away what position you want before making the frame visible. If this does not work as intended, we shall have to investigate it. As a general rule: Never set a frame parameter right after creating a new frame. > On the new frame, (frame-parameter nil 'left) returns 8, that is > outside of the down screen. This happens whichever the original > frame (that runs the script) exists in the up screen or the down > screen. As mentioned above, a new frame did not protrude from > the down screen last week. Here is a workaround: > > (let ((frame (make-frame))) > (sit-for 0) > (modify-frame-parameters frame '((top . 1200)))) > > But it is needless, isn't it? IIUC your approach worked because of a busy loop in x_make_frame_visible which has been removed a few days ago. I back its removal so you should be able to do without it. > [1] The values of left and top frame parameters seem to indicate > that of a window of an Emacs frame, so we have to increase > the values some extent. I'm not sure I can follow you here. The `top' and `left' frame parameters usually indicate the top/left position of the window manager frame that has reparented the outermost widget of your Emacs frame. What do you have to "increase"? martin From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 23 04:01:22 2017 Received: (at 25511) by debbugs.gnu.org; 23 Jan 2017 09:01:22 +0000 Received: from localhost ([127.0.0.1]:38671 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVaV8-0006qW-JD for submit@debbugs.gnu.org; Mon, 23 Jan 2017 04:01:22 -0500 Received: from mail-hampton.hostforweb.net ([205.234.186.191]:54862 helo=hampton.hostforweb.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVaV6-0006qJ-Jt for 25511@debbugs.gnu.org; Mon, 23 Jan 2017 04:01:20 -0500 Received: from s70.gtokyofl21.vectant.ne.jp ([202.215.75.70]:60000 helo=localhost) by hampton.hostforweb.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from ) id 1cVaUu-001GPj-Tx; Mon, 23 Jan 2017 03:01:14 -0600 Date: Mon, 23 Jan 2017 18:01:06 +0900 Message-ID: From: Katsumi Yamaoka To: martin rudalics Subject: Re: bug#25511: 26.0.50; modify-frame-parameters modifies undesignated parameter? References: <5885B8D7.4040301@gmx.at> Organization: Emacsen advocacy group X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (i686-pc-cygwin) Cancel-Lock: sha1:9IrekGCcjdurtZfm9ciQDYFL2dw= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OutGoing-Spam-Status: No, score=-2.9 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: authenticated_id: yamaoka/from_h X-Authenticated-Sender: hampton.hostforweb.net: yamaoka@jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 25511 Cc: 25511@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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 Mon, 23 Jan 2017 09:03:35 +0100, martin rudalics wrote: >> The coordinates start with (0 0) and (256 1080) respectively[1]. >> In that situation, the following script makes a new frame protrude >> to the left from the down screen: >> >> (let ((frame (make-frame))) >> (modify-frame-parameters frame '((top . 1200)))) > Why don't you use > (make-frame '((top . 1200))) > in the first place? This should tell the window manager right away what > position you want before making the frame visible. If this does not > work as intended, we shall have to investigate it. Yes, it and even (make-frame) work with no problem. > As a general rule: Never set a frame parameter right after creating a > new frame. Ok, I can modify some codes similar to it. >> On the new frame, (frame-parameter nil 'left) returns 8, that is >> outside of the down screen. This happens whichever the original >> frame (that runs the script) exists in the up screen or the down >> screen. As mentioned above, a new frame did not protrude from >> the down screen last week. Here is a workaround: >> >> (let ((frame (make-frame))) >> (sit-for 0) >> (modify-frame-parameters frame '((top . 1200)))) >> >> But it is needless, isn't it? > IIUC your approach worked because of a busy loop in x_make_frame_visible > which has been removed a few days ago. I back its removal so you should > be able to do without it. I found the change in question in git log after sending the report. I don't ask you to revert it as it seems to have been a burden sort of. >> [1] The values of left and top frame parameters seem to indicate >> that of a window of an Emacs frame, so we have to increase >> the values some extent. > I'm not sure I can follow you here. The `top' and `left' frame > parameters usually indicate the top/left position of the window manager > frame that has reparented the outermost widget of your Emacs frame. > What do you have to "increase"? In order not to hide the matte that includes the title bar, the menu bar, and the tool bar. In reality on Cygwin, the form (make-frame '((left . 0) (top . 0))) doesn't work as expected; the new frame appears on the down screen and the position is erratic. The minimum values that display a new frame fully on the top-left corner of the upper screen is: (make-frame '((left . 0) (top . 1))) But frame-parameters shows left=8 and top=32 in that case. Anyway thanks for your help. I will close this bug later. Regards, From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 23 05:28:31 2017 Received: (at 25511) by debbugs.gnu.org; 23 Jan 2017 10:28:31 +0000 Received: from localhost ([127.0.0.1]:38711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVbrT-0000UC-BC for submit@debbugs.gnu.org; Mon, 23 Jan 2017 05:28:31 -0500 Received: from mout.gmx.net ([212.227.15.19]:55709) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVbrR-0000Tx-Bi for 25511@debbugs.gnu.org; Mon, 23 Jan 2017 05:28:29 -0500 Received: from [192.168.1.100] ([213.162.68.31]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MEoGY-1clZ6t1XJa-00G2gW; Mon, 23 Jan 2017 11:28:21 +0100 Message-ID: <5885DABE.9000408@gmx.at> Date: Mon, 23 Jan 2017 11:28:14 +0100 From: martin rudalics MIME-Version: 1.0 To: Katsumi Yamaoka Subject: Re: bug#25511: 26.0.50; modify-frame-parameters modifies undesignated parameter? References: <5885B8D7.4040301@gmx.at> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:I0pRshaAch/qEhmFw8fUBMU+BLGe3Sopoili6cPE0k98qYBoep+ R47SIeMB13rshpAB6k7CMAo5+IfEisb8qq6Wb/SdN6QHIFjTWygAZ5ri43nIMd284AMM+ih cjspiN1LEBQ+R5QLSW8EAamBepDJqan2hHrzrYde5ZTM58HqXOcIP/JkJj1RuUsKzxJ8Ruu tOVfeTIfX7RMHDZqlGPyw== X-UI-Out-Filterresults: notjunk:1;V01:K0:/GRQRxrJtJM=:EThxlr3rx3e68GNEBaG6mi 8IQB7VLm805Yksy3qLpqsGHCnPr1pnZbOsgoco2yRiiTT4RqSBhGbEXG/tVPZ20rhZyIG/N/H TYp3WYnnTIQ2QZz6IDIoNeLwVqlZoMUDzshWEbCeSdrV6o08vfdLpkXQGoR+xXKlwT29mF1Of 71X501rjz8aV6vdluWDr89b+/ylcBRFc+08x0qKgsweeDxqbhmf8LyXViPuixrpLYsgxjZsUM P5veXl72LVnVIVGiq9yUD63eBLs6HUCLRnRbP+rQtD/uRjTD+Yms811ZPzRvoARZua+Hepyaz 6WcDYX2XCddFdSBgHvaAmeFkro0Vnswm5y8hiyoPor2E4c6NsH57YvoAW2UUCZAzM3ID5DqJb yzHH5GGbcvfXos1JzNUCN74A6OOElsVZaFbFjOGx1kNCZhPtY/VGLndqouPwfzH1ry/IROegZ OmYUUuuP4n26QBa4TQ6St9zgPJ7YZaLOH7CLnFcqU4jBbe0iFDrwCPBUK3vHcD6BV0Aj08Z3m TEVqo62eWdMUoz9U1Ca9+SGaymx/RxbXsaLYQz1vYcDpuCf4SPHX/2KWDRl1KdtxGTyzD/zoi oLRCEuk3xggG7R8SerugmvgeIBRnBiybhirtgHEfLyrTi9c9m3VQHFdCDSBF9rCWj3HqmcVWG gKDJwxm0aerPid98aRDP2X9KwzvLARe/LgHACLX6eBkD46I9QKPJe0oNawThBJlFPv7m499Ab Y3/g14+rKfX/ebOL/p5WC1SsV0TerJV1xyL/YHgvrQXYUUnP2nxk7YlSQZlpVGsfrohGH+5Wa eY+gZabUAMojzcLrHHPS17hS9GeoA== X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 25511 Cc: 25511@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.9 (-) >> As a general rule: Never set a frame parameter right after creating a= >> new frame. > > Ok, I can modify some codes similar to it. Try to avoid =E2=80=98modify-frame-parameters=E2=80=99 wherever it's poss= ible. There might be still cases left where we have to use it because some frame parameters cannot be processed on an invisible frame. That's enough trouble. > In order not to hide the matte that includes the title bar, the > menu bar, and the tool bar. In reality on Cygwin, the form > > (make-frame '((left . 0) (top . 0))) > > doesn't work as expected; the new frame appears on the down > screen and the position is erratic. Can you try this with a native Windows build and compare the behaviors? > The minimum values that > display a new frame fully on the top-left corner of the upper > screen is: > > (make-frame '((left . 0) (top . 1))) > > But frame-parameters shows left=3D8 and top=3D32 in that case. What does a specification like (make-frame '((left . (+ -8)) (top . (+ -32)))) give here? martin From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 23 12:27:31 2017 Received: (at 25511) by debbugs.gnu.org; 23 Jan 2017 17:27:31 +0000 Received: from localhost ([127.0.0.1]:39335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cViOx-0003sq-1X for submit@debbugs.gnu.org; Mon, 23 Jan 2017 12:27:31 -0500 Received: from mail-oi0-f41.google.com ([209.85.218.41]:34930) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cViOv-0003sd-86 for 25511@debbugs.gnu.org; Mon, 23 Jan 2017 12:27:29 -0500 Received: by mail-oi0-f41.google.com with SMTP id j15so83969347oih.2 for <25511@debbugs.gnu.org>; Mon, 23 Jan 2017 09:27:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=lolc2vVoZSkcNnjkQR6ViDIWYuo2AjBlrMg/IU71mnk=; b=J0XxNsltsNZV0CDn5B2K3lnctR/TsLErkp1IwVI1mR584+oqbNO1Gs5NEBZ8Nte1v1 nZJjweJTpA4MroeM3eJX4UMJr7kIy0OqvtKa1IMlbH4Yr1I1d1DI92GxopARo76LI8Of 5I1LSXo9HtCQrettwNKwXMUPXpj8fMEqDxWj8lqpvTL6b3dF2oSoWdXdS3xjJs8nTTv9 xf1ile7mjsQvyEwhNg/XW4HqhFT24LJtQBcTmDdWBdb4X/zhpQiUEZ/z7xpwNmulNMKB 90ZZdVNA5elINJBMwLYWPo4O45FgD1kiXlU048tM7uFjCNayFdweLPOm5zJgQGPhVt35 PWZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=lolc2vVoZSkcNnjkQR6ViDIWYuo2AjBlrMg/IU71mnk=; b=EqtG/oHtiEMY0Et6qa7GUM5eQCVBhn+VlNAit5hZVvd0GrPc3LsO59XYXcyy7G+yQo hMSH0NAVDwzM8NMbhvBVaUQxAivwSJ674vOUYxXdpj7ANN6KErFV8pw8DB53Eg20w144 WRsypotIo18BKNlQRLJvz3MmnsN5ciL18jpAgd2wbZvxG66Mn91gbD2MTGto+t77kY39 V8rIpyj6SZrIbmzEibEjPLPc2B1bDV6ng/702+obuNX54/ukHFL5gHC8PaWNcxcDY0k+ x7/tl+dRm3pww1aLlcG84ommkb+sfcvdrD7eKx1dGOBM5qAgQgVcixnOxet62gPgJVVV nu/w== X-Gm-Message-State: AIkVDXImaJvw8jiuMjDDZ03FSCr0L603ws76mS3tsCgaPO/fTyRx/pFPcgqcI2tksSKL9Pg+cL1EZqHVXC68XA== X-Received: by 10.202.172.136 with SMTP id v130mr15390581oie.167.1485192443640; Mon, 23 Jan 2017 09:27:23 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.21.117 with HTTP; Mon, 23 Jan 2017 09:27:23 -0800 (PST) In-Reply-To: <5885B8D7.4040301@gmx.at> References: <5885B8D7.4040301@gmx.at> From: Noam Postavsky Date: Mon, 23 Jan 2017 12:27:23 -0500 X-Google-Sender-Auth: z_Nj-hEDdHKmdqeGRjpS-ug_F98 Message-ID: Subject: Re: bug#25511: 26.0.50; modify-frame-parameters modifies undesignated parameter? To: martin rudalics Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 25511 Cc: 25511@debbugs.gnu.org, Katsumi Yamaoka X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.2 (/) On Mon, Jan 23, 2017 at 3:03 AM, martin rudalics wrote: > >> On the new frame, (frame-parameter nil 'left) returns 8, that is >> outside of the down screen. This happens whichever the original >> frame (that runs the script) exists in the up screen or the down >> screen. As mentioned above, a new frame did not protrude from >> the down screen last week. Here is a workaround: >> >> (let ((frame (make-frame))) >> (sit-for 0) >> (modify-frame-parameters frame '((top . 1200)))) >> >> But it is needless, isn't it? > > IIUC your approach worked because of a busy loop in x_make_frame_visible > which has been removed a few days ago. I back its removal so you should > be able to do without it. Should we change modify-frame-parameters to delay the actual modification until the frame turns visible? From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 23 13:02:20 2017 Received: (at 25511) by debbugs.gnu.org; 23 Jan 2017 18:02:20 +0000 Received: from localhost ([127.0.0.1]:39365 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cViwe-0004is-CZ for submit@debbugs.gnu.org; Mon, 23 Jan 2017 13:02:20 -0500 Received: from mout.gmx.net ([212.227.17.20]:51077) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cViwc-0004if-DH for 25511@debbugs.gnu.org; Mon, 23 Jan 2017 13:02:19 -0500 Received: from [192.168.1.100] ([213.162.68.112]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0M96Jd-1cfw5Z3lld-00CTpY; Mon, 23 Jan 2017 19:01:57 +0100 Message-ID: <5886450A.1050002@gmx.at> Date: Mon, 23 Jan 2017 19:01:46 +0100 From: martin rudalics MIME-Version: 1.0 To: Noam Postavsky Subject: Re: bug#25511: 26.0.50; modify-frame-parameters modifies undesignated parameter? References: <5885B8D7.4040301@gmx.at> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:P+VJTI3Th5/jH/CPjhGPGHxhA7oT8OEJdSeXPTXZ6vA29pWPixw +jsqGGnxhOj32O+MQogEWrgntIRpqILBDw1LYT6xp1hetT2NwfJcnMMMS9JD3usTpbYKZ5x XgIMZywhnejTRkKGyBV1IeDXZToZFq2EWZMfqNi4qFZvtrmtTpSLdt3pUk6fZGo1phOZLUu 1muQQ6bOvokf8QwYTwjng== X-UI-Out-Filterresults: notjunk:1;V01:K0:DPF9GPghfEs=:YLzzDX8qaPBeC5VAck8vGW poyH8pe2PL0gNGj3rGyKUrPEQIESlKHTcL2PKSpxhhb50RdKO80BRr/Habtt10TBIB602HaZy BmiiSCcXgS/PNcx9R5EqWJFNCabh8+u1FEr4eNIp0Ej8su+r8mSdqA4IPsR3iX2jHedzPA8VE 4aFnhef0SVA9AfN6P2ThEWLW41V+bt2HllJctukLzbm7U9TBmE8dMWwUOq8wG/3EWE3xNX8Gc YDadImpyFn+FljldH9DP4EUMYbTG8Z1Rx//evQceDs3KyyXmbJTvhJQnNfQhwHGWA2dxg6zjr fixn6cGD+VnlJoBQFY6DfK42JzXGCsyJ/e8KBC71IDBDZ71gJoTvEG5/j6P7xQ/vdMsJiAyi0 s263KN6+vLOb6zPo11/DjIBADRl7T1F929pLoJ4YwtM7diIuw0CX/I1UvNOn/5OGzDl/iwaVI zxvyaecFJaZr+uzW9bZv/onYsg6bW8m93/qTntcEazubiJm6SU3K6nSU/rzKGEB375KjrIZrB DbtDO2RQ5sdFfpfPf/NQiVPa8I/d4g+RGMr6BrdKtpk62itV1scak6UhMd3diYZd+FBKLDda2 DxaPQzdddK05t9jASpxE7XLwHoue3B7aWmWals4RC8oQaqM6sYf54KUEVeWFfJIJ973Pv0Dg9 +A7p3Z0wCyGbpUaRtVdHZferTuS6agipDkuZl44od6zu9Vfc3TB0WkLlHfQzGdPwIFtsxDj3F ysGiLzrr6nR+hJhFk4DIyl13tgsgIML8ABTTil/ScWzMSCer+Yj8KtR9gJ+0MDblgZGaLzKgd kch/A1BBsTBwpO8Z57QFnS28bMRxg== X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: 25511 Cc: 25511@debbugs.gnu.org, Katsumi Yamaoka X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.4 (-) > Should we change modify-frame-parameters to delay the actual > modification until the frame turns visible? In a sense yes, see also Bug#24526. Usually, we should be able to set positions and sizes via the WM size hints right away so the window manager can pick them up there whenever it maps the frame. On Windows there is a special function to set the sizes of an invisible window. But all this should be done independently from setting up a new frame that is supposed to become visible immediately. In that latter case =E2=80=98modify-frame-parameters=E2=80=99 should not be used in the first= place. martin From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 23 17:54:41 2017 Received: (at 25511) by debbugs.gnu.org; 23 Jan 2017 22:54:41 +0000 Received: from localhost ([127.0.0.1]:39531 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVnVZ-0006cy-BE for submit@debbugs.gnu.org; Mon, 23 Jan 2017 17:54:41 -0500 Received: from mail-hampton.hostforweb.net ([205.234.186.191]:51746 helo=hampton.hostforweb.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVnVX-0006ck-1g for 25511@debbugs.gnu.org; Mon, 23 Jan 2017 17:54:39 -0500 Received: from s70.gtokyofl21.vectant.ne.jp ([202.215.75.70]:60000 helo=localhost) by hampton.hostforweb.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from ) id 1cVnVO-0048zw-IG; Mon, 23 Jan 2017 16:54:31 -0600 Date: Tue, 24 Jan 2017 07:54:29 +0900 Message-ID: From: Katsumi Yamaoka To: martin rudalics Subject: Re: bug#25511: 26.0.50; modify-frame-parameters modifies undesignated parameter? References: <5885B8D7.4040301@gmx.at> <5885DABE.9000408@gmx.at> Organization: Emacsen advocacy group X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (i686-pc-cygwin) Cancel-Lock: sha1:LlpjS6j9lKgR1D6zW5C5kEN8Fac= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-OutGoing-Spam-Status: No, score=-2.9 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: authenticated_id: yamaoka/from_h X-Authenticated-Sender: hampton.hostforweb.net: yamaoka@jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 25511 Cc: 25511@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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 Mon, 23 Jan 2017 11:28:14 +0100, martin rudalics wrote: > Try to avoid =E2=80=98modify-frame-parameters=E2=80=99 wherever it's poss= ible. There > might be still cases left where we have to use it because some frame > parameters cannot be processed on an invisible frame. That's enough > trouble. The main reason I use modify-frame-parameters is that a new frame protrudes beyond the task-bar (placed at the bottom of the lower screen) and so, I can't see the modeline and can't access the mini-buffer on Cygwin, i.e., +----------------+ | +-------+ | | | | | | | Emacs | | | | frame | | | | | | +----------------+ | Task-bar | +----------------+ Possible solutions to help it would be to make the task-bar hidden automatically, to shrink the height of a new Emacs frame by some sort of means, or to move a new frame upward... Instead of dragging it manually I use: (defadvice make-frame (after adjust-frame-height-and-position activate) "Shrink the height of a new frame and move it upward." (if (ad-get-arg 0) nil (sit-for 0) ;; Added for new Emacs 26 (modify-frame-parameters ad-return-value '((height . 32) (top . 1112))))) > Can you try this with a native Windows build and compare the behaviors? Ok, I'll try the binary distribution. > What does a specification like > (make-frame '((left . (+ -8)) (top . (+ -32)))) > give here? No difference with (make-frame). The new frame appears on the lower screen, mode-line and minibuffer is hidden, and `frame-parameters' shows: ((top . 1137) (left . 292) (width . 80) (height . 36)) From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 23 19:45:47 2017 Received: (at 25511) by debbugs.gnu.org; 24 Jan 2017 00:45:47 +0000 Received: from localhost ([127.0.0.1]:39550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVpF5-0001PB-AI for submit@debbugs.gnu.org; Mon, 23 Jan 2017 19:45:47 -0500 Received: from mail-hampton.hostforweb.net ([205.234.186.191]:47316 helo=hampton.hostforweb.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVpF3-0001Ij-Ex for 25511@debbugs.gnu.org; Mon, 23 Jan 2017 19:45:45 -0500 Received: from s70.gtokyofl21.vectant.ne.jp ([202.215.75.70]:60000 helo=localhost) by hampton.hostforweb.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from ) id 1cVpEv-001isx-86; Mon, 23 Jan 2017 18:45:38 -0600 Date: Tue, 24 Jan 2017 09:45:37 +0900 Message-ID: From: Katsumi Yamaoka To: martin rudalics Subject: Re: bug#25511: 26.0.50; modify-frame-parameters modifies undesignated parameter? References: <5885B8D7.4040301@gmx.at> <5885DABE.9000408@gmx.at> Organization: Emacsen advocacy group X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (i686-pc-cygwin) Cancel-Lock: sha1:4KNI99sj/oURx/0ZypF7KnxmiD8= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OutGoing-Spam-Status: No, score=-2.9 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: authenticated_id: yamaoka/from_h X-Authenticated-Sender: hampton.hostforweb.net: yamaoka@jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 25511 Cc: 25511@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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 Tue, 24 Jan 2017 07:54:29 +0900, Katsumi Yamaoka wrote: > On Mon, 23 Jan 2017 11:28:14 +0100, martin rudalics wrote: >> Can you try this with a native Windows build and compare the behaviors? > Ok, I'll try the binary distribution. I tried emacs-25-20161227T071030Z-bin-i686-mingw32.7z in: (make-frame '((left . 0) (top . 0))) launches a new frame on the top-left corner of the *lower* screen, the position and the size are: ((top . 0) (left . 0) (width . 80) (height . 36)) It varies to ((top + -1076) (left + -258) (width . 80) (height . 36)) after moving it to the top-left corner of the upper screen. I feel it a very good behavior. As for the eclipse of the bottom of an Emacs frame by the task- bar, it doesn't happen by default. However, it seems to be due to the size of the default font. The default font is somewhat small to me, so I tried: (add-to-list 'default-frame-alist '(font . "-outline-Arial Unicode MS-normal-normal-normal-mono-16-*-*-*-p-*-iso8859-1")) After that, a new frame got too tall, so I think I still need a workaround like this: (defadvice make-frame (after shrink-frame-height activate) "Shrink the height of a new frame." (sit-for 0) (if (> (frame-parameter ad-return-value 'height) 30) (modify-frame-parameters ad-return-value '((height . 30))))) Regards, From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 24 02:46:25 2017 Received: (at 25511) by debbugs.gnu.org; 24 Jan 2017 07:46:25 +0000 Received: from localhost ([127.0.0.1]:39718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVvo9-0005Ws-MV for submit@debbugs.gnu.org; Tue, 24 Jan 2017 02:46:25 -0500 Received: from mout.gmx.net ([212.227.17.21]:58687) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVvo7-0005We-Sb for 25511@debbugs.gnu.org; Tue, 24 Jan 2017 02:46:24 -0500 Received: from [192.168.1.100] ([213.162.68.79]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LzoSt-1cQxp00sjr-01543k; Tue, 24 Jan 2017 08:46:13 +0100 Message-ID: <5887063C.90205@gmx.at> Date: Tue, 24 Jan 2017 08:46:04 +0100 From: martin rudalics MIME-Version: 1.0 To: Katsumi Yamaoka Subject: Re: bug#25511: 26.0.50; modify-frame-parameters modifies undesignated parameter? References: <5885B8D7.4040301@gmx.at> <5885DABE.9000408@gmx.at> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:qGjvT8wqveTPmruOdfiAD23Ip4ucRHvjZszxFZLNVT5rBleOEVQ qXjFEff2W4mYjfdXewK24MeXtPxtrZvR3eO9EXQoCVBslm7uOBCqK4G/6rx413egwwm92Qk mLbfvJD6m7gC8ZKigyIFClQBZtcs+qHEHvYPiMGATpolI9uQyPd2TQ+gm1M7omJQiEcj8s3 Hsg9+AlUtb3oSK77jgf9Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:ICa1u3pAhJE=:LDQmEULic5gScmkOkgk+47 oejRDKkjdWuq4tbM0xzQSmY3SuieWBizoL0Us7at30+3Qhd5YS5fix0J4g1ipkyfzhixKLPQo YbTBvkvsTPKXextbU4kZzHhRGANR19xGGB/hcPWcykfq7mHZgxtyNJjqXWby+PISk19cnBw4Q P2dfrBHmNLLoHEEPN2yvHUSTGk/dFd6Bo6mNnNVBvNO2QaGGvntSbggIcKN4yLfcyiXElEAlE I+DxQlpbpILMdaQD2JoInpNRQ0GjoKYXRhGjv4UkvIeihH9Q1KnLadgLHKMylLwqiYu9HZcAV z+t+z9Tgg946701wQkAn5TG6LM6Xb2CclMd9IdXid4o4Ig0sE38csoCbK3/2K8+HTOnQ1vO9E ppWWyo3U1yPbiA2iPUjpbvt7hVLDS6zYL1NC3DhP7lqQIuG+wop66utbW/BIt2DXGEZcW25ps DWc8VhPZnCm9Z0t5cDlq6E1+KwBfYyzzMmqfQhvcgwJBA8ovi5vRarPvN6RSgEucekwpd+tGW 9/+eEfHel0nYKuP4JcVM7oQe5/q/LqokKxg8V1xxkrDha8Wuzg2XoKVH1UAPAu4OVXaCoXzGO FOQ9h1bzaQcAWSkdrsgSUz3t+iIJCpGlVKsZRmpw8LNGjTj6J8BQLIvv9X3778/7Ccc+mhsXg +OC3FbaGv20dVEVgCC4hFdM+KNQsmETV34DBUgIV5PF7RTKM5yobW3a0Rb0LbKCw842J3pxxf Zvkmj08ke0cMJS95RZYAsNYWKRbm1XOgF0m/a8OTyshs7RscrNQaxvMmZ/GqfVvWH1q/jiZNS /bhGWEjcjsIh58OdBLHM7cxoMpJRz5R3rqWXVcCaQw26KfVurp1Wbwwy0y7rxFcAczcmYwLst z1T3sB3C8cR1g9hRv9FIMmulJOhJwe7+gqKcTzxMgSedH6IaT2EJO/LBdlOX7d626P6k2z9LD 5oS29LrVXo96pCrvCJ9/lQ07msXTHvMJMyEfM2dloDCO568vWjhXcBift9zKOEeA+pAWqd82t D31vuuzDcNhrxGthhvbwnIA= X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > Instead > of dragging it manually I use: > > (defadvice make-frame (after adjust-frame-height-and-position activate) > "Shrink the height of a new frame and move it upward." > (if (ad-get-arg 0) nil > (sit-for 0) ;; Added for new Emacs 26 > (modify-frame-parameters ad-return-value > '((height . 32) (top . 1112))))) [...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [213.162.68.79 listed in dnsbl.sorbs.net] -1.2 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.17.21 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [212.227.17.21 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rudalics[at]gmx.at) X-Debbugs-Envelope-To: 25511 Cc: 25511@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > Instead > of dragging it manually I use: > > (defadvice make-frame (after adjust-frame-height-and-position activate) > "Shrink the height of a new frame and move it upward." > (if (ad-get-arg 0) nil > (sit-for 0) ;; Added for new Emacs 26 > (modify-frame-parameters ad-return-value > '((height . 32) (top . 1112))))) [...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.2 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.17.21 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [212.227.17.21 listed in list.dnswl.org] 3.6 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [213.162.68.79 listed in dnsbl.sorbs.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rudalics[at]gmx.at) > Instead > of dragging it manually I use: > > (defadvice make-frame (after adjust-frame-height-and-position activate= ) > "Shrink the height of a new frame and move it upward." > (if (ad-get-arg 0) nil > (sit-for 0) ;; Added for new Emacs 26 > (modify-frame-parameters ad-return-value > '((height . 32) (top . 1112))))) Why don't you use =E2=80=98after-make-frame-functions=E2=80=99? martin From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 24 02:46:48 2017 Received: (at 25511) by debbugs.gnu.org; 24 Jan 2017 07:46:48 +0000 Received: from localhost ([127.0.0.1]:39721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVvoV-0005XR-To for submit@debbugs.gnu.org; Tue, 24 Jan 2017 02:46:48 -0500 Received: from mout.gmx.net ([212.227.17.22]:65503) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVvoU-0005XE-6A for 25511@debbugs.gnu.org; Tue, 24 Jan 2017 02:46:46 -0500 Received: from [192.168.1.100] ([213.162.68.79]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MTO3f-1cuVDP2QCd-00SS0p; Tue, 24 Jan 2017 08:46:36 +0100 Message-ID: <58870656.2090402@gmx.at> Date: Tue, 24 Jan 2017 08:46:30 +0100 From: martin rudalics MIME-Version: 1.0 To: Katsumi Yamaoka Subject: Re: bug#25511: 26.0.50; modify-frame-parameters modifies undesignated parameter? References: <5885B8D7.4040301@gmx.at> <5885DABE.9000408@gmx.at> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:ioKrjXC9GeU1UkpOz5vPzFImj6cXcFWAQQ38Sw1uk4jw/cpwIAg ReEs8zhzX8tVHRm6lbR0Wr1675HYrVTsbSqjQUVoUiw88mrAW6H3voKrQYJ81lk5DJalCHA aeG9PTp/8Ama5t/AzTOoTLSE8+57175iHVYI4Wyl4QWhNfftTO6Jm2RZK1zxellO3bllwEn 60eMjGXKR1ggID3ASrPBA== X-UI-Out-Filterresults: notjunk:1;V01:K0:e+NDJ9m9Eyk=:J3ZFfHedqWsOKNvXilkMsz yKYqQlT3CXSTK/WFkIpPS8qkGIDKxqKqlZJ1kgFefoGfFg+m2Nzguob72HhvgAFOyLWIUD9HD MZzsAgiZ87V502+XaP69VqORwUjm3ptFayrMxm64BOZKwf5J6ja8eMXaznyl60pKBR8iZ5Mnt Dbewn0OkcC9Wvuuqd8/ZoJWOBqYx4MM/pXCNNh6ptPUVSv7Md4Az21zQD1r42ULrXa4s7crGl ji8pDyE6qHXEYf7hh1hmDNg9t4HVFjFJhR5naBjU6il9YleLjd2fKYF997OgpFiE9/CoKSDqL rdCCOaLpZU0KS9sj9lO2mlceD3wk+YVpCDKO677d1P28LID8ZKjREeoVmCtJgqz7UL79Ht7js 5ZgOG9YrU2zX2Zxlp29tAWWVANRkNhS8WYGFWdIooHo/qTrLP6k8mFQXsqIXAkhjp2L0NYjpT oLCZbjHk97YARi8IvuFBBk8NKLUPDFRnK0vOWjiFBZz58frPIUF36qw5WnDk2SeLqWyXSvEl7 D4bjsAnJn4QjRWC94EmWvq95iBFdvffM2t+wN1mfTzflPlr/4JUgjxcS0S0vCWUgjFm+jsDfr JPcLd+wnwfus3je792d+3R4ZaqIFOhb4qelwIs+M1wfS732QysWZZcZmxnQ2BU6xKKYOvdGPp hCqVgPboL+4ND/tHP3BC2zQka5rG+OrmutJQrYvIZ4JLmkLXTNcGWFmRxSO30/8465qKU2qxZ 4UN0JfY+VNfShVeiUAQaUm8Pjwxo/LuK4N+urnl1kOWr/6oHmHqxCMjXrgdIFw8ncd71H1lC/ iVJqtHEgN7Jl/my3U8X+hj1nwrh3yI11HfqofNMAtj26uH0cY09jby+suBGaSdP7y2YwMvVIl hzIp+MZ5qScQ744HoftCC35QuVHPZxCe/SpT94ZyEzvAS9GSs/0DF1SKWiX/xmaJVDKlfl/2j DhN6Rgg/xPKK1htqONwlrdONzUiCvOVWWv28r3HSNOu/hZ/wFwEwGnupYfp/QyqVAanyh6dwu B4XDIMiXDHwz9aw6XfRJgapCsvuXdJkhuQiQFZdusN64T6pU61bgQn0ErrUSvCW+yA== X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > (make-frame '((left . 0) (top . 0))) > launches a new frame on the top-left corner of the *lower* screen, > the position and the size are: > ((top . 0) (left . 0) (width . 80) (height . 36)) > It varies to > ((top + -1076) (left + -258) (width . 80) (height . 36)) > after moving it to the top-left corner of the upper screen. > I feel it a very good behavior. [...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [213.162.68.79 listed in dnsbl.sorbs.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rudalics[at]gmx.at) -1.2 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.17.22 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [212.227.17.22 listed in list.dnswl.org] X-Debbugs-Envelope-To: 25511 Cc: 25511@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > (make-frame '((left . 0) (top . 0))) > launches a new frame on the top-left corner of the *lower* screen, > the position and the size are: > ((top . 0) (left . 0) (width . 80) (height . 36)) > It varies to > ((top + -1076) (left + -258) (width . 80) (height . 36)) > after moving it to the top-left corner of the upper screen. > I feel it a very good behavior. [...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.2 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.17.22 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [212.227.17.22 listed in list.dnswl.org] 3.6 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [213.162.68.79 listed in dnsbl.sorbs.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rudalics[at]gmx.at) > (make-frame '((left . 0) (top . 0))) > launches a new frame on the top-left corner of the *lower* screen, > the position and the size are: > ((top . 0) (left . 0) (width . 80) (height . 36)) > It varies to > ((top + -1076) (left + -258) (width . 80) (height . 36)) > after moving it to the top-left corner of the upper screen. > I feel it a very good behavior. Does this imply that GTK cannot handle Windows' multiple monitors? Can you invoke =E2=80=98display-monitor-attributes-list=E2=80=99 for both dis= plays and on the native and the cygwin builds? > As for the eclipse of the bottom of an Emacs frame by the task- > bar, it doesn't happen by default. However, it seems to be due > to the size of the default font. The default font is somewhat > small to me, so I tried: > > (add-to-list > 'default-frame-alist > '(font > . "-outline-Arial Unicode MS-normal-normal-normal-mono-16-*-*-*-p-= *-iso8859-1")) > > After that, a new frame got too tall, This is a consequence of Emacs' attitude to keep the number of lines of a frame unchanged when changing a frame's default font size (see the corresponding calls to adjust_frame_size in x_new_font). You should be able to avoid this by setting =E2=80=98frame-inhibit-implied-resize=E2=80= =99 to t. > so I think I still need > a workaround like this: > > (defadvice make-frame (after shrink-frame-height activate) > "Shrink the height of a new frame." > (sit-for 0) > (if (> (frame-parameter ad-return-value 'height) 30) > (modify-frame-parameters ad-return-value '((height . 30))))) Then why don't you use 30 lines in the first place? In any case, you should be able to get the size of the workarea of any of your displays via the above mentioned =E2=80=98display-monitor-attributes-list=E2=80=99= and, using =E2=80=98set-frame-position=E2=80=99 and =E2=80=98set-frame-size=E2=80=99= , be able to fine-tune the positioning of your frame in a way that it doesn't overlap the taskbar. martin From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 24 04:18:20 2017 Received: (at 25511) by debbugs.gnu.org; 24 Jan 2017 09:18:20 +0000 Received: from localhost ([127.0.0.1]:39739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVxF5-0007cU-UI for submit@debbugs.gnu.org; Tue, 24 Jan 2017 04:18:20 -0500 Received: from mail-hampton.hostforweb.net ([205.234.186.191]:36125 helo=hampton.hostforweb.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVxF4-0007cH-2h for 25511@debbugs.gnu.org; Tue, 24 Jan 2017 04:18:18 -0500 Received: from s70.gtokyofl21.vectant.ne.jp ([202.215.75.70]:60000 helo=localhost) by hampton.hostforweb.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from ) id 1cVxEw-0025Fg-Gw; Tue, 24 Jan 2017 03:18:11 -0600 Date: Tue, 24 Jan 2017 18:18:07 +0900 Message-ID: From: Katsumi Yamaoka To: martin rudalics Subject: Re: bug#25511: 26.0.50; modify-frame-parameters modifies undesignated parameter? References: <5885B8D7.4040301@gmx.at> <5885DABE.9000408@gmx.at> <58870656.2090402@gmx.at> Organization: Emacsen advocacy group X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (i686-pc-cygwin) Cancel-Lock: sha1:p4c90xZY6bVVf4ycsHm3/9eU9Fg= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-OutGoing-Spam-Status: No, score=-2.9 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: authenticated_id: yamaoka/from_h X-Authenticated-Sender: hampton.hostforweb.net: yamaoka@jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 25511 Cc: 25511@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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 Tue, 24 Jan 2017 08:46:30 +0100, martin rudalics wrote: > Does this imply that GTK cannot handle Windows' multiple monitors? Can > you invoke =E2=80=98display-monitor-attributes-list=E2=80=99 for both dis= plays and on > the native and the cygwin builds? Windows native 25.1.90 shows: (((geometry 0 0 1366 768) (workarea 0 0 1366 738) (mm-size 344 194) (name . "\\\\.\\DISPLAY1") ;; Note PC (frames)) ((geometry -258 -1080 1920 1080) (workarea -258 -1080 1920 1050) (mm-size 531 299) (name . "\\\\.\\DISPLAY2") ;; External display (frames #))) 26.0.50 built on Cygwin shows: (((geometry 258 1080 1366 768) (workarea 258 1080 1366 768) (mm-size 347 195) (frames) (source . "Gdk")) ((geometry 0 0 1920 1080) (workarea 0 0 1920 1080) (mm-size 488 274) (frames #) (source . "Gdk"))) The values except for `frames' don't vary whether a frame stays at DISPLAY1 or DISPLAY2. Thanks for the suggestions about =E2=80=98after-make-frame-functions=E2=80= =99, =E2=80=98frame-inhibit-implied-resize=E2=80=99, and others. I didn't recall I've been using =E2=80=98after-make-frame-functions=E2=80=99 for the other purposes. ;-) I'll try them one by one from now on. Anyway, I concluded I should not use dirty codes such as advising the core functions, as much as possible. Regards, From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 24 04:37:54 2017 Received: (at 25511) by debbugs.gnu.org; 24 Jan 2017 09:37:54 +0000 Received: from localhost ([127.0.0.1]:39743 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVxY2-00083s-Ir for submit@debbugs.gnu.org; Tue, 24 Jan 2017 04:37:54 -0500 Received: from mout.gmx.net ([212.227.15.15]:55146) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVxY0-00083e-FY for 25511@debbugs.gnu.org; Tue, 24 Jan 2017 04:37:53 -0500 Received: from [192.168.1.100] ([213.162.68.79]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LoVOE-1c2yeZ0sW2-00gX2d; Tue, 24 Jan 2017 10:37:45 +0100 Message-ID: <58872061.1050900@gmx.at> Date: Tue, 24 Jan 2017 10:37:37 +0100 From: martin rudalics MIME-Version: 1.0 To: Katsumi Yamaoka Subject: Re: bug#25511: 26.0.50; modify-frame-parameters modifies undesignated parameter? References: <5885B8D7.4040301@gmx.at> <5885DABE.9000408@gmx.at> <58870656.2090402@gmx.at> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:XpR3th4eTNbGl379EUtTm+JASm98wHofEvOITjkRqPVzTMKSuDC rPGho8aT24aNkChHwibH1Fs/yAI0d0X+6TIAADR0pLEHmM8JllvmtNcHNpEngKtT1D96jUe 97bylkozS6k8OLJF0x/9dw3AB1bkqWowhKFbtHw1asnwmoUiGO86d8IzQdTMfX8O1h0i2gD 5u7M1316G9sEt91fnOMJw== X-UI-Out-Filterresults: notjunk:1;V01:K0:5cY2/0lkwBc=:FAUKKs3uhiBE7qOGlA1ukW Ux/5Xe/jwKuYL+1Jd6Ifu1JLwy2+mIPJS0ltjxwx/D0vy0AJ95mQ6DVL02Qhr8XLWetUaSUHi wr01/lz/ou7xA1ZdBI6QCaLZWRY/io82os8xhLpmeKcSw3iDJvZUPMgInG6cGkAD8cdblfiyM hqbKxlpwrDTYoceQ785NaKLx9Y+fMFe1u2kyCghSjI5WeiO9m28KIS3jU6WrzZGpDA6u+RdQL vRhRX9Cb6Nu1Xr0XYKo7ODXxgEM4xF93h784fIIsECGC/Jgihv2xWW3kN5slQLLLfZN1dtHPf UqB6cJSjXvRh1SXVmmxjY/zkYydmsFU+zVHfkAkP2LvnDENlPgH+EQ9sdCV1Y9tWY2ZdmETRs 3wIiAoq2CD6pDU7ctXTq1LbF2kjn8WvAd0jAuJ9nPhIp7yOnkrzsV7A7vyxikp3ilSfWUMw9R g+iKMvOxizLMB3LmwklxlK0QRG5zcz9HTTpGWHbe+RfHFOBSD+H2eoYXnGri/5UhmWl4jPADb Pjc4veexyfS5fu79UDbfjifuYYiF81vSycUau+Yd1RXSiHRexZm8g4sD/B2xxVs+a36VzuIOC 3h6g6D8Mf6njbqx9q3qn0KvFGzIfVxMjB5Q/nJ1oR8ViX8QuoA0llajWmxR29hkhm0FS0N6oN iaykopNyWTkypERJPoVrLPPU0eckC5ZYjGvnp60iU6NtuOAS9LCo69fvkT9KtikxtMX6AVPLU 8YuvbDrwst6ys1qC/rI29XkIpEWlUypWM/jB532cNYi/lNnszVGMqDA7Af274wHy6aSUbSTf7 Fhc8CHy X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > Windows native 25.1.90 shows: > (((geometry 0 0 1366 768) > (workarea 0 0 1366 738) > (mm-size 344 194) > (name . "\\\\.\\DISPLAY1") ;; Note PC > (frames)) > ((geometry -258 -1080 1920 1080) > (workarea -258 -1080 1920 1050) > (mm-size 531 299) > (name . "\\\\.\\DISPLAY2") ; ; External display > (frames #))) > > 26.0.50 built on Cygwin shows: > (((geometry 258 1080 1366 768) > (workarea 258 1080 1366 768) > (mm-size 347 195) > (frames) > (source . "Gdk")) > ((geometry 0 0 1920 1080) > (workarea 0 0 1920 1080) > (mm-size 488 274) > (frames #) > (source . "Gdk"))) [...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [213.162.68.79 listed in dnsbl.sorbs.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [212.227.15.15 listed in list.dnswl.org] -1.2 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.15.15 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rudalics[at]gmx.at) X-Debbugs-Envelope-To: 25511 Cc: 25511@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > Windows native 25.1.90 shows: > (((geometry 0 0 1366 768) > (workarea 0 0 1366 738) > (mm-size 344 194) > (name . "\\\\.\\DISPLAY1") ;; Note PC > (frames)) > ((geometry -258 -1080 1920 1080) > (workarea -258 -1080 1920 1050) > (mm-size 531 299) > (name . "\\\\.\\DISPLAY2") ;; External display > (frames #))) > > 26.0.50 built on Cygwin shows: > (((geometry 258 1080 1366 768) > (workarea 258 1080 1366 768) > (mm-size 347 195) > (frames) > (source . "Gdk")) > ((geometry 0 0 1920 1080) > (workarea 0 0 1920 1080) > (mm-size 488 274) > (frames #) > (source . "Gdk"))) [...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.2 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.15.15 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [212.227.15.15 listed in list.dnswl.org] 3.6 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [213.162.68.79 listed in dnsbl.sorbs.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rudalics[at]gmx.at) > Windows native 25.1.90 shows: > (((geometry 0 0 1366 768) > (workarea 0 0 1366 738) > (mm-size 344 194) > (name . "\\\\.\\DISPLAY1") ;; Note PC > (frames)) > ((geometry -258 -1080 1920 1080) > (workarea -258 -1080 1920 1050) > (mm-size 531 299) > (name . "\\\\.\\DISPLAY2") ;; External display > (frames #))) > > 26.0.50 built on Cygwin shows: > (((geometry 258 1080 1366 768) > (workarea 258 1080 1366 768) > (mm-size 347 195) > (frames) > (source . "Gdk")) > ((geometry 0 0 1920 1080) > (workarea 0 0 1920 1080) > (mm-size 488 274) > (frames #) > (source . "Gdk"))) The workareas' heights differ from the display heights for native Windows but they don't for Gdk. So it seems that Gdk might not be able to deal with the taskbar. We would have to find out why. Funnily, the mm-size values differ as well. God knows why. If you have a tape measure around you could find out who's more right ;-) > The values except for `frames' don't vary whether a frame stays > at DISPLAY1 or DISPLAY2. > > Thanks for the suggestions about =E2=80=98after-make-frame-functions=E2= =80=99, > =E2=80=98frame-inhibit-implied-resize=E2=80=99, and others. I didn't = recall > I've been using =E2=80=98after-make-frame-functions=E2=80=99 for the o= ther > purposes. ;-) I'll try them one by one from now on. Anyway, I > concluded I should not use dirty codes such as advising the core > functions, as much as possible. Advising is no problem per se. But =E2=80=98after-make-frame-functions=E2= =80=99 is there so it's better to use it (and along the way find out if there are any problems with it). Obviously, my proposal to use the workarea won't work for Cygwin anyway, given you figures above. martin From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 05 08:55:44 2017 Received: (at 25511) by debbugs.gnu.org; 5 Jun 2017 12:55:44 +0000 Received: from localhost ([127.0.0.1]:56611 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHrXs-0004mH-1b for submit@debbugs.gnu.org; Mon, 05 Jun 2017 08:55:44 -0400 Received: from mail-it0-f67.google.com ([209.85.214.67]:34577) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHrXq-0004m3-Ml for 25511@debbugs.gnu.org; Mon, 05 Jun 2017 08:55:43 -0400 Received: by mail-it0-f67.google.com with SMTP id d68so21894185ita.1 for <25511@debbugs.gnu.org>; Mon, 05 Jun 2017 05:55:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=G6dukIEku+1FpUQy81Jf+vyzYSnnYS2rwc1N1jmEIfI=; b=pA93dzY4hzOYxQ7txrJSacUtudrKe5tuV32pOs8Bhgot39cxVLy3d0g7bMYr6vq9Pl z/XNWln7/cLqJM64zVqRKTkmtFlTtl+MMtcadLrv/uKSSfDgc3XV4mF769lzZ+iV0NcV 9qlWbyLAK58f5X0q196Rc/4BMBn3Vx6qt1pA4UI36+kANdrLUGT3ZrTEa5t11WS4bvwL rAniIMl/aPEIte/Rmytk8YWH0VoyD8DN7QgbiOzryu3AupYHj3tMQfZ60gDWGi0jZNFG As9ULGoHg6nbrZCnsoFy5fLqMXq03cPbDN12VNyas9e94E0w0tEhAoWvvOFGeb0S6eeo 6mlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=G6dukIEku+1FpUQy81Jf+vyzYSnnYS2rwc1N1jmEIfI=; b=ncC7mmtNki+6eisPVFY92vuCGV30F1qdGNHWN3hAgJKXYjv25pwGfYGBOgQLyk3GKa YM8UaVupVLcipQ3xjizI5FGG/kRVopcgBD17itjiTNPjZ8L2CWblqrNUqfDiSq9fecod fGn2cQKRgP0FjfRFTT5R6gk8CATWWZ/rt80DhKSfEeLQbEA2ze4UFGn05w353tOwUWoZ z+OHsFy0vpXiR1IQLPxkWw9vpL3IG0qINdwTcDSA5FIzdJ46UzrCjCgO0nSEI9GBqO6A 39cQZzQD1PllMD3GdtyhJjFVgUdMWAJhs28bBN563aPv5/u2F3plem/RreiXXgRJrzxW Etsg== X-Gm-Message-State: AODbwcDidJESwEQtoM6j5a8CcvRjZIcsR7CkR9ZFHQ9lF1d3DR1YOeaO LxSZSazPJ8r9jGs5 X-Received: by 10.36.69.218 with SMTP id c87mr10981655itd.48.1496667336871; Mon, 05 Jun 2017 05:55:36 -0700 (PDT) Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id c77sm3429592iod.24.2017.06.05.05.55.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 05 Jun 2017 05:55:35 -0700 (PDT) From: npostavs@users.sourceforge.net To: martin rudalics Subject: Re: bug#25511: 26.0.50; modify-frame-parameters modifies undesignated parameter? References: <5885B8D7.4040301@gmx.at> <5885DABE.9000408@gmx.at> <58870656.2090402@gmx.at> <58872061.1050900@gmx.at> Date: Mon, 05 Jun 2017 08:57:13 -0400 In-Reply-To: <58872061.1050900@gmx.at> (martin rudalics's message of "Tue, 24 Jan 2017 10:37:37 +0100") Message-ID: <87zidmy4ly.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 25511 Cc: 25511@debbugs.gnu.org, Katsumi Yamaoka X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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 (/) martin rudalics writes: >> Thanks for the suggestions about =E2=80=98after-make-frame-functions=E2= =80=99, >> =E2=80=98frame-inhibit-implied-resize=E2=80=99, and others. I didn't re= call >> I've been using =E2=80=98after-make-frame-functions=E2=80=99 for the oth= er >> purposes. ;-) I'll try them one by one from now on. Anyway, I >> concluded I should not use dirty codes such as advising the core >> functions, as much as possible. > > Advising is no problem per se. But =E2=80=98after-make-frame-functions= =E2=80=99 is > there so it's better to use it (and along the way find out if there are > any problems with it). Obviously, my proposal to use the workarea won't > work for Cygwin anyway, given you figures above. Is there something more to do with this bug? From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 05 09:36:50 2017 Received: (at 25511) by debbugs.gnu.org; 5 Jun 2017 13:36:50 +0000 Received: from localhost ([127.0.0.1]:56639 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHsBe-0007WV-8T for submit@debbugs.gnu.org; Mon, 05 Jun 2017 09:36:50 -0400 Received: from mout.gmx.net ([212.227.17.21]:54985) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHsBb-0007WI-Kl for 25511@debbugs.gnu.org; Mon, 05 Jun 2017 09:36:48 -0400 Received: from [192.168.1.100] ([46.125.250.58]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Me5Q2-1dWcXX3WCE-00PyyM; Mon, 05 Jun 2017 15:36:25 +0200 Message-ID: <59355E51.8090804@gmx.at> Date: Mon, 05 Jun 2017 15:36:17 +0200 From: martin rudalics MIME-Version: 1.0 To: npostavs@users.sourceforge.net Subject: Re: bug#25511: 26.0.50; modify-frame-parameters modifies undesignated parameter? References: <5885B8D7.4040301@gmx.at> <5885DABE.9000408@gmx.at> <58870656.2090402@gmx.at> <58872061.1050900@gmx.at> <87zidmy4ly.fsf@users.sourceforge.net> In-Reply-To: <87zidmy4ly.fsf@users.sourceforge.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:zAxo2Ui2amSzL5JlETvtUNjb/a2YxnzUFkFQa/Vxtz8hlekg/S/ dZrU1tZlPqAj3QLngyvO4qS5I9isrKPEDkupOFtufOm2BdNoW2edm7wpeYbYX7biI++Wy+O rLl9ubFFAafbv8o1Spia6Ew65zLi2KTk6QTxKV5LQCnwJI+UQ4+N+6PE9tvDg4LCLOIe3aL C7LuA7Pt2LwYR15cOcpFg== X-UI-Out-Filterresults: notjunk:1;V01:K0:TdXtg0rX8DI=:Lo9ODKc6Dwb55Y5uVv/iok +d0I3RsBmmaz2X3asAUq7ZopL98R3pO7gyPiti7lugzB90bj6nVEuC5+R1dR8n/iKbPX4EDXu Jj/jN1LXuSrV9qeTqHdT67W56+KtnK/94rc70a2ySY5jM++5RkoltaTdZaRP/6NnsN7iaTX7Q OMCIgOw/MfEXMF5mQ7dbOWi0c4FyIIdu3RzKnYVkz+ylE97NFAcSEpFqBRnbi65woIVgS8ImS 4fMN6dparxXhsTxv7T4YUSTQFLt3bQM8Ja3NW5xtpAbX+x9/s3ttgT1dK5Qm4lVnk1mLG3eNc RIN2Y9YkveP+9WuUmQW1/WSqmwjrzYjwOUpG+wIpjMaOQkYm8RjuaAmHosCAih+YZL/JAD+r3 LJ5jjvAxD7vOgo+fT0NL7JAr2d+657wTlQlFTKXz0i1yWaKwuAxQ/8K/MkScOojh/c07tWhOd WTI45Hfi+Vl2K3+b/Rqa3+SaT6QDBUkmzLGzf1N28lcfunIFwB4EZ6+WgvQXFDdGY5+FR7zs3 LazxZexc89HXky0pydSOAmotJsO1hlvGZmqKcsKYH+Jl7BAmlGTMPvFYqm4at4t+/CerzcQ1z gzDtu4icLWOMRYXB0+QZ0I76sS2WIQ4vG0a0k9D8s0twPka27A0MMDdHfBUaa4uYnEUGFGyY5 6smHtW2EqkBNAANrPJmwSaIJdup5TAjU8b646ACHxALu3YjcNqiqnSLfmG7LiDAIHSaoxvUCi YmUH32+/o11rsmVuQTjCXkc2qVtTj1NUFqHB/PejXSO+AKudpNO6G7UxRU3s9p8XfpcKS1Osu DFZxnrylBtSIMSbcAc6z5Ai+hnlMg== X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 25511 Cc: 25511@debbugs.gnu.org, Katsumi Yamaoka X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.5 (/) > Is there something more to do with this bug? Is there something more to do with bug#25521? martin From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 05 19:58:46 2017 Received: (at 25511) by debbugs.gnu.org; 5 Jun 2017 23:58:46 +0000 Received: from localhost ([127.0.0.1]:58279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dI1tW-0004gI-7L for submit@debbugs.gnu.org; Mon, 05 Jun 2017 19:58:46 -0400 Received: from mail-it0-f67.google.com ([209.85.214.67]:34646) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dI1tU-0004g5-L0 for 25511@debbugs.gnu.org; Mon, 05 Jun 2017 19:58:45 -0400 Received: by mail-it0-f67.google.com with SMTP id d68so24829132ita.1 for <25511@debbugs.gnu.org>; Mon, 05 Jun 2017 16:58:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=w6bX9klpXUMf7e5MJ+9gV2iT9wudhRfjQA5bujUneIM=; b=Oo/Xe77ZxmI6LZ0FXOh49CAAkLyjkVPS1+wyfq2llQPyLHDFJSEsQbzr4NbRXOA0x4 ZVFlf4dG3HOIOyFuecTxbmBDhI7fT8n8V1m+giqvkLrEXYDKRAkAfnhTaFMvTwqcelB8 daLSxTA+Hnbv2UnKpvAyN+LC8y1jraISsz9JgT7AEwB6KCqEpwUuWY9Hoi+OA6K/yw3D weSjqHqPuEP1+XjZnxWNEI8oAqvikvNMLVL09e979TEZZiGFft7yklp2/RuAiOVZ6ZS0 inCiKLcgtydYDfH0ur9QirZmJr7La/oKb7MtBUbzy2SSU7A4JSGYf/VzRBsxXdM+ttQR MqJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=w6bX9klpXUMf7e5MJ+9gV2iT9wudhRfjQA5bujUneIM=; b=Xug+krgLecCn2XcuLS1MKWbk0/yCMWZy6HlSmEQGLWLp2kXyZB++lUjH7r6v/pbyg+ 8ey95gm1B1YJDVDmVmp4JGxUZMFue8/EBEDXIOGtCEcMdoF0rHG/hlUQyKIGUvXxiDv4 cQ1tB6o1kPOqHbi6qDyh+9u6wHFPTkz7hbfVZQ5INTBeyyGiKR2idmqQckjAYS/NTybd iSEnXNx4kkx90riUUbOTkTcUzwWmGSDkUq2f0ny3Ou/y8eoHcdXGx8lmHxnU/qAkBOQO 0vryEcH9yKHS+ef5nDK3q1A+BdDxzXvyZLwGiLr8Dvzrhf60Fozu1CulnwQjzQZ7wLPO F0Mg== X-Gm-Message-State: AODbwcA+cFjQNX+sjH4WshPv2wIUqNvJCOyQaTOqoVoSkwu13EhYZrzW 40vScDIoOUVBKA== X-Received: by 10.36.54.195 with SMTP id l186mr8506446itl.55.1496707119172; Mon, 05 Jun 2017 16:58:39 -0700 (PDT) Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id 63sm4964401ioz.44.2017.06.05.16.58.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 05 Jun 2017 16:58:37 -0700 (PDT) From: npostavs@users.sourceforge.net To: martin rudalics Subject: Re: bug#25511: 26.0.50; modify-frame-parameters modifies undesignated parameter? References: <5885B8D7.4040301@gmx.at> <5885DABE.9000408@gmx.at> <58870656.2090402@gmx.at> <58872061.1050900@gmx.at> <87zidmy4ly.fsf@users.sourceforge.net> <59355E51.8090804@gmx.at> Date: Mon, 05 Jun 2017 20:00:15 -0400 In-Reply-To: <59355E51.8090804@gmx.at> (martin rudalics's message of "Mon, 05 Jun 2017 15:36:17 +0200") Message-ID: <87o9u2x9ww.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 25511 Cc: 25511@debbugs.gnu.org, Katsumi Yamaoka X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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 (/) martin rudalics writes: >> Is there something more to do with this bug? > > Is there something more to do with bug#25521? Just the question of whether we should add back some delay after frame creation, the original problem there is easily fixed by changing the user code. I gather from your question that it's the same for this bug? From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 06 02:38:57 2017 Received: (at 25511) by debbugs.gnu.org; 6 Jun 2017 06:38:57 +0000 Received: from localhost ([127.0.0.1]:58425 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dI88n-0007HW-8b for submit@debbugs.gnu.org; Tue, 06 Jun 2017 02:38:57 -0400 Received: from mout.gmx.net ([212.227.15.15]:61622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dI88l-0007HJ-Mg for 25511@debbugs.gnu.org; Tue, 06 Jun 2017 02:38:56 -0400 Received: from [192.168.1.100] ([46.125.249.45]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M8edX-1e4L2e0aTz-00wAzW; Tue, 06 Jun 2017 08:38:35 +0200 Message-ID: <59364DE2.2010501@gmx.at> Date: Tue, 06 Jun 2017 08:38:26 +0200 From: martin rudalics MIME-Version: 1.0 To: npostavs@users.sourceforge.net Subject: Re: bug#25511: 26.0.50; modify-frame-parameters modifies undesignated parameter? References: <5885B8D7.4040301@gmx.at> <5885DABE.9000408@gmx.at> <58870656.2090402@gmx.at> <58872061.1050900@gmx.at> <87zidmy4ly.fsf@users.sourceforge.net> <59355E51.8090804@gmx.at> <87o9u2x9ww.fsf@users.sourceforge.net> In-Reply-To: <87o9u2x9ww.fsf@users.sourceforge.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:a9EDRxd2zgvotgopuUGEyLF0d0TU3DrZ6+S+EJMTi+MWyg+2wRE 0XptbWRvwbTG37ZFqZRvuc49ECnpyw0Oy7xKUaLT7m5cOyLtbPPunF5w9zrdg+B68vzJ8zw hKaXsVDrrRLqP2gVIvIWpDcvHTHsnr2xhXc3JgYFG5ZB45LHEjYt8DDY3I8PEp9R1y46paI U1IA9eiJYFFmc3P8geUJQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:1JlYmZxVIdQ=:PtU/vHgYNXYFvhJpiJGXJo CD6UVGBCs5DKrsdFMBBIG398oI8GYbNpmgLYNoFMeWqfcZX+GnjvHQDUZfqLNXpLiRikAEer0 d0BkNPTg7uRBJ+iqLckL9eNiCpsYS6l91SYumaQLxChWlJCRPYxclpDIJ8tOcUZc7x0jYpe+H S+U0MWj3B8M3wBYMuYejKlSvtKTF2FAg10V2L0n9hGt2kBXam8dLkmnQ5MmvjSqfdZab6G/vA 7lwwHvQTMg3pQn28hJAFPdiJ5HL77JDqluok0R5y/ucLw1C8nHn3hKq6O8r//Q5pmfxZ3/FBi Tissc4vIgOEmMFFe4iFG/x5yulC6PcAyublpwx5/7ZwFlFaDD4hFasXM4U4UfUUbO6ZxKoKaE 5r/QCJ+cNRJYpZnINBEarO4cTqEIjVUqcCheoMBWqCCM22R/Z4AGUmzcwSr/LQBobL4HP/8nF /MrZwF1E5S2g11QwyXdrP62gO1CVjlmc/oSgckMrGTz59aVLMY9wXLuCkF8vC0/Aqy/2NdcB1 /AFbY6iaqyIDUt4ZShrFD49FegrL2fX3b5WdGoZD6ecjPpB1RPWoldOFTX3ZUen0gMVDgXLE8 l12uza7/44DFayxr/RpIqi+XXnmwyljgSzcIEQQj7AA+LrZyVyohuMgM9mYRZmawpmLj7hBry lZo6DJkXX8tc1EgALh0EHYKrzEIAPa2oqGE9Vms3RQImvUsB/XlKVTyqJmCbGJEwck24pieii 4wY1Bak0kZwuZuImulhTS4vYuOk0U6lir+QdlOwodzpMun2CftAtV2sqQNbW+le2fF5OsAj23 kL4BW2M2Yji/6HgxREH3+JN87kXow== X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 25511 Cc: 25511@debbugs.gnu.org, Katsumi Yamaoka X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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 (--) >>> Is there something more to do with this bug? >> >> Is there something more to do with bug#25521? > > Just the question of whether we should add back some delay after frame= > creation, the original problem there is easily fixed by changing the > user code. I gather from your question that it's the same for this bu= g? Yes. Problems in this area have existed for a long time. Practically all of them result from code using =E2=80=98make-frame=E2=80=99 followed = by code that immediately tries to read or modify properties of the frame to create. For example, Bug#25511 has (let ((frame (make-frame))) (modify-frame-parameters frame ... while Bug#25521 has (make-frame '((name . "foo") ... (select-frame-by-name "foo") and, for example, Bug#25943 has (let ((simple-frame (make-frame `((name . "Simple Frame") ... (unwind-protect (while (progn (set-frame-size simple-frame ... IIRC there were more similar reports. BTW Bug#25943 was reported for an Emacs 25.1 GTK build hence before you removed the delay to fix Bug#24091.= We could introduce some customizable delay and, whenever a bug in this area is reported, tell people to increase that delay. If the bug does not disappear after the delay has gotten pretty large, we have a more nasty problem. Otherwise, we have perfidiously shifted responsibility to the user. martin From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 15 14:22:43 2017 Received: (at control) by debbugs.gnu.org; 15 Oct 2017 18:22:43 +0000 Received: from localhost ([127.0.0.1]:41879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3nYh-0005fg-3u for submit@debbugs.gnu.org; Sun, 15 Oct 2017 14:22:43 -0400 Received: from mail-io0-f174.google.com ([209.85.223.174]:49180) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3nYg-0005fQ-4z; Sun, 15 Oct 2017 14:22:42 -0400 Received: by mail-io0-f174.google.com with SMTP id n137so13818284iod.6; Sun, 15 Oct 2017 11:22:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=QTr8BdN0P5I9WR2aqBpLRBG9MaumQYVGtac+jSbQ+cA=; b=g5oBL/6reAZo/GaNHv8dm9PUDPCmA44/BsZleMyrNe/wxTfqOEq8IOgX0mWsygw/lb vmGbq222iBHMGqpnZhUDyU3C50Hj6J/eNISMaNPpdVn8QC0RW9BSu0JRopg150HHaniH 0YNfPCBT8duo39IJ1szIAgKAbKDOIWgg0jA38SnwZ8mZItJqBnd8cNWy7Ly75X/NAJtc 3sba5wLqGEODKu/MqrairwD5SEgN4HEmnZK14MmRKcYsaqz95jwGYhCOq5xUrqmi4wl6 n1qPjgwVE0DgmC+NI01HCrjEDjOYTnUxYPTiptUdLMQaxO1qfoA6NYGaeV/3ys+2lPBo v7WA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=QTr8BdN0P5I9WR2aqBpLRBG9MaumQYVGtac+jSbQ+cA=; b=Je3RKgVSoT/c1aiC7yVC5Ct1A+2rkexH6Tt/2WprGdghvOzE9U9jUtmVb7R8Rtrc1L T0oghdfp2IPSEQcUV9+3GyxmdJyMbGou8tYrXvTXcVYCmc4ekJpQ14fWojIM4L96DyqD Ber8UCRh4M4Obf68w3cb1rutIoFhCtG/tbmLfkI2+vKO4L431MwW3IPaCqi5J7a/eL22 oVcwMqS8PkmvtAK2qFFafFpj16xu5f2Vjhb0piTxwa67bHuvYFaa7QUNFxgjvMWNMst3 3kqXMf/Vz9kVqk4TaPOdolcCLvg0HBuGA0uBmftIxpvD6BZu18206eokRYy/OIIQNlsT vflg== X-Gm-Message-State: AMCzsaUnbROiUD6R2QNfTBHkqPTOj9sCg25ZUe8xqPgzZYrEt5mvCWaU GGdj2I5Qv4nIuD+oTd39dgHWbg== X-Google-Smtp-Source: ABhQp+Tv/yXfUg7JuUnO+4A9y9+Kp0icgPs9o1S+u4eR5LUbxu3FANK91Z1HTZonFtHRFrii7qnv5Q== X-Received: by 10.107.128.202 with SMTP id k71mr9351713ioi.184.1508091756539; Sun, 15 Oct 2017 11:22:36 -0700 (PDT) Received: from zebian ([45.2.119.34]) by smtp.googlemail.com with ESMTPSA id o9sm2839858itf.10.2017.10.15.11.22.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 15 Oct 2017 11:22:35 -0700 (PDT) From: Noam Postavsky To: martin rudalics Subject: Re: bug#25521: 26.0.50; After (make-frame '((name . "foo"))) (select-frame-by-name "foo") doesn't see the frame References: <87a8agrwwx.fsf@gmail.com> <83lgtz3jdf.fsf@gnu.org> <87mvefk54q.fsf@gmail.com> <87inp2u2nn.fsf@users.sourceforge.net> <87r33qm4lh.fsf@gmail.com> <87a8adubtz.fsf@users.sourceforge.net> <877f5hq0tl.fsf@gmail.com> <87ziids1j2.fsf@users.sourceforge.net> <83vat10wdp.fsf@gnu.org> <87wp7ukw8x.fsf@users.sourceforge.net> <5955F510.5040101@gmx.at> <87efrr6rgx.fsf@users.sourceforge.net> <59A95A75.8040100@gmx.at> <87bmmu7czr.fsf@users.sourceforge.net> <59A980A5.9010705@gmx.at> <87zi9if9ux.fsf@users.sourceforge.net> <59CB5D18.2090806@gmx.at> <87po9qa31g.fsf@users.sourceforge.net> <59E1CC9B.7040802@gmx.at> Date: Sun, 15 Oct 2017 14:22:34 -0400 In-Reply-To: <59E1CC9B.7040802@gmx.at> (martin rudalics's message of "Sat, 14 Oct 2017 10:36:43 +0200") Message-ID: <87k1zw8e51.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: control Cc: Eli Zaretskii , 25521@debbugs.gnu.org, qwxlea@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.1 (--) tags 25521 fixed close 25521 tags 25511 fixed close 25511 quit martin rudalics writes: > I think you can safely apply the =E2=80=98select-frame-by-name=E2=80=99 p= atch now. Pushed. Closing #25511 as well, since it should have been fixed by delay-restoring patch too. [1: 616b4c5956]: 2017-10-15 13:58:45 -0400 Let select-frame-by-name choose any frame when called from lisp (Bug#2552= 1) https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=3D616b4c59561c63b9= 86634d666c45a73e95fac392 From unknown Sun Jun 15 08:41:00 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, 13 Nov 2017 12:24:04 +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