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 bug Date: Sat, 26 Jan 2008 16:58:30 -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 1201384731 10450 80.91.229.12 (26 Jan 2008 21:58:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Jan 2008 21:58:51 +0000 (UTC) Cc: lenbok@gmail.com, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 26 22:59:11 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 1JIt3M-00031e-Us for ged-emacs-devel@m.gmane.org; Sat, 26 Jan 2008 22:59:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIt2w-0005I0-LR for ged-emacs-devel@m.gmane.org; Sat, 26 Jan 2008 16:58:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JIt2s-0005HU-6Y for emacs-devel@gnu.org; Sat, 26 Jan 2008 16:58:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JIt2q-0005HG-OJ for emacs-devel@gnu.org; Sat, 26 Jan 2008 16:58:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIt2q-0005HD-Jg for emacs-devel@gnu.org; Sat, 26 Jan 2008 16:58:36 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JIt2m-0006LB-Qy; Sat, 26 Jan 2008 16:58:33 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAEk7m0fO+J95dGdsb2JhbACQKAEwmzt+ X-IronPort-AV: E=Sophos;i="4.25,255,1199682000"; d="scan'208";a="13252940" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 26 Jan 2008 16:58:31 -0500 Original-Received: from pastel.home ([206.248.159.121]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id GWG67131; Sat, 26 Jan 2008 16:58:31 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id E537C858A; Sat, 26 Jan 2008 16:58:30 -0500 (EST) In-Reply-To: (Richard Stallman's message of "Tue, 22 Jan 2008 06:30:51 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: 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:87603 Archived-At: > That fact that the Emacs server does not yet have an X11 connection open > is not taken into account to decide what to: if the client does not > explicitly ask for a tty, then the default is to use an X11 frame. > That might not be the right thing to do. It seems to me that the most > convenient behavior for emacsclient is to use (by default) the tty or > display that Emacs is already using. It would do that unless you > specify -display or -nw or -t. > Doesn't that seem right to you? Yes, I've just changed it, so that now it behaves by default as it used to in Emacs-22: connection to $DISPLAY is only attempted if it's explicitly requested by a --display parameter. It makes the default not only closer to previous behavior but also "safer" I believe. Stefan