Subject: Re: bug#27923: 24.3; -iconic switch screws up geometry

From: martin rudalics <[email-masked]>
Date: Thu, 17 Aug 2017 11:22:18 +0200

> In 24.3.1, starting emacs with the "-iconic" switch causes the main
 > emacs window to be sized to the width of the icon rather than the width
 > specified in the X resource database.  Interestingly, the height is
 > still correct.  Compare the window created by:
 >
 >      $ emacs &
 >
 > with the one from:
 >
 >      $ emacs -iconic &
 >
 > On my system, the output for "xrdb -query | grep -i emacs" is:
 >
 > gnuemacs.geometry:      80x78+1180+0
 > Emacs.Font:     -misc-fixed-bold-r-normal-*-15-*-100-100-*-*-ISO8859-1
 > gnuemacs*cursorColor:   red
 > lemacs*cursorColor:     red
 >
 > (I realize that some of these entries are obsolete...)

Thanks for the report; apologizes for the late response.  Are you sure
that your display is at least 1900 pixels wide?  If so, then when with
emacs -Q you evaluate the form

(setq default-frame-alist
       '((width . 80)
	(height . 78)
	(left . 1180)
	(font . "-misc-fixed-bold-r-normal-*-15-*-100-100-*-*-ISO8859-1")
	(visibility . icon)))

and subsequently do C-x 5 2 and deiconify the new frame, does it have
the desired properties?

Thanks, martin