New issue 330: HEADER line is printed after SECTION line(s) causing loss of desired major mode in Emacs
https://bitbucket.org/blais/beancount/issues/330/header-line-is-printed-after-section-line
Milind Kamble:
In extract.py, the HEADER line is printed just before printing new entries. However, identify.py can inject SECTION lines into the output. As a result, the HEADER line whose purpose is to set the file major mode for emacs, is not the first non-blank line. So the mode setting is not honored when Emacs opens the file.