From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "leo" Newsgroups: gmane.emacs.help Subject: Re: how to find out which user instantiated this emacs process Date: Thu, 26 Feb 2004 10:26:11 +1100 Organization: Netspace Internet Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <87n0774m3f.fsf@thalassa.informatimago.com> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1077752241 30091 80.91.224.253 (25 Feb 2004 23:37:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 25 Feb 2004 23:37:21 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 26 00:37:09 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Aw8aT-0001YU-00 for ; Thu, 26 Feb 2004 00:37:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1Aw8Yd-0007rC-AP for geh-help-gnu-emacs@m.gmane.org; Wed, 25 Feb 2004 18:35:15 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!nntp.cs.ubc.ca!newsfeeds.ihug.co.nz!ihug.co.nz!news.xtra.co.nz!news.mel.connect.com.au!news.netspace.net.au!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: dsl-210-15-204-246.nsw.netspace.net.au Original-X-Trace: otis.netspace.net.au 1077751548 10599 210.15.204.246 (25 Feb 2004 23:25:48 GMT) Original-X-Complaints-To: usenet@otis.netspace.net.au Original-NNTP-Posting-Date: Wed, 25 Feb 2004 23:25:48 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Original-Xref: shelby.stanford.edu gnu.emacs.help:121266 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:17219 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17219 "Pascal Bourguignon" wrote in message news:87n0774m3f.fsf@thalassa.informatimago.com... > "leo" 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