From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: mail@justinbogner.com Newsgroups: gmane.emacs.devel Subject: Re: emacsclient's option decoding code Date: Wed, 12 Nov 2008 21:29:46 -0700 Message-ID: <87y6zob64l.fsf@justinbogner.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1226550613 29502 80.91.229.12 (13 Nov 2008 04:30:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Nov 2008 04:30:13 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 13 05:31:16 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 1L0TrP-00004t-6Q for ged-emacs-devel@m.gmane.org; Thu, 13 Nov 2008 05:31:15 +0100 Original-Received: from localhost ([127.0.0.1]:49152 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L0TqH-0007hT-1o for ged-emacs-devel@m.gmane.org; Wed, 12 Nov 2008 23:30:05 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L0TqB-0007en-H4 for emacs-devel@gnu.org; Wed, 12 Nov 2008 23:29:59 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L0Tq8-0007eE-FN for emacs-devel@gnu.org; Wed, 12 Nov 2008 23:29:58 -0500 Original-Received: from [199.232.76.173] (port=49478 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L0Tq8-0007eB-7W for emacs-devel@gnu.org; Wed, 12 Nov 2008 23:29:56 -0500 Original-Received: from main.gmane.org ([80.91.229.2]:58891 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L0Tq8-00059k-9a for emacs-devel@gnu.org; Wed, 12 Nov 2008 23:29:56 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1L0Tq5-0004bm-UC for emacs-devel@gnu.org; Thu, 13 Nov 2008 04:29:54 +0000 Original-Received: from s010600131023ed49.ed.shawcable.net ([68.149.184.55]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Nov 2008 04:29:53 +0000 Original-Received: from mail by s010600131023ed49.ed.shawcable.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Nov 2008 04:29:53 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: s010600131023ed49.ed.shawcable.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:Ods0zNVC7Wp9zYKms3+NX347FTA= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:105626 Archived-At: Eli Zaretskii writes: >> From: Stefan Monnier >> >> :0.0 may be miles away from the user's eyes, so if $DISPLAY fails, >> better signal an error and let the user manually switch to :0.0 if >> that's what he wants to do. > > If :0.0 is miles away, there's no difference between an error and > display miles away: in both cases, the user needs to fix something and > reinvoke. What I suggest is better because if :0.0 is NOT miles away, > it does TRT, while erroring does not. > if :0.0 is miles away, the user almost certainly *doesn't* want to pop up random windows on it. On the other hand, if it's right next to him, he can quite easily set DISPLAY and try again. If the environment of emacsclient doesn't include a DISPLAY, then emacsclient should not arbitrarily use another DISPLAY. -- The steady state of disks is full. -- Ken Thompson