From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii 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 10:41:58 +0300 Message-ID: <83y2yennsp.fsf@gnu.org> 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> <866a56c8-edb6-bd35-cd52-56611cf2a7e6@gmx.at> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="211734"; mail-complaints-to="usenet@blaine.gmane.org" Cc: lekktu@gmail.com, 37415-done@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 24 09:43:12 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 1iCfTc-000sxu-2v for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Sep 2019 09:43:12 +0200 Original-Received: from localhost ([::1]:41994 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCfTa-0002Kt-Ji for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Sep 2019 03:43:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41740) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCfTT-0002Ke-4c for bug-gnu-emacs@gnu.org; Tue, 24 Sep 2019 03:43:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iCfTS-0003Qe-2p for bug-gnu-emacs@gnu.org; Tue, 24 Sep 2019 03:43:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56972) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iCfTR-0003Q2-VG for bug-gnu-emacs@gnu.org; Tue, 24 Sep 2019 03:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iCfTR-0007Tr-SW for bug-gnu-emacs@gnu.org; Tue, 24 Sep 2019 03:43:01 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Sep 2019 07:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 37415 X-GNU-PR-Package: emacs Mail-Followup-To: 37415@debbugs.gnu.org, eliz@gnu.org, lekktu@gmail.com Original-Received: via spool by 37415-done@debbugs.gnu.org id=D37415.156931094028703 (code D ref 37415); Tue, 24 Sep 2019 07:43:01 +0000 Original-Received: (at 37415-done) by debbugs.gnu.org; 24 Sep 2019 07:42:20 +0000 Original-Received: from localhost ([127.0.0.1]:37559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iCfSl-0007St-SL for submit@debbugs.gnu.org; Tue, 24 Sep 2019 03:42:20 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33143) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iCfSk-0007Sg-Oq for 37415-done@debbugs.gnu.org; Tue, 24 Sep 2019 03:42:19 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36987) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iCfSf-00019w-C8; Tue, 24 Sep 2019 03:42:13 -0400 Original-Received: from [176.228.60.248] (port=3221 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iCfSe-0000E6-MU; Tue, 24 Sep 2019 03:42:13 -0400 In-reply-to: <866a56c8-edb6-bd35-cd52-56611cf2a7e6@gmx.at> (message from martin rudalics on Tue, 24 Sep 2019 08:45:43 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:167081 Archived-At: > Cc: lekktu@gmail.com, 37415@debbugs.gnu.org > From: martin rudalics > Date: Tue, 24 Sep 2019 08:45:43 +0200 > > >> 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. Well, that has been working for far too long to be bothered now, I think. > > 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. Done. > On a related note: Do you have any ideas what the window_prompting > argument of w32_window is or was for? It's unused, and was unused since the initial revision of that function. I think it's there just to keep the signature compatible with that of x_window (which itself only keeps that compatibility in toolkit versions).