emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 23.0.50; Unable to launch emacsclient from shell buffers:


From: Bash Shell Account
Subject: Re: 23.0.50; Unable to launch emacsclient from shell buffers:
Date: Mon, 17 Sep 2007 11:14:18 +0000 (UTC)

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
    address@hidden                         address@hidden
    http://www.rattlesnake.com                  http://www.teak.cc




reply via email to

[Prev in Thread] Current Thread [Next in Thread]