[Top][All Lists]
[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: |
Thu, 26 Oct 2000 14:26:47 +0900 (JST) |
Kenichi Handa <address@hidden> writes:
> Thank you, but it seems that:
> (pos-visible-in-window-p POS nil t)
> returns t even if the upper part of line at POS is
> non-visible.
It seems that this function can be used only for the current
buffer, but the docstring is vague about this restriction.
In the code of pos_visible_p, you calls start_display but
I thought that the arg W (window) should be that of the
current buffer.
> And, I found one more problem.
> (set-window-start WINDOW 1)
> doesn't make the position 1 fully visible if it is already
> partially visible.
Miles Bader <address@hidden> writes:
> That's simply the nature of window-start -- it's where emacs begins
> drawing *any* text in the window, even if it's not fully visible.
> I think you can do `(set-window-vscroll WINDOW 0)' to make the first
> line fully visible.
Thank you for the information. I didn't know about this
function.
---
Ken'ichi HANDA
address@hidden
- Re: problem of released-button style mode-line, (continued)
- Re: problem of released-button style mode-line, Gerd Moellmann, 2000/10/24
- Re: problem of released-button style mode-line, Miles Bader, 2000/10/24
- Re: problem of released-button style mode-line, Gerd Moellmann, 2000/10/25
- Re: problem of released-button style mode-line, Miles Bader, 2000/10/25
- Re: problem of released-button style mode-line, Kenichi Handa, 2000/10/25
- Re: problem of released-button style mode-line, Miles Bader, 2000/10/25
- Re: problem of released-button style mode-line,
Kenichi Handa <=
- Re: problem of released-button style mode-line, Miles Bader, 2000/10/26
- Re: problem of released-button style mode-line, Kenichi Handa, 2000/10/26
- Re: problem of released-button style mode-line, Miles Bader, 2000/10/26
- Re: problem of released-button style mode-line, Gerd Moellmann, 2000/10/26
- Re: problem of released-button style mode-line, Gerd Moellmann, 2000/10/26
- Re: problem of released-button style mode-line, Kenichi Handa, 2000/10/30
- Re: problem of released-button style mode-line, Eli Zaretskii, 2000/10/21
- Re: problem of released-button style mode-line, Miles Bader, 2000/10/21
Re: problem of released-button style mode-line, Gerd Moellmann, 2000/10/24