From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#25511: 26.0.50; modify-frame-parameters modifies undesignated parameter? Date: Mon, 23 Jan 2017 12:27:23 -0500 Message-ID: References: <5885B8D7.4040301@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1485192508 25071 195.159.176.226 (23 Jan 2017 17:28:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 23 Jan 2017 17:28:28 +0000 (UTC) Cc: 25511@debbugs.gnu.org, Katsumi Yamaoka To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 23 18:28:19 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cViPc-0005LX-Bo for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Jan 2017 18:28:12 +0100 Original-Received: from localhost ([::1]:43446 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cViPh-0004mF-GH for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Jan 2017 12:28:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60633) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cViPW-0004kd-4E for bug-gnu-emacs@gnu.org; Mon, 23 Jan 2017 12:28:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cViPS-0007TE-AE for bug-gnu-emacs@gnu.org; Mon, 23 Jan 2017 12:28:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41136) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cViPS-0007Sl-6N for bug-gnu-emacs@gnu.org; Mon, 23 Jan 2017 12:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cViPR-0003tg-VE for bug-gnu-emacs@gnu.org; Mon, 23 Jan 2017 12:28:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Jan 2017 17:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25511 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25511-submit@debbugs.gnu.org id=B25511.148519245114936 (code B ref 25511); Mon, 23 Jan 2017 17:28:01 +0000 Original-Received: (at 25511) by debbugs.gnu.org; 23 Jan 2017 17:27:31 +0000 Original-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 Original-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 Original-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) Original-Received: by 10.157.21.117 with HTTP; Mon, 23 Jan 2017 09:27:23 -0800 (PST) In-Reply-To: <5885B8D7.4040301@gmx.at> X-Google-Sender-Auth: z_Nj-hEDdHKmdqeGRjpS-ug_F98 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: 208.118.235.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:128333 Archived-At: 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?