From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Dan Elliott" Newsgroups: gmane.emacs.help Subject: Re: updating shell environment variables Date: Fri, 5 Nov 2004 11:09:55 -0600 Organization: Raytheon Company Message-ID: <1tOid.10$CR4.1@dfw-service2.ext.ray.com> References: <2v1lq9F2gfd06U1@uni-berlin.de> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1099674723 15533 80.91.229.6 (5 Nov 2004 17:12:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 Nov 2004 17:12:03 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 05 18:11:58 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CQ7cz-00006j-00 for ; Fri, 05 Nov 2004 18:11:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CQ7lB-0008C4-Og for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Nov 2004 12:20:25 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!HSNX.atgi.net!cyclone-sf.pbi.net!151.164.30.34!cyclone.swbell.net!bos-service1.raytheon.com!dfw-service2.ext.ray.com.POSTED!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 33 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Original-NNTP-Posting-Host: 147.18.29.32 Original-X-Complaints-To: news@ext.ray.com Original-X-Trace: dfw-service2.ext.ray.com 1099674557 147.18.29.32 (Fri, 05 Nov 2004 11:09:17 CST) Original-NNTP-Posting-Date: Fri, 05 Nov 2004 11:09:17 CST Original-Xref: shelby.stanford.edu gnu.emacs.help:126374 Original-To: help-gnu-emacs@gnu.org 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: main.gmane.org gmane.emacs.help:21763 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:21763 "Kevin Rodgers" wrote in message news:2v1lq9F2gfd06U1@uni-berlin.de... > Dan Elliott wrote: > > If I need to change a few environment variables, must I exit and restart > > emacs for these to take effect? I typically run emacs with the -nw > switch > > and then suspend emacs when I need to change env. variables. Is there a > > better way? Having to restart emacs is a major pain! > > M-x setenv > > I guess `C-h a env RET' was too painful to even try. > > -- > Kevin Rodgers Thank you Kevin Rodgers, for your response plus commentary. I apologize for the poor wording in my original post, the question looks quite stupid. Sorry for wasting your time. My intended question is a bit more complicated. Change the above from "few" to "nearly one-hundred." I have failed to discover an effective way to do this. Can I somehow *flash* the state of emacs' environment variables to be in line with the shell that "owns" my current emacs session? Thank you (again) for any assistance, Dan