From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: updating shell environment variables Date: Fri, 05 Nov 2004 11:37:25 -0700 Message-ID: <2v1vjcF2enbojU1@uni-berlin.de> References: <2v1lq9F2gfd06U1@uni-berlin.de> <1tOid.10$CR4.1@dfw-service2.ext.ray.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1099680136 31735 80.91.229.6 (5 Nov 2004 18:42:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 Nov 2004 18:42:16 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 05 19:42:12 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 1CQ92K-0007Zs-00 for ; Fri, 05 Nov 2004 19:42:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CQ9AX-0005Pl-46 for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Nov 2004 13:50:41 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 17 Original-X-Trace: news.uni-berlin.de urr4tPaXvEDnFHwqBa09xAnnFG43T8ASY/zyji49P0rV1u2tE= User-Agent: Mozilla Thunderbird 0.8 (X11/20040916) X-Accept-Language: en-us, en In-Reply-To: <1tOid.10$CR4.1@dfw-service2.ext.ray.com> Original-Xref: shelby.stanford.edu gnu.emacs.help:126378 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:21767 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:21767 Dan Elliott wrote: > 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? Like this? # in the shell: env | awk -F= '{print "(setenv \"" $1 "\" \"" $2 "\")" }' > /tmp/env.el ; in emacs: (load-file "/tmp/env.el") -- Kevin Rodgers