[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ruler-mode is broken
From: |
Lute Kamstra |
Subject: |
Re: ruler-mode is broken |
Date: |
Fri, 10 Oct 2003 14:02:12 +0200 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) |
David PONCE <address@hidden> writes:
> Sorry, here is the good patch:
This one works better with the scrollbar width. ;-)
Although not quite. On my Emacs:
(window-scroll-bars) => (16 2 t nil)
I understand this means that my scrollbar is 16 pixels wide as well as
2 columns. My character width is 11 pixels, which makes 2 columns 22
pixels. This seems to contradict. What I observe is that my
scrollbar is indeed 16 pixels wide, but that Emacs insist on rounding
this up to a multiple of the character width by putting some
"whitespace" around the scrollbar so that it occupies 22 pixels. So
it seems best that the ruler-mode-*-scroll-bar-cols function use
columns times the character width (2 * 11), not the width of the
scrollbar in pixels (16).
Lute.
- Re: ruler-mode is broken, (continued)
- Re: ruler-mode is broken, Lute Kamstra, 2003/10/14
- Re: ruler-mode is broken, Kim F. Storm, 2003/10/14
- Re: ruler-mode is broken, Lute Kamstra, 2003/10/16
- Re: ruler-mode is broken, Richard Stallman, 2003/10/16
- Re: ruler-mode is broken, Kim F. Storm, 2003/10/17
Re: ruler-mode is broken, David PONCE, 2003/10/10
Re: ruler-mode is broken, David PONCE, 2003/10/10
- Re: ruler-mode is broken,
Lute Kamstra <=