I would like to be able to annotate source code files with my own personal notes, strip these notes out before committing to version control, and merge changes back in from version control without generating merge conflicts when my own changes come back in.
I was inspired by org-mode
's approach to literate programming, but I don't think org mode itself would be feasible because of the issues described above.
Is there any way of attaching annotations to source code in Emacs, either as in-place annotations that can be stripped and reinstated in the manner described, or in a separate file with Emacs marking the annotations dynamically?
git-appraise
for that. Sadly, I don't know of any Emacs-side support forgit-appraise
.