bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setenv


From: Miles Bader
Subject: Re: setenv
Date: Tue, 02 Oct 2001 14:19:42 GMT

"Stefan Monnier" <monnier+gnu.emacs.bug/news/@RUM.cs.yale.edu> writes:
> but changing the behavior of `setenv' would be 100% backward
> compatible so there really doesn't seem to be any good reason not to
> do it.

The point is to avoid people thinking that setenv is somehow special,
and `better' than modifying process-environment, since it's often worse
from a programming point of view.

A `synchronize-process-environment' function will solve the same
problem, without artificially promoting one style over the other.
Morever, it is useful because it maps directly to the existance of a
bug, and thus can serve as an indicator that something needs to be
fixed -- and when the bug is fixed, it's clear that it can be removed.

-Miles
-- 
`Cars give people wonderful freedom and increase their opportunities.
 But they also destroy the environment, to an extent so drastic that
 they kill all social life' (from _A Pattern Language_)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]