all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Barry Margolin <barmar@alum.mit.edu>
Cc: help-gnu-emacs@gnu.org
Subject: Re: setenv and find-file
Date: Sat, 18 May 2013 20:09:19 +0200	[thread overview]
Message-ID: <D7A4CF25-1122-4A69-A426-DDC6C4B9BBB6@Web.DE> (raw)
In-Reply-To: <barmar-643C70.07360018052013@news.eternal-september.org>


Am 18.05.2013 um 13:36 schrieb Barry Margolin:

> But if you do:
> 
> M-: (setenv "VARIABLE" "/shorter/path")
> 
> inside Emacs, you're setting an environment variable in the Emacs 
> process, not just within a program that's hosted by Emacs.

And when a shell in *shell* buffer is started afterwards it can inherit that setting… Yes, that could be another away! (Given that either a corresponding GNU Emacs variable is also defined or (getenv "VARIABLE") is used.)

--
Greetings

  Pete                           <]
             o        __o         |__    o       HPV, the real
    ___o    /I       -\<,         |o \  -\),-%     high speed!
___/\ /\___./ \___...O/ O____.....`-O-'-()--o_________________




      reply	other threads:[~2013-05-18 18:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-17 15:29 setenv and find-file Doug Lewan
2013-05-17 19:14 ` Peter Dyballa
2013-05-17 20:52   ` andrea crotti
2013-05-17 21:07   ` Doug Lewan
2013-05-18  7:34     ` Eli Zaretskii
2013-05-20 11:42       ` Doug Lewan
2013-05-20 12:04         ` setenv and find-file (I take it back.) Doug Lewan
2013-05-18 10:07     ` setenv and find-file Peter Dyballa
     [not found]     ` <mailman.27.1368871635.22516.help-gnu-emacs@gnu.org>
2013-05-18 11:36       ` Barry Margolin
2013-05-18 18:09         ` Peter Dyballa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D7A4CF25-1122-4A69-A426-DDC6C4B9BBB6@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=barmar@alum.mit.edu \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.