Mode cooking
Submitted by Andrea Nicastro
Assigned to Nobody
Link to original bugzilla bug (#1208)
Operating system: Linux
Description
To whom it may concern,
As an emacs user I have been dealing with the configuration of Semantic to achieve a more agile development. However, the fact that Eigen includes do not have a .h extension makes more difficult to have Emacs parse the library.
Apparently is common practice to add a mode cookie at the beginning of the header file (e.g. the string "-- C++ --" hints emacs to toggle the c++ mode). It is possible also to define local variable at the end of the header file to be used by parsers in general. For example
// Local Variables:
// mode: c++
// End:
is there a reason why this useful feature is not present in your headers?
Thank you very much
Andrea Nicastro