emacs-devel
[Top][All Lists]
Advanced

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

Re: problem of released-button style mode-line


From: Kenichi Handa
Subject: Re: problem of released-button style mode-line
Date: Tue, 24 Oct 2000 20:59:37 +0900 (JST)

Miles Bader <address@hidden> writes:
> Kenichi Handa <address@hidden> writes:
>>  Thank you.  But, I think we need this change because we may
>>  not be in a buffer of WINDOW.

> Right [could you check in that change?].

Ok, done.

>>  The only problem is (sit-for 0).  We need it to make
>>  pos-visible-in-window-p return a currect answer, but it leads to some
>>  flickering.

> Right; I played around with it a bit, but I didn't really want to use
> sit-for 0.

> I think correct thing to do is change the case in
> Fpos_visible_in_window_p where the window vars are not up-to-date, where
> it currently does the stuff with move_it_to, to do a full update of the
> window's desired_matrix *if* FULLY is t (instead of using move_it_to; of
> course if FULLy is nil, it would just use the old method).  That should
> make the information accurate without doing a real redisplay.

That's one way.  Another way may be to make a new flag, say
fully_visible_p, for a window, and make redispaly routine
itself to handle it.  This way, the Lisp program gets very
simple, just calling (set-window-fully-visible-p t).

---
Ken'ichi HANDA
address@hidden



reply via email to

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