From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Multi-tty design (Re: Reordering etc/NEWS) Date: Sun, 13 May 2007 19:18:35 +0200 Message-ID: <85d5144p78.fsf@lola.goethe.zz> References: <853b25lk43.fsf@lola.goethe.zz> <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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1179076723 30311 80.91.229.12 (13 May 2007 17:18:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 13 May 2007 17:18:43 +0000 (UTC) Cc: =?utf-8?Q?K=C3=A1roly_L=C5=91rentey?= , joakim@verona.se, emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 13 19:18: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 1HnHiR-0005Bm-UL for ged-emacs-devel@m.gmane.org; Sun, 13 May 2007 19:18:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HnHq6-0001Ye-Tc for ged-emacs-devel@m.gmane.org; Sun, 13 May 2007 13:26:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HnHq3-0001YO-L5 for emacs-devel@gnu.org; Sun, 13 May 2007 13:26:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HnHq1-0001V0-1V for emacs-devel@gnu.org; Sun, 13 May 2007 13:26:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HnHq0-0001Un-Uy for emacs-devel@gnu.org; Sun, 13 May 2007 13:26:28 -0400 Original-Received: from mail-in-03.arcor-online.net ([151.189.21.43]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HnHiK-0007Vk-Oe for emacs-devel@gnu.org; Sun, 13 May 2007 13:18:33 -0400 Original-Received: from mail-in-13-z2.arcor-online.net (mail-in-13-z2.arcor-online.net [151.189.8.30]) by mail-in-03.arcor-online.net (Postfix) with ESMTP id 661292CBF6D; Sun, 13 May 2007 19:18:31 +0200 (CEST) Original-Received: from mail-in-13.arcor-online.net (mail-in-13.arcor-online.net [151.189.21.53]) by mail-in-13-z2.arcor-online.net (Postfix) with ESMTP id 28A521B8E06; Sun, 13 May 2007 19:18:31 +0200 (CEST) Original-Received: from lola.goethe.zz (dslb-084-061-026-019.pools.arcor-ip.net [84.61.26.19]) by mail-in-13.arcor-online.net (Postfix) with ESMTP id 0287723D1E2; Sun, 13 May 2007 19:18:30 +0200 (CEST) Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 3A8691C0C945; Sun, 13 May 2007 19:18:35 +0200 (CEST) In-Reply-To: (Andreas Schwab's message of "Sun\, 13 May 2007 19\:04\:00 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.51 (gnu/linux) X-detected-kernel: 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:70973 Archived-At: --=-=-= 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. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum --=-=-= Content-Type: text/x-patch Content-Disposition: attachment *** env.el 13 May 2007 17:23:38 +0200 1.38.4.1 --- env.el 13 May 2007 19:08:47 +0200 *************** *** 212,218 **** (let ((value (getenv-internal (if (multibyte-string-p variable) (encode-coding-string variable locale-coding-system) ! variable)))) (if (and enable-multibyte-characters value) (setq value (decode-coding-string value locale-coding-system))) (when (interactive-p) --- 212,219 ---- (let ((value (getenv-internal (if (multibyte-string-p variable) (encode-coding-string variable locale-coding-system) ! variable) ! frame))) (if (and enable-multibyte-characters value) (setq value (decode-coding-string value locale-coding-system))) (when (interactive-p) --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --=-=-=--