[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'struct window' cleanup #2

From: Dmitry Antipov
Subject: Re: 'struct window' cleanup #2
Date: Mon, 25 Jun 2012 20:49:45 +0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1

On 06/25/2012 08:35 PM, martin rudalics wrote:
 > hscroll and min_hscroll are good candidates as well.

How about window_end_pos, window_end_vpos and window_end_valid?

xdisp.c assigns w->buffer to w->window_end_valid, so it may be tricky.
I suppose window_end_valid may be a bitfield; so, NILP (W->window_end_valid)
becomes !W->window_end_valid, EQ (w->window_end_valid, w->buffer)
becomes W->window_end_valid, etc.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]