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 #17 received at 28442 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: 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: Wed, 22 Nov 2017 20:31:27 +0000
On Wed, Nov 22, 2017 at 09:15:19AM -0800, Aaron Jensen wrote:
> On November 22, 2017 at 9:07:14 AM, Alan Third
> (alan <at> idiocy.org(mailto:alan <at> idiocy.org)) wrote:
> 
> >
> > Hi Aaron, I think you want to use frame-text-width and frame-text-height
> > rather than frame-geometry-*.
> >
> > frame-geometry-width returns the outer width of the frame, but the
> > functions for *setting* the width and height use the inner frame size,
> > which I think equates to the text area size.
> 
> Ah, that works, thank you.
> 
> That helps for my package, but is there a bug in desktop-save-mode still?

I imagine there must be (it’ll actually be in frameset.el).
Alternatively there’s a bug in the size getting or setting functions
in the NS port.

As far as I can tell they all work as expected, but if that was the
case then presumably other people would be complaining about this
problem on other platforms.

So, I think there’s a bug, but I don’t know where.

-- 
Alan Third




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.