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

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

Re: emacs process-environment under gnome


From: Barry Margolin
Subject: Re: emacs process-environment under gnome
Date: Sat, 29 Nov 2008 20:36:19 -0500
User-agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)

In article <address@hidden>,
 address@hidden wrote:

> When I start emacs under gnome using gnome's application menu, the emacs 
> process is started by root (ppid 1). I find this very confusing. Why is this 

It's not started by pid 1.  Gnome forks a child process, and this 
process forks a grandchild process to execute emacs.  The child process 
exits immediately after, so that Gnome doesn't have to wait for it.  
Whenever a process's parent exits, the ppid becomes 1.

> so? For me, the main problem is that this way emacs (the variable 
> process-environment) doesn't know anything about the environment variables I 
> like to use (which are defined in my .bashrc).

I think you need to put "source .bashrc" in your .xinitrc.

> 
> As you might guess I am new to gnome (but I've used emacs for some time). 
> What are other people doing? Start emacs via a shell script?
> 
> Thank you!
> ____________________________________________________________________
> Psssst! Schon vom neuen WEB.DE MultiMessenger gehört? 
> Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123

-- 
Barry Margolin, address@hidden
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***


reply via email to

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