From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: Code cleanup -- inconsistent "width" and "height" etc. Date: Sat, 12 Apr 2003 11:19:34 +0900 (JST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200304120219.LAA19833@etlken.m17n.org> References: <5xhe97dsr3.fsf@kfs2.cua.dk> <5xptnuihqd.fsf@kfs2.cua.dk> <200304101210.VAA17569@etlken.m17n.org> <5xbrzddhfj.fsf@kfs2.cua.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1050114243 11431 80.91.224.249 (12 Apr 2003 02:24:03 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 12 Apr 2003 02:24:03 +0000 (UTC) Cc: storm@cua.dk Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat Apr 12 04:23:56 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 194AdC-0002pm-00 for ; Sat, 12 Apr 2003 04:20:38 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 194Aiv-0003JG-00 for ; Sat, 12 Apr 2003 04:26:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 194AdT-00019b-0A for emacs-devel@quimby.gnus.org; Fri, 11 Apr 2003 22:20:55 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 194Acy-0000v2-00 for emacs-devel@gnu.org; Fri, 11 Apr 2003 22:20:24 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 194AcY-00087v-00 for emacs-devel@gnu.org; Fri, 11 Apr 2003 22:20:01 -0400 Original-Received: from tsukuba.m17n.org ([192.47.44.130]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 194AcE-0006ms-00; Fri, 11 Apr 2003 22:19:38 -0400 Original-Received: from fs.m17n.org (fs.m17n.org [192.47.44.2])h3C2JZo08951; Sat, 12 Apr 2003 11:19:35 +0900 (JST) (envelope-from handa@m17n.org) Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) h3C2JZA17839; Sat, 12 Apr 2003 11:19:35 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id LAA19833; Sat, 12 Apr 2003 11:19:34 +0900 (JST) Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Fri, 11 Apr 2003 19:45:48 -0400) 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) Original-cc: miles@gnu.org Original-cc: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:13181 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13181 In article , Richard Stallman 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 handa@m17n.org