From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#37415: Asserting failure setting frame parameters to non-fixnum values in early-init.el Date: Tue, 24 Sep 2019 08:45:43 +0200 Message-ID: <866a56c8-edb6-bd35-cd52-56611cf2a7e6@gmx.at> References: <83v9tqvrm7.fsf@gnu.org> <9aae1b2e-bb5f-8634-5501-9aaff9f51266@gmx.at> <83imppvl9r.fsf@gnu.org> <14d4a455-254e-fdc2-0b64-791cfb0f7724@gmx.at> <83o8zgtlvq.fsf@gnu.org> <0936d492-c2bc-d4d3-7fcf-272d0fdbe087@gmx.at> <83a7ayss4b.fsf@gnu.org> <7b896377-d546-b428-adba-797ec988c4fa@gmx.at> <83r24aqadz.fsf@gnu.org> <83ftkprfzx.fsf@gnu.org> <83y2ygp9hz.fsf@gnu.org> <83pnjsp50y.fsf@gnu.org> <83ef07otrc.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="253294"; mail-complaints-to="usenet@blaine.gmane.org" Cc: lekktu@gmail.com, 37415@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 24 08:47:55 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iCec5-0013l8-1u for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Sep 2019 08:47:53 +0200 Original-Received: from localhost ([::1]:41472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCec3-0006W7-6N for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Sep 2019 02:47:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33983) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCebL-0006Vu-P4 for bug-gnu-emacs@gnu.org; Tue, 24 Sep 2019 02:47:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iCebJ-0006rF-Mi for bug-gnu-emacs@gnu.org; Tue, 24 Sep 2019 02:47:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56885) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iCebG-0006qT-Lx for bug-gnu-emacs@gnu.org; Tue, 24 Sep 2019 02:47:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iCebG-0001Su-Gk for bug-gnu-emacs@gnu.org; Tue, 24 Sep 2019 02:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Sep 2019 06:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37415 X-GNU-PR-Package: emacs Original-Received: via spool by 37415-submit@debbugs.gnu.org id=B37415.15693075652660 (code B ref 37415); Tue, 24 Sep 2019 06:47:02 +0000 Original-Received: (at 37415) by debbugs.gnu.org; 24 Sep 2019 06:46:05 +0000 Original-Received: from localhost ([127.0.0.1]:37473 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iCeaK-0000gb-Lf for submit@debbugs.gnu.org; Tue, 24 Sep 2019 02:46:04 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:56395) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iCeaG-0000Xj-FU for 37415@debbugs.gnu.org; Tue, 24 Sep 2019 02:46:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1569307547; bh=h2+gCoyuVin4EeDleK/b3HD/MNmqqwb/EyClB9Yg9DQ=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=hwSMw2hwF01Modf3B0W7KlPBTc5/py/lhIJtWrYU7+/x6qRHF6sD6jkAChx5KPCa7 jyrOd4Ni3I0SNYIfA+CzjKNUegqwAUpzEimCfAbbNYWwauK8cM/S9egSDd+r3s+c4Q /abp//UN126j/qorqyJ9VIEJ6HOBdXOkRzSID9yI= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.101] ([46.125.249.32]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MSt8W-1icWvt1cis-00UM1r; Tue, 24 Sep 2019 08:45:47 +0200 In-Reply-To: <83ef07otrc.fsf@gnu.org> Content-Language: de-AT X-Provags-ID: V03:K1:HB8XLqZG1zWNOU3nNdqpcNUCiry1H08G2PI0AxWbCOzGci74nWw P0KF+u2U7f37YXRepu1HB6IjMjKoQzqBnuyqt0qexbSzXZ6gJqACszcKa/EjKQSVQm0cutM SCv7OxR8HTWlUg7crEsZy00Eb15PtD8jdQOK+jPI0Mqor3SZSW0iyM8MQsrInNmSGaXwYjN aEV7pyMriJY6fnxQwKXfA== X-UI-Out-Filterresults: notjunk:1;V03:K0:hKiJB6D807A=:xCSZswuhhn+9eS9HiRQdzx Ny2vV3v5KKOPvmuCxEPF5DWEtZwTI9kriS5xd9JqSOJog5j5sJUm7IQf8mQCCOqcQynrMLE0C jqeYZpoNv9rKyipQ8IsWCn08lpyoEAjzhwSO9xp65HXAN2M1JBUd+W+TNMdtn2LP0c/bO4VxO mANocoiimUndN6f036+jYZj1koxfxjsGNolG9WBefTjRO3vf290qUdg+b9icBAqdyySZmch75 J6FlKN/LhKnVRf1vPNcOHX/cWIhRtYi46wl/5eVNY4MCggaOm1hjE37Fps2BU4UoCM/4Ji1Zs LOd5wcKw0gxnZN5wbDLkFqjlIerUgZodsmZEz6dMFKZwEmfcgfEimUU9ajAGbl4Dp40sviWiE 47NnT8gwQRf85tjIBfhF+s51X4PJBgKH1YtMzJ/omLtsjlqdimX4fDISb/n+E2+0HJOktmlO7 0f5yTP0yOfu8AaJjcp8rCQd8ynOdjqna1DhA28VitY65dpXueG6jJTgRKdLwpUzkjL1yTQ2aS QZCSfJb8oxbdrmLsnxgU17F+7VEZCbYfv/5JG0CzMdN9HxKJGLktewINbwkwB+Z3O7grLGOY2 6EWyAwLVgzpaRBR3n/NZKRGquHf2U8wTpEWrrzUPIligmhwInwU0rIPcM1h8xuWobp6aEELzW 5dv6URozzgthzOQOChamknT8+vPRsIWBmzS/HvUtpO0KOL2zYi+vPO0GxEpR3W1p+ToQqfe5w D7Y92WqTQnZu4KYy1QQLovUDOsfO1yBOfFTeWyhxb97KrfuHz6C1ITFrJJ2bIhmd5z2jrA+5 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:167071 Archived-At: >> What bothers me more is that we base the Windows code on a concept >> that it can neither understand nor control. > > Which concept is that? Size hints. In particular the 'user-position' frame parameter. > my_create_window just prepares the coordinates for w32_createwindow, > and the latter does use f->top_pos and f->left_pos when appropriate. OK. I didn't remember that the code was that convoluted. > The 'else' block is redundant, because when the hint flags are set, > w32_createwindow will disregard coords[]. But it does no harm, so if > you are more comfortable with it, fine. Thanks but don't bother. Better leave a short note in a comment explaining how this is supposed to behave. On a related note: Do you have any ideas what the window_prompting argument of w32_window is or was for? martin