3 ms·
> HTML email is useful for reviewing code, but you don't like when code reviews are done over email? Which is it? I said HTML email is useful because it allows
by da39a3ee 6y ago
> HTML email is useful for reviewing code, but you don't like when code reviews are done over email? Which is it?
I said HTML email is useful because it allows you to send syntax highlighted code to a friend. A chilled out, normal friend. I, err, wouldn't like to try getting Linus or emacs-core devs to review my patch sent as syntax-highlighted HTML.
- db48x 6y agoMeh, Emacs can already syntax-highlight code, and it'll use the colors I've already chosen as the best for my taste. Your pre-highlighted html won't do that.
- astrobe_ 6y agoYes. The normal way to do it is to send the whole file as an attachment. That way, they can open it in their favorite editor with their favorite tabs setting and key bindings and... Favorite syntax highlighting theme -- who are you to force your own color scheme on others !? They can also easily diff it against their own copy and maybe reformat it to their preferred indentation scheme.