On Sun, Dec 01 2024, Al Eisner wrote:
I have had a consistent problem in starting up emacs on a Rocky 9 Linux
platform. (I have no control over the machine, but it appears to be
using emacs-27.2.) If I specify window size (with either -g or --geometry)
on the command line, I first see a window of appropriate size (which
changes when I change the values), but then as initialization completes
it collapses to a window with only 3 or 4 lines; there is also a small
change in width. This happens whether or not I have a .emacs file. (I
have no other initializtion file.) I have longed used emacs on both
Redhat=6 Linix and Linux OS-7, with no such problem, but I think the
emacs version there was 25. In case it matters, I use XMing as my X
server, but that is unchanged from my usage on the other platforms.
Does this behavior ring a bell with anyone? I must be missing something.
Thanks.
There was a problem similar to this with Emacs 28, I think, maybe also with
29. I actually ran into it myself, and I remember finding the solution, but
I don't remember the details... If I'm not mistaken, it was something about
the toolkit being used in combination with the windowing system. Could be a
Wayland version of Emacs on X, or the other way around, I don't remember...
FWIW, I'm running Emacs 29 compiled with PGTK on Gnome+Wayland, and the
issue does not occur anymore.
There is some discussion at
https://emacs.stackexchange.com/questions/77667/emacs-starts-in-extremely-tiny-window
and https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67654, including some
suggestions for work-arounds.
--
Joost Kremers
Life has its moments