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

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

Re: how to find out which user instantiated this emacs process


From: leo
Subject: Re: how to find out which user instantiated this emacs process
Date: Thu, 26 Feb 2004 10:26:11 +1100

"Pascal Bourguignon" <spam@thalassa.informatimago.com> wrote in message
87n0774m3f.fsf@thalassa.informatimago.com">news:87n0774m3f.fsf@thalassa.informatimago.com...
> "leo" <halloleo@noospaam.myrealbox.com> writes:
>
> > in this case i'd like to set the background to red or so... how can i
find
> > out in emacs lisp what user owns this emacs?
>
> Did you really try, or are you asking just to increase the trafic?

i looked up (with C-h a) everything containing "user", but couldn't find
anything.

> (when (= (user-uid) 0) (set-background-color "Red"))

thanks a lot! user-uid seems to be a non-user-command.

cheers, leo





reply via email to

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