Emacs has a really nice mode for applying and navigating hunks of a diff file: Diff-Mode
However, there doesn't seem to be a way to apply the full diff when in this mode. Is this just so obvious that I missed it?
Emacs has a really nice mode for applying and navigating hunks of a diff file: Diff-Mode
However, there doesn't seem to be a way to apply the full diff when in this mode. Is this just so obvious that I missed it?
There doesn't seem to be a function that does that.
You can get that functionality by using a macro. First, hit F3 C-c C-a F4 to define a macro that applies a hunk, and then type C-u 0 M-x kmacro-call-macro to repeatedly call that macro until an error occurs (probably at the end of the diff file).
Diff-Mode was a single keystroke interface... no need for the C-c C- prefix. More magit-like. C-h f diff-mode-shared-map and then follow the link to the source code. This map is bound to ESC (aka the Meta modifier) normally but is also used without prefix when the buffer is read-only. C-h v diff-mode-shared-map because it is a variable and not a function.