emacs-devel
[Top][All Lists]
Advanced

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

Re: Code cleanup -- inconsistent "width" and "height" etc.


From: Kenichi Handa
Subject: Re: Code cleanup -- inconsistent "width" and "height" etc.
Date: Sat, 12 Apr 2003 11:19:34 +0900 (JST)
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.2.92 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI)

In article <address@hidden>, Richard Stallman <address@hidden> writes:
>     By the way, I've just found this inconsistency.
>     frame-width -> not including scroll bars and fringes
>     frame-pixel-width -> including them

> If you look at this very strictly, this may seem inconsistent, but I
> think it is logical.  The scroll bars and fringes are not columns, so
> a width measured in columns naturally won't include them.

It is ok that frame-width doesn't including them.  But, if
width is measured in pixels, which is natural; including
them or not?  If we are going to have pixel based APIs,
perhaps, most often used API will be window-pixel-width that
doesn't include scroll bars and fringes.

---
Ken'ichi HANDA
address@hidden




reply via email to

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