[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Weird problem with inital frame sizing
From: |
Perry E. Metzger |
Subject: |
Re: Weird problem with inital frame sizing |
Date: |
Wed, 12 Sep 2018 11:35:38 -0400 |
On Wed, 12 Sep 2018 10:50:05 -0400 Noam Postavsky
<address@hidden> wrote:
> On 12 September 2018 at 10:37, Perry E. Metzger
> <address@hidden> wrote:
>
> > 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?
>
> Does changing x-wait-for-event-timeout help (or hurt)?
>
> Possibly doing your manipulation in after-make-frame-functions would
> be the correct fix.
It would seem to me that requiring users to change their default font
in that way rather than just in their .emacs file is a bit
heavyweight. It's certainly not documented, and hasn't always been
needed in the past...
Perry
--
Perry E. Metzger address@hidden
- Weird problem with inital frame sizing, Perry E. Metzger, 2018/09/12
- Re: Weird problem with inital frame sizing, Stefan Monnier, 2018/09/13
- Re: Weird problem with inital frame sizing, Perry E. Metzger, 2018/09/13
- Re: Weird problem with inital frame sizing, Perry E. Metzger, 2018/09/13
- Re: Weird problem with inital frame sizing, Perry E. Metzger, 2018/09/13
- Re: Weird problem with inital frame sizing, Perry E. Metzger, 2018/09/13
- Re: Weird problem with inital frame sizing, Perry E. Metzger, 2018/09/13
- Re: Weird problem with inital frame sizing, Stefan Monnier, 2018/09/13
- Re: Weird problem with inital frame sizing, Perry E. Metzger, 2018/09/13