From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Philip Armstrong Newsgroups: gmane.emacs.bugs Subject: bug#5095: 23.1; emacsclient -t leaves terminal in an odd state if daemon not started Date: Sat, 5 Dec 2009 23:08:14 +0000 Message-ID: <20091205230814.GA5723@kantaka.co.uk> References: <87my1xce9u.fsf@stupidchicken.com> Reply-To: Philip Armstrong , 5095@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-Trace: ger.gmane.org 1260055674 26278 80.91.229.12 (5 Dec 2009 23:27:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Dec 2009 23:27:54 +0000 (UTC) Cc: 5095@emacsbugs.donarmstrong.com To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 06 00:27:47 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NH42U-00023z-Jk for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Dec 2009 00:27:46 +0100 Original-Received: from localhost ([127.0.0.1]:37980 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NH42U-00027A-3b for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Dec 2009 18:27:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NH42G-00025Y-CZ for bug-gnu-emacs@gnu.org; Sat, 05 Dec 2009 18:27:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NH42C-00024m-SU for bug-gnu-emacs@gnu.org; Sat, 05 Dec 2009 18:27:32 -0500 Original-Received: from [199.232.76.173] (port=40210 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NH42C-00024i-JL for bug-gnu-emacs@gnu.org; Sat, 05 Dec 2009 18:27:28 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:54914) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NH42C-0002nm-7S for bug-gnu-emacs@gnu.org; Sat, 05 Dec 2009 18:27:28 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB5NRPb0015827; Sat, 5 Dec 2009 15:27:26 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nB5NF5fD014430; Sat, 5 Dec 2009 15:15:05 -0800 Resent-Date: Sat, 5 Dec 2009 15:15:05 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Philip Armstrong Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sat, 05 Dec 2009 23:15:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 5095 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5095-submit@emacsbugs.donarmstrong.com id=B5095.126005449913781 (code B ref 5095); Sat, 05 Dec 2009 23:15:05 +0000 Original-Received: (at 5095) by emacsbugs.donarmstrong.com; 5 Dec 2009 23:08:19 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail.kantaka.co.uk (Debian-exim@www.kantaka.co.uk [217.155.153.11]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB5N8H6o013778 for <5095@emacsbugs.donarmstrong.com>; Sat, 5 Dec 2009 15:08:18 -0800 Original-Received: from phil by mail.kantaka.co.uk with local (Exim 4.69) (envelope-from ) id 1NH3ja-0001V9-Ns; Sat, 05 Dec 2009 23:08:14 +0000 Content-Disposition: inline In-Reply-To: <87my1xce9u.fsf@stupidchicken.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sat, 05 Dec 2009 18:27:32 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:33292 Archived-At: On Sat, Dec 05, 2009 at 04:16:45PM -0500, Chong Yidong wrote: >> If I start emacsclient like, without the emacs deamon already running: >> >> $ emacsclient -t >> or >> $ emacsclient -t >> >> and then press pagedown, emacs inserts the string "6~" into the buffer >> at point. > >If there is no server present, you should get an error message like >this: > > emacsclient: can't find socket; have you started the server? > To start the server in Emacs, type "M-x server-start". > emacsclient: No socket or alternate editor. Please use: > > --socket-name > --server-file (or environment variable EMACS_SERVER_FILE) > --alternate-editor (or environment variable ALTERNATE_EDITOR) > >Please provide a self-contained recipe for reproducing this bug. I've set ALTERNATE_EDITOR to "", so emacsclient starts the server automatically if it's not already running & then connects to it once started. Phil -- http://www.kantaka.co.uk/ .oOo. public key: http://www.kantaka.co.uk/gpg.txt