emacs-devel
[Top][All Lists]
Advanced

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

Re: new elpa packages for ada-mode project related stuff


From: Stefan Monnier
Subject: Re: new elpa packages for ada-mode project related stuff
Date: Wed, 16 Jan 2019 20:41:30 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>>>     Then defines a project defstruct that declares/undeclares
>>> environment variables when it is selected/deselected.
>> Shouldn't the right env-var simply be automatically selected based on
>> the project of the current buffer?
> Depends on the use case. I have several worktrees that are nominally in
> several projects; they are utility libraries, so they can be accessed
> via any project that uses them, and they also have test suites, so they
> have a project of their own.
>
> There is no way to identify the current client project from a utility
> library buffer, so I rely on a global setting.

This justifies the need to have a way to set which project to use
currently for a library that can belong to several projects, but it
doesn't justify making this be a global setting.

So maybe I agree with your suggestion, but I object to the way it seems
to have a global effect.


        Stefan




reply via email to

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