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: Mon, 06 May 2013 10:04:56 +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> <5073D6B8-95E4-4012-AA74-106F428379DC@swipnet.se> <8BD4B041-5A3F-4D7C-AFD3-E997E194AA9D@swipnet.se> <02B98FCD-71DB-47EC-B58B-41A2539FF61A@swipnet.se> 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 1367802312 16520 80.91.229.3 (6 May 2013 01:05:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 6 May 2013 01:05:12 +0000 (UTC) Cc: Jan =?ISO-8859-1?Q?Dj=E4rv?= , Stefan Monnier To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 06 03:05:11 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 1UZ9ra-0007hZ-4b for ged-emacs-devel@m.gmane.org; Mon, 06 May 2013 03:05:10 +0200 Original-Received: from localhost ([::1]:45619 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZ9rZ-0004XW-MZ for ged-emacs-devel@m.gmane.org; Sun, 05 May 2013 21:05:09 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38842) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZ9rV-0004Ve-2B for emacs-devel@gnu.org; Sun, 05 May 2013 21:05:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UZ9rS-0003ft-NR for emacs-devel@gnu.org; Sun, 05 May 2013 21:05:04 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:55970) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZ9rS-0003as-6J for emacs-devel@gnu.org; Sun, 05 May 2013 21:05:02 -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 813A2C055D; Mon, 6 May 2013 10:04:56 +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:159351 Archived-At: Jan and I are currently improving the patch for multi-monitor support on X11 off the list. Stefan, which should we use for the name of the primitive, x-display-monitor-attributes-list or display-monitor-attributes-list ? I thought your previous post below meant that the platform-specific implementations (primitives) should be prefixed as x-*, w32-*, or ns-*, and the main Lisp function without a prefix should dispatch to them. But what actually happened to display-usable-bounds was to name an NS-specific implementation without a prefix. So I'm confused. Actually, better *not* use an "x-" prefix for the main name. I.e. name it "display-usable-bounds". It's implementation may just check the display used by the selected frame and dispatch to x-display-usable-bounds, w32-display-usable-bounds, mac-display-usable-bounds, ... (http://lists.gnu.org/archive/html/emacs-devel/2007-12/msg00166.html) YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp