[Top][All Lists]

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

Re: simple useful functions

From: René Kyllingstad
Subject: Re: simple useful functions
Date: Mon, 6 Dec 2010 15:08:30 +0100

On Sat, Dec 4, 2010 at 5:36 AM, Stefan Monnier <address@hidden> wrote:
> I partly understand the context.  But right here I think your script
> fails to serve you: it uses `setenv' which affects all inferior
> processes, so if you're working on several projects at the same time
> from the same Emacs session (likely if you're using it as a work
> environment, which is also the intended use to a large extent), you get
> pollution from one project to the other.  I think this issue is
> important, and I suspect that figuring out how it should be solved is
> necessary to figure out what is a good/generic way to provide this
> "source" feature.

As long as the login script sets up the environment needed you just
need to run a source command when switching between the projects to
override the environment.

A cleaner solution would be to attach the environment to a project
concept within Emacs, but when someone offers a shed it seems unfair
to ask them to build the whole city around it.

-- René

reply via email to

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