bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#28442: 26.0.50; desktop-save-mode no longer restores correct frame s


From: martin rudalics
Subject: 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]