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: Thu, 10 Apr 2003 21:10:46 +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>, address@hidden (Kim F. Storm) writes:
> Alternatively, we could use *_COLS in general as a short precise name
> when the width is measured in columns (the canonical X unit).
> Similarly, we could use *_LINES for heights measured in lines (the
> canonical Y unit).

> If we do that consistently, we could simply use *_WIDTH and *_HEIGHT to
> mean pixel width and height.

But, as I wrote, Lisp APIs are already using
...-width/...-height for columns and lines.  Even if we
implement pixel-base APIs in the future, we can't change the
current ones, then we'll use ...-pixel-width...-pixel-height
for the new APIs.  In that case, having a different
convention in C code is not good.

---
Ken'ichi HANDA
address@hidden





reply via email to

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