From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: Multi-tty design (Re: Reordering etc/NEWS) Date: Sun, 13 May 2007 11:22:51 -0700 Message-ID: <200705131822.l4DIMtXt019128@oogie-boogie.ics.uci.edu> References: <87sla5iqhs.fsf@red-bean.com> <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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1179080616 16686 80.91.229.12 (13 May 2007 18:23:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 13 May 2007 18:23:36 +0000 (UTC) Cc: Andreas Schwab , =?utf-8?Q?K=C3=A1roly_L=C5=91rentey?= , joakim@verona.se, emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 13 20:23:34 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 1HnIj8-0006Nl-Co for ged-emacs-devel@m.gmane.org; Sun, 13 May 2007 20:23:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HnIqn-0003Ou-Qm for ged-emacs-devel@m.gmane.org; Sun, 13 May 2007 14:31:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HnIql-0003Op-0P for emacs-devel@gnu.org; Sun, 13 May 2007 14:31:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HnIqh-0003Od-Ey for emacs-devel@gnu.org; Sun, 13 May 2007 14:31:17 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HnIqh-0003Oa-9s for emacs-devel@gnu.org; Sun, 13 May 2007 14:31:15 -0400 Original-Received: from oogie-boogie.ics.uci.edu ([128.195.1.41]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HnIj0-0001GI-4v; Sun, 13 May 2007 14:23:18 -0400 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by oogie-boogie.ics.uci.edu (8.13.6/8.13.6) with ESMTP id l4DIMtXt019128; Sun, 13 May 2007 11:22:55 -0700 (PDT) In-Reply-To: <85d5144p78.fsf@lola.goethe.zz> (David Kastrup's message of "Sun\, 13 May 2007 19\:18\:35 +0200") Original-Lines: 41 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: Solaris 9 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:70979 Archived-At: David Kastrup writes: > Andreas Schwab writes: > > > David Kastrup writes: > > > >> David Kastrup writes: > >> > >>> Let's get the branch into Savannah and I'll be able to work on my > >>> confusion more thoroughly. > >> > >> emacsclient -t does not work for me at all. Emacs gets started from > >> the Gnome panel for me (so it likely has some weird or none-functional > >> controlling tty), and I try emacsclient -t in either an xterm or a > >> screen session inside of the xterm. > >> > >> emacsclient -t /etc/fstab > >> just does nothing at all and quits. In the screen session, the result > >> sometimes (but not always) is > >> *ERROR*: Cannot open termcap database file > >> before it quits. > > > > I cannot reproduce that here. I tried running Emacs from KDE, and > > emacsclient works as expected. > > I have compiled with --with-gtk. What toolkit are you using? > emacsclient --version indicates that I am using the right emacsclient. > > Anyway, if I do a (setenv "PATH" something) in my main Emacs frame, > and then do an emacsclient in order to open another frame, then > (getenv "PATH") on the new frame returns the stuff from the main > frame. So the frame-specific PATH stuff does not seem to work. Part > of it may be the obvious blunder addressed by the appended patch. But > I think the search orders of frame local variables and > process-environment are messed up. Maybe process-environment should > instead be a terminal-local variable. Maybe it is already. No idea. Can you please send a proper bug report starting from emacs -Q that shows what exactly are you doing? Please include what system are you using, what toolkit are you using, etc etc.