From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: emacsclient's option decoding code Date: Thu, 13 Nov 2008 06:12:49 +0200 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1226549605 27776 80.91.229.12 (13 Nov 2008 04:13:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Nov 2008 04:13:25 +0000 (UTC) Cc: cyd@stupidchicken.com, emacs-devel@gnu.org To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 13 05:14:26 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 1L0Tb7-0005L4-IL for ged-emacs-devel@m.gmane.org; Thu, 13 Nov 2008 05:14:25 +0100 Original-Received: from localhost ([127.0.0.1]:52637 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L0TZz-0003YQ-GS for ged-emacs-devel@m.gmane.org; Wed, 12 Nov 2008 23:13:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L0TZw-0003YL-0O for emacs-devel@gnu.org; Wed, 12 Nov 2008 23:13:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L0TZu-0003Y9-FB for emacs-devel@gnu.org; Wed, 12 Nov 2008 23:13:10 -0500 Original-Received: from [199.232.76.173] (port=52495 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L0TZu-0003Y6-8l for emacs-devel@gnu.org; Wed, 12 Nov 2008 23:13:10 -0500 Original-Received: from mtaout6.012.net.il ([84.95.2.16]:50541) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L0TZt-00035r-GW for emacs-devel@gnu.org; Wed, 12 Nov 2008 23:13:10 -0500 Original-Received: from conversion-daemon.i-mtaout6.012.net.il by i-mtaout6.012.net.il (HyperSendmail v2007.08) id <0KA900F007NOX900@i-mtaout6.012.net.il> for emacs-devel@gnu.org; Thu, 13 Nov 2008 06:14:33 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.205.49]) by i-mtaout6.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KA9009TY7S895A0@i-mtaout6.012.net.il>; Thu, 13 Nov 2008 06:14:32 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) 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:105624 Archived-At: > Date: Wed, 12 Nov 2008 22:05:11 +0100 > From: "Juanma Barranquero" > Cc: cyd@stupidchicken.com, emacs-devel@gnu.org > > (t > (unless (string-match-p "\\`[^:]*:[0-9]+\\(\\.[0-9]+\\)?\\'" display) > (error "Invalid display, not HOST:SERVER or HOST:SERVER.SCREEN")) > (when (and (boundp 'x-initialized) (not x-initialized)) > (setq x-display-name display) > (x-initialize-window-system)) > (make-frame `((window-system . x) > (display . ,display) . ,parameters))))) > > and it would fail for Windows. At some point or other, you've gonna > add a check for Windows, because, really, ":0.0" has no meaning right > now. I meant for it to be checked inside a w32 specific code of make-frame. > I agree. But the things we've been discussing until now aren't more > uniform IMO; they just move the Windows specific code around or > introduce ad-hoc hacks to force Windows frames to simulate being what > they are not... I suggested a different approach, but it sounds like it's being rejected.