bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: emacsclient from a root window?


From: Dan Jacobson
Subject: Re: emacsclient from a root window?
Date: 11 Nov 2001 21:34:22 +0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>>>> "RMS" == Richard Stallman <address@hidden> writes:

RMS>     OK, I'd say that that [method, etc.] should be documented in the
RMS>     documentation, instead of just hiding out in the code... as it would
RMS>     seem a reasonable common activity.

[supercite thinks I'm RMS ... I'm not even R]

RMS> I think there is a misunderstanding here.  I did not find any special
RMS> method.  I simply ran emacsclient the usual way, from the shell under
RMS> su.  It worked.

must be a emacs 21 thang.

# emacsclient /etc/fstab
emacsclient: can't find socket; have you started the server?

$ emacsclient ~/.emacs
Waiting for Emacs...

by the way, even with lynx, poking around savannah was slow
... particularity when the file I thought I was looking for had
changed its name... ok never mind that ...

anyways "glad to know that in emacs 21, emacsclient in a root window
can find emacs running as a regular......... hmmm, wait a second, lets
say bob and jim are both running emacs, how does root know which one
is supposed to get the connection?

And if saddam is the only user with emacs running, how do we know not
to connect to him?

obviously there must be an environment variable needing to be set or
something.
test `id -u` -eq 0 && export \
REGULAR_USER_ID_UNDER_WHICH_TO_SEARCH_FOR_EMACS_SERVER=bob
-- 
http://www.geocities.com/jidanni/ Tel+886-4-25854780



reply via email to

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