Re: Help needed testing EDE branch
Daniel Colascione <[email protected]>
| Newsgroups | gmane.emacs.cedet |
|---|---|
| Message-ID | <[email protected]> |
On 06/25/2014 01:43 PM, Lluís wrote: > Eric M Ludlam writes: > >> On 06/22/2014 03:30 PM, Lluís wrote: >>> I also tried to run "customize-project" on a >>> linux project, and it looks like no file is saved with the project >>> customizations. I guess that's still not possible (to somehow "overlay" local >>> customizations on auto-detected projects). > >> Hi Lluis, > >> There are definitely two camps on these project types. Some generate >> your build system have save files to remember your configuration (such >> as the the 'proj' type that supports creating both Makefiles and >> Automake files. > >> The other types such as Linux, Emacs, cpp-root, arduino, and the other >> automake project type which all detect existing projects, and if you >> want to customize them, you need to edit some file related to that >> project which Emacs would read in later. > > That makes all the sense in the world. > > >> The generic project is different in that it just tries to find some of >> your code in project form, and then has a configuration that sits on top >> that saves itself between sessions. This system is nice in that the >> code to make the project is simple, but you still get at the key pieces >> needed for Semantic smart completion parsing, etc. > >> I think your observation is that some of the project types such as Linux >> and Emacs don't have enough automatically configured such that you want >> to add some extra on top and save it away. Perhaps the right thing is >> to update 'linux' as a subclass of 'generic' but with some of the extra >> goodness from ede/linux kept around for pre-configuring the system. > > I don't have any specific use-case. I was just wondering if it would be possible > to, for example, customize something like cpp-root's spp-table in > ede-linux-project, or, for example, set some project-local variables or the > build command. > > In fact, I think that saving the project-local variables across sessions would > be the most useful feature at this point. To me it makes sense to implement this > functionality in EDE, but many other tools try to do the same, and emacs also > has the directory-local variables. > > I know it would be a huge effort, but do you think it would make sense to > refactor the project class hierarchy? For example: > > * There could be the current ede-project as a base. > > * Per-language subclasses, (e.g., ede-lang-c, ede-lang-c++, ede-lang-java, > etc.), which only care about language-specific things like include > directories and preprocessor macros. I don't think language should have anything to do with the project system. Plenty of projects (like Emacs!) are written in a mixture of languages. Projects should opportunistically define facilities that language modes can use, e.g., header file disambiguation, but there should be no such thing as a "C++ project". ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Cedet-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cedet-devel
signature.asc
(application/pgp-signature, 884 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJTqzUNAAoJEMAaIROpHW7IM+gP/iXCMXtWkFy3AxKGQsMSmE9L XxEe6BdnXV/Ps60A/kd/+KU+nLEGywuaamh1b/e4s1NaseCXUW/81r+zC9m39fJN a+w8cCrQAVvsFambyJmpaUhqWT5hOV660HDX58y2EDyySsPRjJBILnm34ITdaADT IyRWlOQz81VASZKWFL9EKNMOs1U3oi4Zhi+0s2ipf6XNf0xhUMsLYpmQv1hcLEvD yftem0mTtEX/gmlcgl2gdnANpNv8yKmFacwIsjyP/+qV5rHSXKHq/j7X+5sXOQ3g Bg6tZ9YG1WH47AuQ8akRv/328BVntIAaaiFunYYvnORk6MLZlYUwsd1B0+JHB4UI h1R2V2CKhulhpL9pwNWUBWnX5xA2/tidoJUCYwAZ7adhK/ub/z+X7WQGwi55Q4/2 Jppw7IOHxEvMIiiLXCUVntZilxlR1ZlxMtT8SezFfngOBgsmaSbGmEFwHBDtA5lP eAfqZwO3xw6GOkHrulVZeqTRyM202Xe1ysi+2lQj2HpQvmgNltbr901efphsfbBn HhaSopmqNBMVfg3FILvRAi4K6I4VkJtgc0g9j3SgefJlHHFb78a+yCpCQpWWb0zH U7pO7C9RWsuve/W5nCHpwRxWMl5EzG0CCjUP+PKIGonQfEYZpQT+Xtu9TEWdhrSz oUvaffwmLyfXVYvk/gc6 =W6QO -----END PGP SIGNATURE-----