From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Dr.-Ing. Dieter Jurzitza" Newsgroups: gmane.emacs.bugs Subject: bug#24526: iconifying / framesize Date: Sat, 24 Sep 2016 11:08:52 +0200 Organization: privat Message-ID: <2404679.08DogL2IpK@djunix> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit X-Trace: blaine.gmane.org 1474722809 23245 195.159.176.226 (24 Sep 2016 13:13:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 24 Sep 2016 13:13:29 +0000 (UTC) User-Agent: KMail/4.14.10 (Linux/4.1.31-30.4-default; KDE/4.14.18; x86_64; ; ) To: 24526@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 24 15:13:20 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 1bnmlZ-0004bM-80 for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Sep 2016 15:13:17 +0200 Original-Received: from localhost ([::1]:33304 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnmlZ-0003GU-Mm for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Sep 2016 09:13:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnmlO-0003ER-Ez for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2016 09:13:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bnmlK-0005VS-36 for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2016 09:13:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56049) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnmlJ-0005VO-W9 for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2016 09:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bnmlJ-0006sj-Sg for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2016 09:13:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Dr.-Ing. Dieter Jurzitza" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Sep 2016 13:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24526 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.147472273626379 (code B ref -1); Sat, 24 Sep 2016 13:13:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Sep 2016 13:12:16 +0000 Original-Received: from localhost ([127.0.0.1]:34002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bnmka-0006rN-64 for submit@debbugs.gnu.org; Sat, 24 Sep 2016 09:12:16 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bniy3-00061a-8p for submit@debbugs.gnu.org; Sat, 24 Sep 2016 05:09:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bnixw-0006OR-VF for submit@debbugs.gnu.org; Sat, 24 Sep 2016 05:09:50 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:44778) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnixw-0006Mn-SE for submit@debbugs.gnu.org; Sat, 24 Sep 2016 05:09:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57478) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnixu-00010t-MF for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2016 05:09:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bnixq-0006I2-CL for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2016 05:09:45 -0400 Original-Received: from mailout10.t-online.de ([194.25.134.21]:44792) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnixq-0006Gd-54 for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2016 05:09:42 -0400 Original-Received: from fwd32.aul.t-online.de (fwd32.aul.t-online.de [172.20.26.144]) by mailout10.t-online.de (Postfix) with SMTP id B6CC541E65B3 for ; Sat, 24 Sep 2016 11:09:39 +0200 (CEST) Original-Received: from djunix.karlsruhe.edu (SUogavZ-gheq-MJ1wrdN+7ySZuh4w-pe-6j2FIkZNH8GdrTsgTOaEsk79nIJfeVwsB@[79.227.183.148]) by fwd32.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1bnixj-0xuSdk0; Sat, 24 Sep 2016 11:09:35 +0200 Original-Received: by djunix.karlsruhe.edu (Postfix, from userid 1000) id 6ACDD300D74F; Sat, 24 Sep 2016 11:08:52 +0200 (CEST) X-ID: SUogavZ-gheq-MJ1wrdN+7ySZuh4w-pe-6j2FIkZNH8GdrTsgTOaEsk79nIJfeVwsB X-TOI-MSGID: 7c82ff86-fb24-4b16-a3d7-94c0fe30b167 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Sat, 24 Sep 2016 09:12:14 -0400 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:123634 Archived-At: Dear listmembers, I installed the released version of emacs-25.1 today. Thereby I can observe differences in framesize between emacs -iconic and emacs both called from within an xterm. I configured the size of the frame in my ".emacs" - file. Starting xwininfo and deiconifying emacs that had had been started with "emacs -iconic" results in: fred@djunix:~/rpmbuild/RPMS/x86_64> xwininfo xwininfo: Please select the window about which you would like information by clicking the mouse in that window. xwininfo: Window id: 0x340011f "emacs@djunix" Absolute upper-left X: 41 Absolute upper-left Y: 57 Relative upper-left X: 0 Relative upper-left Y: 0 Width: 744 Height: 865 Depth: 24 Visual: 0x25 Visual Class: TrueColor Border width: 0 Class: InputOutput Colormap: 0x340011e (not installed) Bit Gravity State: NorthWestGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: no Map State: IsViewable Override Redirect State: no Corners: +41+57 -815+57 -815-278 +41-278 -geometry 64x26+35+20 In contrast, when simply triggering "emacs" not being iconic, I get fred@djunix:~/rpmbuild/RPMS/x86_64> xwininfo xwininfo: Please select the window about which you would like information by clicking the mouse in that window. xwininfo: Window id: 0x340011f "emacs@djunix" Absolute upper-left X: 41 Absolute upper-left Y: 57 Relative upper-left X: 0 Relative upper-left Y: 0 Width: 1514 Height: 1068 Depth: 24 Visual: 0x25 Visual Class: TrueColor Border width: 0 Class: InputOutput Colormap: 0x340011e (not installed) Bit Gravity State: NorthWestGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: no Map State: IsViewable Override Redirect State: no Corners: +41+57 -45+57 -45-75 +41-75 -geometry 134x33+35+20 The last lines from "-geometry" are very close to my settings from within .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. 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 parameters are not processed apropriately. Many thanks for looking into this, take care Dieter Jurzitza -- ----------------------------------------------------------- Dr.-Ing. Dieter Jurzitza Karlsruhe