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#24526: iconifying / framesize Date: Tue, 27 Sep 2016 09:07:29 +0200 Message-ID: <57EA1AB1.2090707@gmx.at> References: <2404679.08DogL2IpK@djunix> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1474960109 32054 195.159.176.226 (27 Sep 2016 07:08:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 27 Sep 2016 07:08:29 +0000 (UTC) To: "Dr.-Ing. Dieter Jurzitza" , 24526@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 27 09:08:24 2016 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 1bomUy-0006i9-DM for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Sep 2016 09:08:16 +0200 Original-Received: from localhost ([::1]:48422 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bomUw-00035E-NL for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Sep 2016 03:08:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34407) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bomUp-000354-Vf for bug-gnu-emacs@gnu.org; Tue, 27 Sep 2016 03:08:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bomUk-0005GQ-T2 for bug-gnu-emacs@gnu.org; Tue, 27 Sep 2016 03:08:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58919) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bomUk-0005GM-PW for bug-gnu-emacs@gnu.org; Tue, 27 Sep 2016 03:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bomUk-0000gC-Ft for bug-gnu-emacs@gnu.org; Tue, 27 Sep 2016 03:08: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, 27 Sep 2016 07:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24526 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24526-submit@debbugs.gnu.org id=B24526.14749600672589 (code B ref 24526); Tue, 27 Sep 2016 07:08:02 +0000 Original-Received: (at 24526) by debbugs.gnu.org; 27 Sep 2016 07:07:47 +0000 Original-Received: from localhost ([127.0.0.1]:36876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bomUU-0000fg-Mo for submit@debbugs.gnu.org; Tue, 27 Sep 2016 03:07:46 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:61272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bomUT-0000fT-0b for 24526@debbugs.gnu.org; Tue, 27 Sep 2016 03:07:45 -0400 Original-Received: from [192.168.1.100] ([212.95.7.89]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0Lck9X-1b7mco3Pt9-00k7oA; Tue, 27 Sep 2016 09:07:37 +0200 In-Reply-To: <2404679.08DogL2IpK@djunix> X-Provags-ID: V03:K0:bbSIIRqkkSDTeX1BSg6Tv0BTZM20M7XvQmlfwBzkTNQnMVpQ4cu fID+1+6Bajl8dyn4j0vNKJsWCemGB8XTrVGjwso5d0Nt9Cc0jQ+ZzGmhAzRkord4AyXrq2k xUF8exxOnFBNwdEDlf3jTvb8U+sS0YQC1X1RZVn2v5B/bsl5myj8bZblQHRK0xCiqBPl2oH 0W3z++FMm9VVF6CkHtXpA== X-UI-Out-Filterresults: notjunk:1;V01:K0:KcVr19KA5Hs=:IpDVikrck3DjmLz9LC8P2Z yo4yzjlc5i38j7KkBcsayUuLmzRdQgicMYDnZxOejR4wTEADTg1Fen4ZKNDFKMD/gkxTj8dxo VFe9e7phsJd3tMwaG8h+BsY5afxUZVcVc3n/yEaUuQvCXuHz1NqFPOtHbX4CvAwQqae+FDVIa ibXH/Arct7EaPvNh6SOwDCgtoyk9cC2Hl102GG4g4GYBo9ItH9DhcnrYhtx7Y6xu1MztWGacG SzTT2GWTjK98yZf9rkfl1dMglB3u/ZD/sm6GzyhjSAack++CA+PmbRyd5P4XBYnvO3ixWbqNg iHYb+OaN2mesrpmElwAtHRBhKr/Y445FTXK1v6LkPLfUVtpMZoSyl+aRO2wEgWZZ/f1Rf7h8N b6QzkRoc8N1Y+VWeS2/CmfG81bYBC14oqGDFodezDRE+jlH6a45BzUj5BKNydK0KpSrYx+QEM nYT18lfcIC3HY4r/Vb72vYixgTTNOfltc2u9csN6fqouOfdYv6gsO5peefXje5WAy8U0JgKQ5 Tp3/RoiFq7URa4Tdc9fSjCdUW/zJeIU+0kwFKLbJOTru4Aht7fdmiOQFbeMoVm/kX68bzEN/v RClYvGvOn89dPEVxmupxMnZMlM9j17Y4WAP+FC95XmuVTq6Oe/M58sOHPZVvZwt6LvdhCxoPk 5fLEwI4MVqlR12qUiXi/O1UJd8REdYCThiOdvrPaRkrm7CnF4mr7OydEWKAUl6MzsHQcdLE8Q 5yQ8+bPJvzF2bbpBoSt5E67EYv7tMXzisL4FmUBaUdc4GnaZZm6d3k0Nv/7Qg1z7pr+K2lPg 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:123711 Archived-At: > I installed the released version of emacs-25.1 today. Thereby I can ob= serve > differences in framesize between > > emacs -iconic > > and > > emacs > > both called from within an xterm. I configured the size of the frame i= n my > ".emacs" - file. Starting xwininfo and deiconifying emacs that had had= been > started with "emacs -iconic" results in: [...] > -geometry 64x26+35+20 > > In contrast, when simply triggering "emacs" not being iconic, I get > fred@djunix:~/rpmbuild/RPMS/x86_64> xwininfo [...] > -geometry 134x33+35+20 > > The last lines from "-geometry" are very close to my settings from wit= hin > .emacs: > > (add-to-list 'default-frame-alist '(width . 135)) > (add-to-list 'default-frame-alist '(height . 34)) > (add-to-list 'default-frame-alist '(top . 20)) > (add-to-list 'default-frame-alist '(left . 35)) > > though the x- and y- size parameters are off by "1" this is no problem= =2E We should investigate this off-by-one issue separately. In any case, what does evaluating (frame-geometry) return for the five cases: (1) emacs -Q (2) emacs -Q -iconic (3) emacs with your .emacs (4) emacs -iconic with your .emacs (5) emacs -iconic with your .emacs for the new frame after C-x 5 2 Maybe you could also try replacing =E2=80=98default-frame-alist=E2=80=99 = with =E2=80=98initial-frame-alist=E2=80=99 but I doubt that would change anyth= ing. > However, the fact that the iconified emacs comes up with > -geometry 64x26+35+20 points me to the fact that the x- and y- size pa= rameters > are not processed apropriately. I suppose so. I tried with your =E2=80=98default-frame-alist=E2=80=99 se= ttings in =2Eemacs on Windows and can reproduce it with versions up from Emacs 21. So apparently this never worked here. Do you incidentally have an older version of Emacs where this works correctly? Which OS and window manager do you use? Thanks, martin