From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: monnier+gnu/emacs@rum.cs.yale.edu
Subject: Re: scrollbar (once more)
Date: Sun, 6 Apr 2003 17:51:53 -0500 (CDT) [thread overview]
Message-ID: <200304062251.h36Mprh16267@eel.dms.auburn.edu> (raw)
In-Reply-To: <200304062137.h36Lbcu16188@eel.dms.auburn.edu> (message from Luc Teirlinck on Sun, 6 Apr 2003 16:37:38 -0500 (CDT))
Line 11235 of xdisp.c:
end = BUF_Z (buf) - XFASTINT (w->window_end_pos) - BUF_BEGV (buf);
(in function set_vertical_scroll_bar)
Lines 978-981 of window.c:
else
XSETINT (value, BUF_Z (XBUFFER (buf)) - XFASTINT (w->window_end_pos));
return value;
(in function window-end)
Both set_vertical_scroll_bar and (window-end) do the wrong thing,
because they both use the above expression, in which something must be
wrong. My best guess is that redisplay does not get w->window_end_pos
right. I do not know enough about either the Emacs C code or
redisplay to go beyond this. I definitely do not have the time to
start studying that code at present. Is anybody familiar with the new
redisplay mechanism (except for Gerd who wrote it)? (window-end nil t)
gets things right.
Sincerely,
Luc.
next prev parent reply other threads:[~2003-04-06 22:51 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-03 2:35 scrollbar (once more) Luc Teirlinck
2003-04-03 13:15 ` Robert J. Chassell
2003-04-03 22:52 ` Richard Stallman
2003-04-04 4:41 ` Luc Teirlinck
2003-04-04 14:51 ` Stefan Monnier
2003-04-05 8:12 ` Richard Stallman
2003-04-06 21:05 ` Stefan Monnier
2003-04-06 21:37 ` Luc Teirlinck
2003-04-06 22:51 ` Luc Teirlinck [this message]
2003-04-15 2:06 ` Richard Stallman
2003-04-15 2:49 ` Luc Teirlinck
2003-04-04 22:24 ` Richard Stallman
2003-04-04 23:11 ` Luc Teirlinck
2003-04-04 23:37 ` bug in window-end Luc Teirlinck
2003-04-05 4:41 ` Luc Teirlinck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200304062251.h36Mprh16267@eel.dms.auburn.edu \
--to=teirllm@dms.auburn.edu \
--cc=monnier+gnu/emacs@rum.cs.yale.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).