From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Karoly Lorentey Newsgroups: gmane.emacs.devel Subject: Re: Multi-tty design (Re: Reordering etc/NEWS) Date: Mon, 14 May 2007 12:11:42 +0200 Message-ID: <464835DE.3020007@lorentey.hu> References: <85sla5k4py.fsf@lola.goethe.zz> <4642C8C9.5050804@gnu.org> <86tzul15ky.fsf@lola.quinscape.zz> <4642E388.9010503@gnu.org> <86odktypii.fsf@lola.quinscape.zz> <86k5vhyoo8.fsf@lola.quinscape.zz> <4644FBFC.6090903@lorentey.hu> <85ejlmh402.fsf@lola.goethe.zz> <4645AE8D.8080004@lorentey.hu> <85r6pmcgj2.fsf@lola.goethe.zz> <4645F78F.9070406@lorentey.hu> <85y7jtc41t.fsf@lola.goethe.zz> <4646F1C6.4020709@lorentey.hu> <851whkrioc.fsf@lola.goethe.zz> <85hcqg4qxs.fsf@lola.goethe.zz> <85d5144p78.fsf@lola.goethe.zz> <200705131822.l4DIMtXt019128@oogie-boogie.ics.uci.edu> <85abw8o51q.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1179137563 21467 80.91.229.12 (14 May 2007 10:12:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 14 May 2007 10:12:43 +0000 (UTC) Cc: Andreas Schwab , Dan Nicolaescu , joakim@verona.se, emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 14 12:12:41 2007 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 1HnXXk-0006YK-5D for ged-emacs-devel@m.gmane.org; Mon, 14 May 2007 12:12:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HnXfU-0006wv-2j for ged-emacs-devel@m.gmane.org; Mon, 14 May 2007 06:20:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HnXei-0006IO-By for emacs-devel@gnu.org; Mon, 14 May 2007 06:19:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HnXeg-0006Hm-RK for emacs-devel@gnu.org; Mon, 14 May 2007 06:19:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HnXeg-0006Hg-HV for emacs-devel@gnu.org; Mon, 14 May 2007 06:19:50 -0400 Original-Received: from ninsei.hu ([212.92.23.158]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HnXWu-0004wV-LF; Mon, 14 May 2007 06:11:49 -0400 Original-Received: from [192.168.1.12] (catv5403A040.pool.t-online.hu [84.3.160.64]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by chatsubo.ninsei.hu (Postfix) with ESMTP id C30087902; Mon, 14 May 2007 12:11:46 +0200 (CEST) User-Agent: Thunderbird 1.5.0.10 (X11/20070403) Original-Newsgroups: gmane.emacs.devel In-Reply-To: <85abw8o51q.fsf@lola.goethe.zz> X-detected-kernel: Linux 2.6 (newer, 3) 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:71017 Archived-At: David Kastrup wrote: > Either way, even when using emacs -Q, a setenv of PATH to a different > value in the Emacs started from the GNOME taskbar will be visible in a > subsequently initiated emacsclient session, whether on the tty or > under X. This may be a genuine regression, but I can't reproduce it here. What should happen instead is this: $ SNAFU=23 emacs -Q & M-x server-start (getenv "SNAFU") ==> "23" (length (frame-parameter nil 'environment)) ==> 55 $ emacsclient -t (getenv "SNAFU") ==> nil (length (frame-parameter nil 'environment)) ==> 54 (PATH is not handled in any way specially.) If emacsclient's variables don't show up in the frame-local environment, then that explains why emacsclient -t doesn't work when Emacs is started from your GNOME session: TERM is unset. This is such a basic feature that my first instinct is that something might have gone wrong while the CVS branch was created. Please verify that you have started with a _clean_ checkout (no leftover *.elc, *.o) and that the following four key files have the checksums shown below: $ md5sum src/callproc.c lisp/env.el lisp/server.el lib-src/emacsclient.c e6b3fc34d6e684433e96e648a8c00e21 src/callproc.c 53b084e43b550b6548fbfce0948bbcc2 lisp/env.el c4e7d9d27cb90c029fe3de60333e8450 lisp/server.el 6b19c0639ba08cd5f3f47ac8a3afbd3c lib-src/emacsclient.c Also, please create a *server* buffer before starting the server and send me its contents after the emacsclient session. I will check out multi-tty from CVS and do a diff this evening; I didn't have the chance to make the switch to Savannah yet. > I'm not likely get through with checking what in my .emacs might be > interfering with emacsclient sessions starting up on the tty today. Your .emacs doesn't seem to make things worse, so that isn't necessary. -- Karoly