Is that possible to Emacs to respect .gitattributes
and .hgeol
?
I am again on Windows with Cygwin emacs-w32
and would like if Emacs honor project specific CR/LF settings for new files...
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.
Sign up to join this communityNot directly an answer to your question, but I would try out editorconfig:
https://github.com/editorconfig/editorconfig-emacs#readme
This will allow you to add a config file which will set line endings, line length, indent style, and more and have it respected by every editor with a plugin.
.dir-locals.el
file to the project is acceptable, you can always use that. It's not what you're asking for, but it might still be sufficient. – phils Feb 22 '17 at 6:36