[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Trunk emacs infelicity with linum mode
From: |
martin rudalics |
Subject: |
Re: Trunk emacs infelicity with linum mode |
Date: |
Sun, 07 Sep 2014 20:03:27 +0200 |
> Yes, but how does that help us resolve this problem? There's nothing
> wrong in general with calling face-font, so linum-mode doesn't do
> anything blatantly incorrect here. It's just that this function is
> called "too early" in the frame creation process.
At the time `window-configuration-change-hook' is called, the frame is
considered "official" already. Do you really want to wait calling it
until redisplay has passed over the frame at least once?
> How about adding some simple flag that would avoid calling
> window-configuration-change-hook when adjust_frame_size is called from
> x-create-frame?
There is such a flag: f->official. It does exactly that for all
adjust_frame_size calls before the last one that causes trouble. But if
we don't run `window-configuration-change-hook' here, we might not run
it at all when creating a new frame.
martin
- Re: Trunk emacs infelicity with linum mode, (continued)
- Re: Trunk emacs infelicity with linum mode, Eli Zaretskii, 2014/09/06
- Re: Trunk emacs infelicity with linum mode, Manoj Srivastava, 2014/09/06
- Re: Trunk emacs infelicity with linum mode, Stefan Monnier, 2014/09/06
- Re: Trunk emacs infelicity with linum mode, Manoj Srivastava, 2014/09/07
- Re: Trunk emacs infelicity with linum mode, Stefan Monnier, 2014/09/07
- Re: Trunk emacs infelicity with linum mode, Manoj Srivastava, 2014/09/05
- Re: Trunk emacs infelicity with linum mode, Eli Zaretskii, 2014/09/05
- Re: Trunk emacs infelicity with linum mode, martin rudalics, 2014/09/06
- Re: Trunk emacs infelicity with linum mode, martin rudalics, 2014/09/06
- Re: Trunk emacs infelicity with linum mode, Eli Zaretskii, 2014/09/07
- Re: Trunk emacs infelicity with linum mode,
martin rudalics <=
- Re: Trunk emacs infelicity with linum mode, Eli Zaretskii, 2014/09/07
- Re: Trunk emacs infelicity with linum mode, martin rudalics, 2014/09/08
- Re: Trunk emacs infelicity with linum mode, martin rudalics, 2014/09/07
- Re: Trunk emacs infelicity with linum mode, Eli Zaretskii, 2014/09/07
- Re: Trunk emacs infelicity with linum mode, martin rudalics, 2014/09/08
- Re: Trunk emacs infelicity with linum mode, Eli Zaretskii, 2014/09/09
- Re: Trunk emacs infelicity with linum mode, martin rudalics, 2014/09/10
- Re: Trunk emacs infelicity with linum mode, Eli Zaretskii, 2014/09/10
- Re: Trunk emacs infelicity with linum mode, martin rudalics, 2014/09/10
- Re: Trunk emacs infelicity with linum mode, Eli Zaretskii, 2014/09/10