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: Miles Bader
Subject: Re: problem of released-button style mode-line
Date: Sat, 21 Oct 2000 12:56:41 +0900 (JST)

Kenichi Handa <address@hidden> writes:
> I think we anyway need a C function something like
> window-buffer-fully-visible-p.

Hmm... yeah, there is that problem.

Perhaps your function could be extended to take a point, like
`pos-fully-visible-in-window-p'?  Then lisp functions could just do

  (while (not (pos-fully-visible-in-window-p (point-max)))
    (enlarge-window 1))

[I've always felt that pos-visible-in-window-p should return nil if the
position is partially obscured; unfortunately, that might screw things
up because the normal lisp scrolling functions don't give you any
control over partially visible lines (I've tried playing around with
set-window-vscroll, but it never seems to act consistently).]

-Miles



reply via email to

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