GNU bug report logs - #28442
26.0.50; desktop-save-mode no longer restores correct frame size on macOS

Previous Next

Package: emacs;

Reported by: Aaron Jensen <aaronjensen <at> gmail.com>

Date: Wed, 13 Sep 2017 11:07:01 UTC

Severity: normal

Found in version 26.0.50

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


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

From: martin rudalics <rudalics <at> gmx.at>
To: Alan Third <alan <at> idiocy.org>, Aaron Jensen <aaronjensen <at> gmail.com>
Cc: 28442 <at> debbugs.gnu.org
Subject: Re: bug#28442: 26.0.50; desktop-save-mode no longer restores correct
 frame size on macOS
Date: Thu, 23 Nov 2017 08:46:09 +0100
> frame-geometry-width

What is 'frame-geometry-width'?

> returns the outer width of the frame, but the
> functions for *setting* the width and height use the inner frame size,

No.  These functions "use" the text width and height of the frame.  Have
a look at section 29.3.1 Frame Layout of the Elisp manual.

> which I think equates to the text area size.

Not necessarily.  To obtain the text width of a frame from its inner
width you have to subtract from the latter the widths of one vertical
scroll bar and one left and right fringe as defined for that frame.

martin




This bug report was last modified 7 years and 219 days ago.

Previous Next


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