Context: sometimes your mail client doesn't inline dpatch files (because 
they don't have text/x-darcs-patch content type) and you need to save 
the file and view it. Or it's a big patch and you need all the help you 
can get to read it. Or you're previewing one before sending it.

Emacs diff-mode works well for viewing darcs patch files, making the 
actual code changes distinct from the rest. Add this to your .emacs:

(add-to-list 'auto-mode-alist '("\.dpatch$" . diff-mode))

If you know better ways, please reply.

_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to