From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: x-display-pixel-width/height inconsistency Date: Sun, 28 Apr 2013 10:48:18 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <514A5DE1.10009@gmx.de> <831ub767wf.fsf@gnu.org> <83mwtu4p7c.fsf@gnu.org> <83vc8h313t.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1367113701 31162 80.91.229.3 (28 Apr 2013 01:48:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Apr 2013 01:48:21 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 28 03:48:25 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UWGj3-0003UD-4N for ged-emacs-devel@m.gmane.org; Sun, 28 Apr 2013 03:48:25 +0200 Original-Received: from localhost ([::1]:40688 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UWGj2-00059F-NO for ged-emacs-devel@m.gmane.org; Sat, 27 Apr 2013 21:48:24 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47966) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UWGiz-000594-MP for emacs-devel@gnu.org; Sat, 27 Apr 2013 21:48:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UWGiy-00048X-Nl for emacs-devel@gnu.org; Sat, 27 Apr 2013 21:48:21 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:59963) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UWGiy-00048R-6W for emacs-devel@gnu.org; Sat, 27 Apr 2013 21:48:20 -0400 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 95110C055D for ; Sun, 28 Apr 2013 10:48:18 +0900 (JST) In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 133.82.132.2 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:159190 Archived-At: >>>>> On Sat, 27 Apr 2013 14:13:46 +0900, YAMAMOTO Mitsuharu said: > What would the preferred format for rectangles be? The patch uses > the format that geometry-related functions (such as > x-parse-geometry) are using, but it might look a bit awkward for > this purpose because of quoting "+" for possibly negative > coordinates for positions. I adopted the geometry format `((left . (+ XOFFSET)) (top . (+ YOFFSET)) (width . WIDTH) (height . HEIGHT))' because I thought a simple format like `(XOFFSET YOFFSET WIDTH HEIGHT)' might make Lisp codes that use this primitive more cryptic (`caddr' or `nth 2' for getting the WIDTH part). On second thought, the `pcase' macro could remedy this. So the simple format might be better. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp