all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Weird problem with inital frame sizing
@ 2018-09-12 14:37 Perry E. Metzger
  2018-09-12 14:50 ` Noam Postavsky
  2018-09-13 11:49 ` Stefan Monnier
  0 siblings, 2 replies; 20+ messages in thread
From: Perry E. Metzger @ 2018-09-12 14:37 UTC (permalink / raw)
  To: emacs-devel

For some time, I've noticed that in circumstances I can't quite pin
down, the size settings for the initial frame that I put in my .emacs
aren't always followed.

Often, for example, the frame will end up created but (apparently, I'm
just guessing!) in the size it would have been if the new (larger)
font I've set hadn't been employed, so the frame is too narrow and
short.

Subsequent frames created are _always_ correctly sized.

Thinking that this might be some sort of weird race condition during
initialization, I put a "(sleep-for 1)" into my .emacs just before the
code that sets everything, i.e., before all my "set-face-attribute"
and "default-frame-alist" manipulation. When I do this, the frame pops
up in its initial size and configuration, and then after the sleep
ends, the size of the default frame adjusts and is consistently
correct.

Can anyone guess what might be going wrong, and how we might fix
this correctly?

(I'm running the master branch, as of a few days ago, under X11. One
factor may be that I'm remote displaying over a slow link using Xpra,
but I can't be sure if this is at all relevant or not.)

Perry
-- 
Perry E. Metzger		perry@piermont.com



^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2018-09-17 13:49 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-12 14:37 Weird problem with inital frame sizing Perry E. Metzger
2018-09-12 14:50 ` Noam Postavsky
2018-09-12 15:35   ` Perry E. Metzger
2018-09-12 15:47     ` Robert Pluim
2018-09-12 17:01       ` Perry E. Metzger
2018-09-13 11:49 ` Stefan Monnier
2018-09-13 19:08   ` Perry E. Metzger
2018-09-13 19:15     ` Perry E. Metzger
2018-09-13 19:17       ` Perry E. Metzger
2018-09-13 19:23       ` Perry E. Metzger
2018-09-13 19:31         ` Perry E. Metzger
2018-09-13 20:20           ` Stefan Monnier
2018-09-13 21:34             ` Perry E. Metzger
2018-09-14  1:14               ` Stefan Monnier
2018-09-15 23:23                 ` Perry E. Metzger
2018-09-16 21:58                   ` Stefan Monnier
2018-09-17 13:31                     ` Perry E. Metzger
2018-09-17 13:49                       ` Noam Postavsky
2018-09-13 19:15     ` Eli Zaretskii
2018-09-13 19:25       ` Perry E. Metzger

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.