GNU bug report logs - #24526
iconifying / framesize

Previous Next

Package: emacs;

Reported by: "Dr.-Ing. Dieter Jurzitza" <dieter.jurzitza <at> t-online.de>

Date: Sat, 24 Sep 2016 13:13:01 UTC

Severity: normal

Tags: moreinfo

Merged with 24569

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #34 received at 24526 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: "Dr.-Ing. Dieter Jurzitza" <dieter.jurzitza <at> t-online.de>, 
 24526 <at> debbugs.gnu.org
Subject: Re: hopefully all information requested
Date: Sun, 02 Oct 2016 20:10:29 +0200
> please find a file attached to this email containing (hopefully :-)) all
> information requested.

Thanks for the work.

> emacs -Q
> [...]
> frame text pixel: 720 x 792   cols/lines: 80 x 36
> [...]
>
> emacs -Q -iconic
> [...]
> frame text pixel: 720 x 792   cols/lines: 80 x 36

So an iconic frame has the same number of text columns/lines as a
normal one.

> emacs
> frame text pixel: 1485 x 986   cols/lines: 135 x 34

And the frame with the geometry specified in your .emacs has 135 text
columns and 34 text lines as requeste via (I presume)

(add-to-list 'default-frame-alist '(width . 135))
(add-to-list 'default-frame-alist '(height . 34))

This looks correct as well (no off by one issue here AFAICT).  I have to
admit that this was the major issue that bothered me.

> emacs -iconic
> [...]
> frame text pixel: 715 x 783   cols/lines: 65 x 27

This is the expected mess.  The strange values are obviously due to the
fact that the default character size changed from 9 x 22 to 11 x 29
while the frame's outer size did not change along with that.  Emacs is
talking characters and the window manager is talking pixels.

I will look into this but I can't promise to find a solution soon.

> emacs -iconic C-X 5 2
> [...]
> frame text pixel: 1485 x 986   cols/lines: 135 x 34

For the new frame I presume, everything as expected.

Thanks again for sending me all this information, martin




This bug report was last modified 3 years and 44 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.