[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 'struct window' cleanup #2
From: |
Eli Zaretskii |
Subject: |
Re: 'struct window' cleanup #2 |
Date: |
Tue, 26 Jun 2012 18:37:42 +0300 |
> Date: Tue, 26 Jun 2012 13:06:52 +0400
> From: Dmitry Antipov <address@hidden>
> Cc: Stefan Monnier <address@hidden>,
> Emacs development discussions <address@hidden>
>
> On 06/26/2012 11:26 AM, martin rudalics wrote:
>
> > Indeed. Looks like a hack to detect whether the window still shows the
> > same buffer. Anyway, window_end_pos and window_end_vpos are the more
> > promising candidates (if Eli agrees). Can you see whether the part
> >
> > /* When splitting windows or for new windows, it happens that
> > redisplay is called with a nil window_end_vpos or one being
> > larger than the window. This should really be fixed in
> > window.c. I don't have this on my list, now, so we do
> > approximately the same as the old redisplay code. --gerd. */
> > && INTEGERP (w->window_end_vpos)
> >
> > in xdisp.c still makes sense? IIUC window_end_vpos is always an
> > integer.
>
> Hmmm... I'll try, although xdisp.c looks like a nightmare
> and I haven't yet tried to understand how it works :-).
I'm hacking xdisp.c intensively for 3 years, and I still get surprised
from time to time.
- 'struct window' cleanup #2, Dmitry Antipov, 2012/06/25
- Re: 'struct window' cleanup #2, John Wiegley, 2012/06/25
- Re: 'struct window' cleanup #2, Paul Eggert, 2012/06/25
- Re: 'struct window' cleanup #2, Stefan Monnier, 2012/06/25
- Re: 'struct window' cleanup #2, Dmitry Antipov, 2012/06/25
- Re: 'struct window' cleanup #2, martin rudalics, 2012/06/25
- Re: 'struct window' cleanup #2, Dmitry Antipov, 2012/06/25
- Re: 'struct window' cleanup #2, martin rudalics, 2012/06/26
- Re: 'struct window' cleanup #2, Dmitry Antipov, 2012/06/26
- Re: 'struct window' cleanup #2,
Eli Zaretskii <=
- Re: 'struct window' cleanup #2, Eli Zaretskii, 2012/06/26
- Re: 'struct window' cleanup #2, Dmitry Antipov, 2012/06/26
- Re: 'struct window' cleanup #2, Eli Zaretskii, 2012/06/26
- Re: 'struct window' cleanup #2, Stefan Monnier, 2012/06/26
- Re: 'struct window' cleanup #2, Eli Zaretskii, 2012/06/26
- 'struct window' cleanup #3, Dmitry Antipov, 2012/06/27
- Re: 'struct window' cleanup #3, Stefan Monnier, 2012/06/27
- Re: 'struct window' cleanup #3, Eli Zaretskii, 2012/06/27
- Re: 'struct window' cleanup #3, Eli Zaretskii, 2012/06/27
- Re: 'struct window' cleanup #3, Dmitry Antipov, 2012/06/27