jrockway / eproject

file grouping ("project") extension for emacs
161 stars 41 forks source link

Allow user-data to override project name and type #41

Closed tjarvstrand closed 11 years ago

tjarvstrand commented 11 years ago

This allows extensions to define project-attributes that override the project's name and type.

The motivation for this is to allow users to override project name at a project level ( calling it "master", the current branch they are working on or something else) by using define-project-attribute. It creates a level of granularity where you can have a default-value defined in the project-type which is overridden by the project file. The project-file can then in turn be overridden by project-type-instance specific values defined by the user.

tjarvstrand commented 11 years ago

On second thought, should probably not be possible to override the project type, at least not without doing some re-computing so I updated the pull request to only allow overriding of the name.

tjarvstrand commented 11 years ago

Turns out that this is something that I think would be nice, and this patch actually works, but it's really the wrong way to do it.

jrockway commented 11 years ago

Thanks for the patch anyway :)