From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: Emacs Environment Variables Date: Fri, 23 Nov 2007 16:09:00 -0500 Organization: Symantec Message-ID: References: <7e3068b0-defa-4b37-9092-182b521f5f50@e23g2000prf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1195854049 20381 80.91.229.12 (23 Nov 2007 21:40:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Nov 2007 21:40:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 23 22:40:55 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IvgGV-0003GF-7i for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Nov 2007 22:40:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvgGG-0004pr-Q6 for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Nov 2007 16:40:32 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Fri, 23 Nov 2007 15:09:00 -0600 Original-Newsgroups: gnu.emacs.help Mail-Copies-To: nobody User-Agent: MT-NewsWatcher/3.5.2 (PPC Mac OS X) X-Copies-To: never Original-Lines: 23 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 24.34.108.171 Original-X-Trace: sv3-Y07BP3kxKRPOVt8977bnYyzRADs82LBtxOUzku8BqCifNRuCdmh6EQBFv2mHaJTY4OUtyO5R8Ca5udb!TH1+iVr7cq2QUJUAFjZrkL/bIA56LFfD4AsnUQrWDVjzW1dMLbTIqrFxI9KUQ4sceiTSWGT3Zj3/!t85Zat4bOgyMlkCRjsMjHMtolP6v3jWG9xAk/AFaLQ== Original-X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.36 Original-Xref: shelby.stanford.edu gnu.emacs.help:154020 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:49450 Archived-At: In article <7e3068b0-defa-4b37-9092-182b521f5f50@e23g2000prf.googlegroups.com>, Phi wrote: > Hi: > > I currently start emacs from bash shell and have a long list of > environment variables defined in > .bashrc . How do I have emacs environment aromatically inherit all the > variables from bash on startup? You shouldn't need to do anything special. Environment variables are automatically ("aromatically"?) inherited by child processes. Are you sure you're defining environment variables in your .bashrc, and not just shell variables? To put variables into the environment, you need to use "export". -- Barry Margolin, barmar@alum.mit.edu 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 ***