From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: emacsclient's option decoding code Date: Wed, 12 Nov 2008 10:56:05 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1226505391 18661 80.91.229.12 (12 Nov 2008 15:56:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Nov 2008 15:56:31 +0000 (UTC) Cc: Eli Zaretskii , cyd@stupidchicken.com, emacs-devel@gnu.org To: "Juanma Barranquero" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 12 16:57:31 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L0I5u-0006Im-LS for ged-emacs-devel@m.gmane.org; Wed, 12 Nov 2008 16:57:26 +0100 Original-Received: from localhost ([127.0.0.1]:34968 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L0I4m-0007iN-UL for ged-emacs-devel@m.gmane.org; Wed, 12 Nov 2008 10:56:16 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L0I4i-0007hy-Fg for emacs-devel@gnu.org; Wed, 12 Nov 2008 10:56:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L0I4f-0007hi-VW for emacs-devel@gnu.org; Wed, 12 Nov 2008 10:56:11 -0500 Original-Received: from [199.232.76.173] (port=49007 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L0I4f-0007hf-RJ for emacs-devel@gnu.org; Wed, 12 Nov 2008 10:56:09 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:45245 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L0I4e-0002RL-8J; Wed, 12 Nov 2008 10:56:08 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAO6KGklFxLQU/2dsb2JhbACBds4Og1eBEQ X-IronPort-AV: E=Sophos;i="4.33,590,1220241600"; d="scan'208";a="29772079" Original-Received: from 69-196-180-20.dsl.teksavvy.com (HELO pastel.home) ([69.196.180.20]) by ironport2-out.teksavvy.com with ESMTP; 12 Nov 2008 10:56:06 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 1E87D84CE; Wed, 12 Nov 2008 10:56:05 -0500 (EST) In-Reply-To: (Juanma Barranquero's message of "Wed, 12 Nov 2008 10:33:29 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:105602 Archived-At: >> I don't like using nil for "the w32 window system", indeed. I think the >> "" we currently use is better. > It's not really important, but I don't understand why "" would be > better. You might be right. I tend to think of `display' as something similar to `terminal', but they're not the same. To tell you the truth, I'm not sure what `display' is meant for exactly. E.g., let's imagine a w32 version of Emacs which has been hacked to be able to use X11 as well. And let's additionally say that it can even also use GNUstep, so it can have w32, x11, and ns frames, all displayed on the same screen. Both ns and x11 frames will have a `display' set to the same value (typically ":0.0" or something along these lines), whereas the w32 frames's display will be "" (or nil, or ...). This discrepency doesn't seem good. So maybe we should just make w32 use display=":0.0". > and the generalization of nil meaning "the current display" for all > environments, not just Windows, seems more fitting. The current display should be obtained via (frame-parameter nil 'display). Stefan