GNU bug report logs - #33686
25.1; desktop-mode restore, issue with frame size

Previous Next

Package: emacs;

Reported by: Norman Ramsey <nr <at> cs.tufts.edu>

Date: Sun, 9 Dec 2018 16:00:02 UTC

Severity: minor

Tags: unreproducible, wontfix

Found in version 25.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Robert Pluim <rpluim <at> gmail.com>
To: Norman Ramsey <nr <at> cs.tufts.edu>
Cc: 33686 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: bug#33686: 25.1; desktop-mode restore, issue with frame size
Date: Sun, 09 Dec 2018 23:37:47 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Norman Ramsey <nr <at> cs.tufts.edu>
>> Date: Sun, 09 Dec 2018 10:59:04 -0500
>> 
>> 
>> I'm using (desktop-save-mode 1) to save a session which I then reload,
>> but logging in remotely from a different machine with a different
>> resolution display. Something stored in the desktop winds up setting
>> frame width to 150 characters rather than the 87 characters it was saved
>> with.  Height seems unaffected.
>> 
>> In detail:
>> 
>>   - Start emacs on machine `homedog` with one monitor, resolution
>>     3840x2160. 
>>   - Exit emacs, writing .desktop file.
>>   - Remote login to `homedog` from machine `jar`, using `ssh -X` to
>>     forward the X server connection.  Machine `jar` has one monitor,
>>     resolution 1920x1200.  
>>   - Start emacs on homedog, but with DISPLAY environment variable set to
>>     `localhost:10.0`, which is the forwarded X connection.
>> 
>> When the dust settles after initialization, the emacs frame seems to be
>> about the right height, but it is much wider than it should be.
>
> Do you also have any init files?  If so, please empty them and try
> again.  It's important to understand whether the problem is with
> desktop-save-mode alone, or some of your other customizations
> interfere.

I suspect there is scaling going on on 'homedog', which means that you
need to use a version of emacs that has commit
2892f05792e1f52b0966f92c5ed1aa75dcdd66a3, which fixed things so that
frameset-restore (which is used by desktop) correctly calculates frame
sizes.

In short: can you try emacs-26?

Robert




This bug report was last modified 5 years and 330 days ago.

Previous Next


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