From: David Kastrup <dak@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Drew Adams <drew.adams@oracle.com>, emacs-devel@gnu.org
Subject: Re: [jidanni@jidanni.org: Re: find-grep makes raw terminal ANSI]
Date: Sun, 18 Nov 2007 01:29:03 +0100 [thread overview]
Message-ID: <853av4pfao.fsf@lola.goethe.zz> (raw)
In-Reply-To: <uwssgbi63.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 18 Nov 2007 00:50:44 +0200")
Eli Zaretskii <eliz@gnu.org> writes:
>> From: "Drew Adams" <drew.adams@oracle.com>
>> Date: Sat, 17 Nov 2007 09:28:25 -0800
>> Cc: rms@gnu.org, emacs-devel@gnu.org
>>
>> > ! (setenv "TERM" "emacs")
>>
>> I apologize if this reply is not very meaningful, as I haven't followed
>> this.
>>
>> But is it good to change a user's environment variable this way?
>
> setenv doesn't change user's environment, it changes the environment
> passed to inferior processes.
My first reaction to this was "Huh?". In UNIX, where the environment
concept originated, it is _exclusively_ something which is passed to
inferior processes, quite like command line arguments.
It is only when coming from an MSDOS background (which tended to
implement UNIX concepts badly or incompletely, and so had something like
a global environment, and pipes implemented with intermediate files of
arbitrary size and other things close, but not identical to the real
thing) that something like a global "user's environment" concept does
even exist.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
next prev parent reply other threads:[~2007-11-18 0:29 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-16 4:29 [jidanni@jidanni.org: Re: find-grep makes raw terminal ANSI] Richard Stallman
2007-11-16 21:54 ` Juri Linkov
2007-11-17 4:24 ` Stefan Monnier
2007-11-17 15:32 ` Juri Linkov
2007-11-17 17:28 ` Drew Adams
2007-11-17 22:50 ` Eli Zaretskii
2007-11-17 23:04 ` Drew Adams
2007-11-18 0:29 ` David Kastrup [this message]
2007-11-18 4:14 ` Eli Zaretskii
2007-11-17 22:54 ` Juri Linkov
2007-11-18 3:18 ` Stefan Monnier
2007-11-18 10:45 ` Andreas Schwab
2007-11-18 12:05 ` Juri Linkov
2007-11-19 16:00 ` Stefan Monnier
2007-11-18 22:45 ` Richard Stallman
2007-11-17 23:30 ` Richard Stallman
2007-11-17 23:59 ` Juri Linkov
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=853av4pfao.fsf@lola.goethe.zz \
--to=dak@gnu.org \
--cc=drew.adams@oracle.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@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.