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: Wed, 12 Nov 2008 21:37:51 +0200 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1226518688 5842 80.91.229.12 (12 Nov 2008 19:38:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Nov 2008 19:38:08 +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 Wed Nov 12 20:39:10 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 1L0LYS-0000uO-Ja for ged-emacs-devel@m.gmane.org; Wed, 12 Nov 2008 20:39:08 +0100 Original-Received: from localhost ([127.0.0.1]:43945 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L0LXK-0003RZ-OU for ged-emacs-devel@m.gmane.org; Wed, 12 Nov 2008 14:37:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L0LX9-0003Oj-QV for emacs-devel@gnu.org; Wed, 12 Nov 2008 14:37:47 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L0LX8-0003OJ-SJ for emacs-devel@gnu.org; Wed, 12 Nov 2008 14:37:47 -0500 Original-Received: from [199.232.76.173] (port=45285 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L0LX8-0003O4-JQ for emacs-devel@gnu.org; Wed, 12 Nov 2008 14:37:46 -0500 Original-Received: from mtaout3.012.net.il ([84.95.2.7]:58032) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L0LX7-0004ir-Vm for emacs-devel@gnu.org; Wed, 12 Nov 2008 14:37:46 -0500 Original-Received: from conversion-daemon.i_mtaout3.012.net.il by i_mtaout3.012.net.il (HyperSendmail v2004.12) id <0KA800C00JXOKE00@i_mtaout3.012.net.il> for emacs-devel@gnu.org; Wed, 12 Nov 2008 21:39:35 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.205.49]) by i_mtaout3.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KA800BP1JXYZI70@i_mtaout3.012.net.il>; Wed, 12 Nov 2008 21:39:35 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 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:105609 Archived-At: > Date: Wed, 12 Nov 2008 00:36:17 +0100 > From: "Juanma Barranquero" > Cc: cyd@stupidchicken.com, emacs-devel@gnu.org > > On Tue, Nov 11, 2008 at 22:24, Eli Zaretskii wrote: > > > I can't say I see why such an assumption should be made for Posix, > > either. Why not ask the user to specify whether she wants a GUI frame > > or a tty frame? > > That's the whole point of -t. -c plus no DISPLAY is just a corner > case, and defaulting to -t in this case is just a way of trying to be > helpful. IMO, this logic should be on the server side, not the client side. The server knows best how to be helpful, because it knows its capabilities.