From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs,gmane.emacs.pretest.bugs Subject: Re: 23.0.50; mtty emacsclient confused by dumb terminal & DISPLAY Date: Sat, 26 Jan 2008 19:44:21 -0500 Message-ID: References: <20080126055132.GA3751@Clio.twb.ath.cx> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1201394675 3573 80.91.229.12 (27 Jan 2008 00:44:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Jan 2008 00:44:35 +0000 (UTC) Cc: trentbuck@gmail.com, emacs-pretest-bug@gnu.org, rfrancoise@debian.org To: emacs-pretest-bug@gnu.org, rfrancoise@debian.org, "Trent W. Buck" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 27 01:44:54 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 1JIvdm-00031U-4W for ged-emacs-devel@m.gmane.org; Sun, 27 Jan 2008 01:44:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIvdL-0003PL-KE for ged-emacs-devel@m.gmane.org; Sat, 26 Jan 2008 19:44:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JIvdI-0003PG-8p for emacs-devel@gnu.org; Sat, 26 Jan 2008 19:44:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JIvdG-0003P4-Ql for emacs-devel@gnu.org; Sat, 26 Jan 2008 19:44:23 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIvdG-0003P1-Kh for emacs-devel@gnu.org; Sat, 26 Jan 2008 19:44:22 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JIvdG-0001pM-IJ for emacs-devel@gnu.org; Sat, 26 Jan 2008 19:44:22 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1JIvdF-0008P4-KV; Sat, 26 Jan 2008 19:44:21 -0500 In-reply-to: <20080126055132.GA3751@Clio.twb.ath.cx> (trentbuck@gmail.com) X-detected-kernel: by monty-python.gnu.org: 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:87609 gmane.emacs.pretest.bugs:20775 Archived-At: - Emacs is running in a tty - $DISPLAY is set, and - emacsclient is run in a dumb terminal (M-x shell) emacsclient will create a new X frame, EVEN WITHOUT the -c switch. I do not want this. Within M-x shell, I want emacsclient to open a buffer in the current frame and window, as it does under Emacs 22. I agree with you. The default for emacsclient should always be to use the terminal Emacs is already using. It should not be necessary to use -u to get that behavior; you should get that if you use no options. Would someone please fix that, then ack?