From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bash Shell Account 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 11:14:18 +0000 (UTC) Message-ID: 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: bob@rattlesnake.com NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1190027680 15859 80.91.229.12 (17 Sep 2007 11:14:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 Sep 2007 11:14:40 +0000 (UTC) To: raman@users.sourceforge.net, emacs-pretest-bug@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 17 13:14: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 1IXEYf-0005xK-50 for ged-emacs-devel@m.gmane.org; Mon, 17 Sep 2007 13:14:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXEYd-0003rt-OI for ged-emacs-devel@m.gmane.org; Mon, 17 Sep 2007 07:14:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IXEYb-0003ro-18 for emacs-devel@gnu.org; Mon, 17 Sep 2007 07:14:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IXEYZ-0003rb-FR for emacs-devel@gnu.org; Mon, 17 Sep 2007 07:14:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXEYZ-0003rY-9Q for emacs-devel@gnu.org; Mon, 17 Sep 2007 07:14:23 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IXEYZ-0000FR-26 for emacs-devel@gnu.org; Mon, 17 Sep 2007 07:14:23 -0400 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IXEY3-0008HD-Js for emacs-pretest-bug@gnu.org; Mon, 17 Sep 2007 07:13:51 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1IXEYU-0000En-7K for emacs-pretest-bug@gnu.org; Mon, 17 Sep 2007 07:14:22 -0400 Original-Received: from cpe-69-204-164-144.nycap.res.rr.com ([69.204.164.144] helo=rattlesnake.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IXEYT-0000ET-TG for emacs-pretest-bug@gnu.org; Mon, 17 Sep 2007 07:14:18 -0400 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.115) Mon, 17 Sep 2007 11:14:18 +0000 (UTC) In-reply-to: <200709170413.l8H4D08E022613@oogie-boogie.ics.uci.edu> (message from Dan Nicolaescu on Sun, 16 Sep 2007 21:13:00 -0700) X-Detected-Kernel: Linux 2.6 (newer, 1) 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:79094 gmane.emacs.pretest.bugs:19903 Archived-At: T. V. Raman's problem only occurs some of the time. Today's GNU Emacs CVS snapshot, Mon, 2007 Sep 17 10:17 UTC, GNU Emacs 23.0.50.13 (i686-pc-linux-gnu, GTK+ Version 2.10.13) In Debian testing and for X, Enlightenment window manager. Dan Nicolaescu writes, Please confirm that this is what you are trying to do: run emacs on a linux console run M-x shell in emacs run emacsclient from the shell buffer. If this is the situation, what do you expect emacsclient to do in this case? I am running from an instance of Emacs started in a console. From BASH, after starting Emacs and running M-x server-start, I am able to: emacsclient --display=localhost:0.0 (That is the frame I am sending this message from.) But when I try as another user that starts an instance of Emacs immediately, when I log in the account starts Emacs but I receive the same error message as T. V. Raman. That is to say, for the failure my /etc/passwd file looks like this, emacs:x:1012:1012:Emacs Account that starts Emacs,,,:/home/emacs:/home/emacs/start-emacs but for the success, it says bash:x:1013:1013:Bash Shell Account,,,:/home/bash:/bin/bash In the success, I run `/home/emacs/start-emacs', which is a shell script that says #!/bin/sh /usr/local/src/emacs/src/emacs -q -l ~bob/.emacs-21-load-path -l ~bob/.emacs-21 --eval '(emacs-version t)' -bg DodgerBlue4 -fg white -name 'Emacs current' That is the same `/home/emacs/start-emacs' file as when I start Emacs by logging in, the `M-x shell' failure. -- Robert J. Chassell GnuPG Key ID: 004B4AC8 bob@rattlesnake.com bob@gnu.org http://www.rattlesnake.com http://www.teak.cc