smerge: largely inherit from diff-mode