From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Len Trigg Newsgroups: gmane.emacs.devel Subject: Re: emacsclient bug Date: Fri, 18 Jan 2008 06:56:19 +1300 Organization: NetValue Ltd. Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1200592610 11740 80.91.229.12 (17 Jan 2008 17:56:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Jan 2008 17:56:50 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 17 18:57:05 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 1JFYz9-0001gf-BN for ged-emacs-devel@m.gmane.org; Thu, 17 Jan 2008 18:57:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JFYyk-0000HQ-F9 for ged-emacs-devel@m.gmane.org; Thu, 17 Jan 2008 12:56:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JFYyf-0000Dq-J9 for emacs-devel@gnu.org; Thu, 17 Jan 2008 12:56:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JFYyd-0000AW-Vg for emacs-devel@gnu.org; Thu, 17 Jan 2008 12:56:33 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JFYyd-0000A4-Pz for emacs-devel@gnu.org; Thu, 17 Jan 2008 12:56:31 -0500 Original-Received: from arkos.interspeed.co.nz ([210.55.105.79] helo=arkos-out.interspeed.co.nz) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JFYyd-0007fM-02 for emacs-devel@gnu.org; Thu, 17 Jan 2008 12:56:31 -0500 Original-Received: from arkos.interspeed.co.nz (unknown [10.0.0.1]) by arkos-out.interspeed.co.nz (Postfix) with ESMTP id 7791839A79E; Fri, 18 Jan 2008 06:56:24 +1300 (NZDT) Original-Received: from localhost (localhost [127.0.0.1]) by arkos.interspeed.co.nz (Postfix) with ESMTP id 5FB5F33273E; Fri, 18 Jan 2008 06:56:24 +1300 (NZDT) X-DSPAM-Processed: Fri Jan 18 06:56:20 2008 X-DSPAM-Improbability: 1 in 11368 chance of being spam X-DSPAM-Factors: 27, X-Virus-Scanned: Virus/Spam filter at interspeed.co.nz X-Spam-Score: -4.964 Original-Received: from arkos.interspeed.co.nz ([127.0.0.1]) by localhost (mail.interspeed.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XN2vAeUsNFLp; Fri, 18 Jan 2008 06:56:20 +1300 (NZDT) Original-Received: from netvalue.net.nz (203-190-208-12.innovationwaikato.co.nz [203.190.208.12]) by arkos.interspeed.co.nz (Postfix) with ESMTP id BEB3D332742; Fri, 18 Jan 2008 06:56:19 +1300 (NZDT) Original-Received: from localhost (localhost [127.0.0.1]) by netvalue.net.nz (Postfix) with ESMTP id 40EC0F6667; Fri, 18 Jan 2008 06:56:19 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at netvalue.net.nz Original-Received: from netvalue.net.nz ([127.0.0.1]) by localhost (netvalue.net.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pv3diSNd5UHJ; Fri, 18 Jan 2008 06:56:19 +1300 (NZDT) Original-Received: from nepenthes.nz.reeltwo.com (noir.nz.reeltwo.com [10.0.201.18]) by netvalue.net.nz (Postfix) with ESMTP id 21997F5F9B; Fri, 18 Jan 2008 06:56:19 +1300 (NZDT) In-Reply-To: User-Agent: Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/23.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) X-Payment: hashcash 1.2 1:10:080117:monnier@iro.umontreal.ca::8nt5NWaaYJEOYNOu:000000000000000000000000000000000000000Q8 X-Hashcash: 1:10:080117:monnier@iro.umontreal.ca::8nt5NWaaYJEOYNOu:000000000000000000000000000000000000000Q8 X-Payment: hashcash 1.2 1:10:080117:emacs-devel@gnu.org::89UfUFweckGEzFcI:00000000000000000000000000000000000000000000IR X-Hashcash: 1:10:080117:emacs-devel@gnu.org::89UfUFweckGEzFcI:00000000000000000000000000000000000000000000IR X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:87029 Archived-At: Stefan Monnier wrote: > > > I use emacs pretty much exclusively in multi-tty mode, seldom creating > > actual X frames. I recently switched from the pre-emacs-22 multi-tty > > branch to the new emacs-23 snapshot (from a few days ago) and have > > noticed some changes. > > > 1) Start a new emacs in a tty > > > 2) (server-start) > > > 3) In another shell, do: > > $ emacsclient > > > 4) BUG: emacs opens a new frame. It should instead load into my > > existing emacs tty. The old multi-tty emacsclient did this correctly > > This is not a bug: the behavior was chosen to better match the previous > non-multi-tty behavior. You need to add the "-t" argument to tell > emacsclient to open a new frame in the local tty. I should add that I think the bug is only after freshly invoking server-start -- if you create a tty emacsclient (with emacsclient -t) in another tty, then step 3 will result in somefilename being opened in an existing tty frame (as desired). Cheers, Len.