From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#32207: 26.1; can't set window position with emacs 26.3 Date: Fri, 20 Jul 2018 08:42:22 +0200 Message-ID: <5B51844E.2060301@gmx.at> References: <13991.1531957318@monster.martins.cc> <5B5049B0.6070804@gmx.at> <4103.1532006778@monster.martins.cc> <17334.1532030218@monster.martins.cc> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1532068872 11566 195.159.176.226 (20 Jul 2018 06:41:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 20 Jul 2018 06:41:12 +0000 (UTC) Cc: 32207@debbugs.gnu.org To: emacs@martins.cc Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 20 08:41:08 2018 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 1fgP6C-0002tZ-Ew for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Jul 2018 08:41:08 +0200 Original-Received: from localhost ([::1]:46672 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgP8J-00013K-GN for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Jul 2018 02:43:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49079) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgP88-00013F-SP for bug-gnu-emacs@gnu.org; Fri, 20 Jul 2018 02:43:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fgP82-0004Xk-GU for bug-gnu-emacs@gnu.org; Fri, 20 Jul 2018 02:43:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43719) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fgP82-0004Xd-AR for bug-gnu-emacs@gnu.org; Fri, 20 Jul 2018 02:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fgP82-0002a2-39 for bug-gnu-emacs@gnu.org; Fri, 20 Jul 2018 02:43: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: Fri, 20 Jul 2018 06:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32207 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32207-submit@debbugs.gnu.org id=B32207.15320689619886 (code B ref 32207); Fri, 20 Jul 2018 06:43:02 +0000 Original-Received: (at 32207) by debbugs.gnu.org; 20 Jul 2018 06:42:41 +0000 Original-Received: from localhost ([127.0.0.1]:48737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgP7g-0002ZO-UJ for submit@debbugs.gnu.org; Fri, 20 Jul 2018 02:42:41 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:56915) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgP7e-0002Z9-MY for 32207@debbugs.gnu.org; Fri, 20 Jul 2018 02:42:39 -0400 Original-Received: from [192.168.1.101] ([213.162.73.201]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MbgWb-1fPhBV2myD-00J2lv; Fri, 20 Jul 2018 08:42:32 +0200 In-Reply-To: <17334.1532030218@monster.martins.cc> X-Provags-ID: V03:K1:l5OQazOE5kS0lRItujjWXNnfSv5aEGD+VsHvo+qamJI2ttbD3J1 o1sDOKVnT/+b5fi1r++3bB6H5un9vBZwueEO7q7DGOFM6MC+W8ssqOeyDY+Nly5Si6VH5Ve USxwOsyChm9P/uPhhohRum3nQwuFMPr+9iHh2FKcazvQZLNtFc9V1x6kH8LA/nJxcxWuGjY HtiCGUrXBNtuhmr41iSsw== X-UI-Out-Filterresults: notjunk:1;V01:K0:KCfF8PvsaJU=:7OyAUr1c9HHjnTMoyP/Gqq 1FDO/JC8p+0RPFLFmIOliC2zFQMXqginUBaWn8A30LYUK1mt5ohHC7+oLGzRUjOJFChTAPEbM Fpq0NfmrizWXl5YFFwmWr+zX6+Kkq+jWuc4zhYcKQYgIm8MOAfxd0uZC1EBkmW7T7G0THepML CWZaF41WowSxctZDS/Wb13NkSCL2AJb38dH7PnoW9eZqDzszao96HSuVp5AqDQtc+2s6dgvVU UWHanoMLSQvXL5DJTe7PJvPAe55fPnBi1YoZg7VyA2zD16Izgxpu0E7uB5NgheAn4u/WbPIj3 K+FGzXb+AdWRbvnH0zDWEajxCQf26WGTtVDnS4bgMG4HKp8c2Fd3LDRjHsu2lGBLyXGRVEadT qLFUZaqeeyTAfLxO4SXS2oV7VydovWArPjBE1pMCYON7/FsL1+qr0DVxmMQwaPd792S6lEYxi dU2KXm6HUwBmYxISF05+qaK7VIgTWNPfg9pI8KU7ujNqCL7rprm6O7Jq0NJBndowLvOzgyjOe RqBNITW6dqiHTJzHrKj2+cz83O6HMbgYCzrlDKVq4VvukQwivIm+N6WCfVOjlcsMapKQNwTFQ rbLxUqGKsf4AGTPDpZq47cDF4LZMGDB6XbemSoQKShPBiJGJfrqwOU2LcSBHs5kxRabkZUxpE pjHWQL5UlwN1BM59d+9rnaRIGqlF9xppo8KjrXmzDLrpkaPZh4YBH25sG2cZUzTofvD4GQaE9 PBqCGQSe1ZkRBKNIjuRYY1lNyrRKchlc44xJP8+2v4B51NXPyXxEZqNthuKFA9h2vLXz0SmD 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:148704 Archived-At: > Looking at fvwm's log I see this message when starting emacs: > [fvwm.0][GetWindowSizeHints]: <> reason: 6: The > hints have been ignored because the window's current size > would have become invalid. This hints at yet another sizing problem. What happens when you specify size _and_ position via say (make-frame '((top . 100) (left . 100) (width . 50) (height . 10))) > The new hints will become > active when the window generates the next ConfigureRequest. > > I don't remember seeing this message before. > > If I turn fvwm's: > BugOpts ExplainWindowPlacement True > > When I start emacs as: > emacs -Q -g 80x40+500+500 > I get this explanation: > [fvwm.0][__explain_placement]: placed new window 0x1800142 'emacs@...': > initial size 764x780 > desk 0 (current desk) > current page > position 20 40, placed by fvwm (ignored program specified position) > placement method: TileCascade Can you try with "Tile Manual Placement" instead of "Tile Cascade"? I suppose that Tile Cascade means that the window manager is allowed to (or even should) override the application's request. > Similarly for -geometry 80x40+500+500, and --geometry=80x40+500+500 > > When I start an xterm as: > xterm -geometry 80x40+500+500 > I get this one: > [fvwm.0][__explain_placement]: placed new window 0x1800025 'xterm': > initial size 816x839 > desk 0 (current desk) > current page > position 500 500 (used user specified position) > > For xterm, fvwm says "user specified", for emacs it says "program specified". > This and the IgnoredHints above may have something to do with it. Then maybe (make-frame '((user-position . t) (top . 100) (left . 100))) will do? martin