[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 14:18:48 -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?
IOW, I'd rather have a cl-generic `project-envvars` and then somehow
make sure these envvars are passed to any sub-process.
I often work on several projects basically at the same time in a single
Emacs session, so manually "selecting" a project would be inconvenient.
> path-iterator.el -- 243 lines
> Provides an iterator for directory paths;
You mean something similar to locate-file (but returning "all matches"
and in the form of an iterator)? Sounds fine to me.
> Probably should be rewritten to use generator.el.
I haven't seen the current code, so I don't know what it's using now
instead of generator.el.
> uniquify-files.el -- 687 lines
> Provides a completion style and completion table that presents
> uniquified file names to the user for completion.
Sounds cool.
> Ok to create these ELPA packages (in elpa/packages)?
The usual answer for this question is "yes". If you're unsure, making
it an "external" (rather than a plain directory inside `packages`) makes
it easy to get rid of it without leaving traces in the Git history.
Stefan