From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "T. V. Raman" Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.50; Unable to launch emacsclient from shell buffers: Date: Mon, 17 Sep 2007 06:34:38 -0700 Message-ID: <18158.33390.567042.792424@gargle.gargle.HOWL> References: <20070914052814.8224512A4546@localhost> <200709141637.l8EGbpr1015759@oogie-boogie.ics.uci.edu> <18156.11481.711225.807608@gargle.gargle.HOWL> <200709170413.l8H4D08E022613@oogie-boogie.ics.uci.edu> Reply-To: raman@users.sf.net NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1190036125 13759 80.91.229.12 (17 Sep 2007 13:35:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 Sep 2007 13:35:25 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, raman@users.sourceforge.net To: dann@ics.uci.edu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 17 15:35:19 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 1IXGkq-0003x2-UM for ged-emacs-devel@m.gmane.org; Mon, 17 Sep 2007 15:35:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXGkp-0004XS-Oy for ged-emacs-devel@m.gmane.org; Mon, 17 Sep 2007 09:35:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IXGkQ-0004NX-EG for emacs-devel@gnu.org; Mon, 17 Sep 2007 09:34:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IXGkP-0004Mr-06 for emacs-devel@gnu.org; Mon, 17 Sep 2007 09:34:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXGkO-0004Mm-LC for emacs-devel@gnu.org; Mon, 17 Sep 2007 09:34:44 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IXGkO-00044r-BW for emacs-devel@gnu.org; Mon, 17 Sep 2007 09:34:44 -0400 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IXGjs-0005MA-Lk for emacs-pretest-bug@gnu.org; Mon, 17 Sep 2007 09:34:12 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1IXGkK-00044B-Mq for emacs-pretest-bug@gnu.org; Mon, 17 Sep 2007 09:34:43 -0400 Original-Received: from sccrmhc12.comcast.net ([63.240.77.82]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IXGkK-00043p-Dt for emacs-pretest-bug@gnu.org; Mon, 17 Sep 2007 09:34:40 -0400 Original-Received: from localhost (c-71-202-191-236.hsd1.ca.comcast.net[71.202.191.236]) by comcast.net (sccrmhc12) with ESMTP id <200709171334380120043018e>; Mon, 17 Sep 2007 13:34:39 +0000 Original-Received: by localhost (Postfix, from userid 1000) id 9643B12A4546; Mon, 17 Sep 2007 06:34:38 -0700 (PDT) In-Reply-To: <200709170413.l8H4D08E022613@oogie-boogie.ics.uci.edu> X-Mailer: VM alpha-478 under Emacs 23.0.50.17 (i686-pc-linux-gnu) x-attribution: tvr X-Detected-Kernel: NetCache Data OnTap 5.x X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) 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:79101 gmane.emacs.pretest.bugs:19904 Archived-At: Yes, You understand the situation correctly: 0) I'm running Emacs on a Linux Virtual Console 1) I'm running M-x shell 2) emacsclient when invoked from the shell should open a buffer on the running emacs Why this is needed: Of course you'd never invoke emacsclient by hand like this -- you'd do find-file. However other programs e.g. cvs or svn when committing a file call emacsclient to edit the commit log. At present emacsclient bombs when this happens, the older behavior of emacsclient was to correctly hand off the buffer to be opened by emacs. Note that if you force the issue by doing (export TERM=vt100; emacsclient foo) then emacs itself locks up. Dan> "T. V. Raman" writes: >> This is while running outside X at the linux console. Dan> Dan> I am not sure I understand what you are trying to do. Dan> Dan> Please confirm that this is what you are trying to do: Dan> run emacs on a linux console run M-x shell in emacs run Dan> emacsclient from the shell buffer. Dan> Dan> If this is the situation, what do you expect emacsclient Dan> to do in this case? Dan> >> > >>>>> "Dan" == Dan Nicolaescu writes: > Dan> raman writes: > >> One can no longer launch emacsclient from shell buffers, > >> if you do you get the folllowing error: > >> > >> emacsclient foo *ERROR*: Terminal type "dumb" is not > >> powerful enough to run Emacs 22:26:39 labrador ~ $ > Dan> > Dan> This sounds like DISPLAY is not set. What is the output > Dan> of: > Dan> > Dan> echo $DISPLAY > Dan> > Dan> > Dan> I cannot reproduce your problem on my machine. > > -- > Best Regards, > --raman > > > Email: raman@users.sf.net > WWW: http://emacspeak.sf.net/raman/ > AIM: emacspeak GTalk: tv.raman.tv@gmail.com > PGP: http://emacspeak.sf.net/raman/raman-almaden.asc > Google: tv+raman > IRC: irc://irc.freenode.net/#emacs -- Best Regards, --raman Email: raman@users.sf.net WWW: http://emacspeak.sf.net/raman/ AIM: emacspeak GTalk: tv.raman.tv@gmail.com PGP: http://emacspeak.sf.net/raman/raman-almaden.asc Google: tv+raman IRC: irc://irc.freenode.net/#emacs