all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bash Shell Account <bob@rattlesnake.com>
To: raman@users.sourceforge.net, emacs-pretest-bug@gnu.org
Subject: Re: 23.0.50; Unable to launch emacsclient from shell buffers:
Date: Mon, 17 Sep 2007 11:14:18 +0000 (UTC)	[thread overview]
Message-ID: <m1IXEYU-002KHjC@rattlesnake.com> (raw)
In-Reply-To: <200709170413.l8H4D08E022613@oogie-boogie.ics.uci.edu> (message from Dan Nicolaescu on Sun, 16 Sep 2007 21:13:00 -0700)

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

  reply	other threads:[~2007-09-17 11:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-14  5:28 23.0.50; Unable to launch emacsclient from shell buffers: raman
2007-09-14 16:37 ` Dan Nicolaescu
2007-09-15 19:04   ` T. V. Raman
2007-09-17  4:13     ` Dan Nicolaescu
2007-09-17 11:14       ` Bash Shell Account [this message]
2007-09-17 13:34       ` T. V. Raman
2007-09-17 14:15         ` Stefan Monnier
2007-09-18  2:17           ` T. V. Raman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1IXEYU-002KHjC@rattlesnake.com \
    --to=bob@rattlesnake.com \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=raman@users.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.