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...
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...
Not 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.