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

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

bug#33686: 25.1; desktop-mode restore, issue with frame size


From: Robert Pluim
Subject: bug#33686: 25.1; desktop-mode restore, issue with frame size
Date: Sun, 09 Dec 2018 23:37:47 +0100

Eli Zaretskii <address@hidden> writes:

>> From: Norman Ramsey <address@hidden>
>> 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





reply via email to

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