Hi In an empty .el file, calling checkdoc, stuff gets inserted in incorrect order.
Test case: 1) emacs -Q 2) C-x C-f foo.el 3) M-x checkdoc 4) Answer y to "add first line?" and type "foo program" RET 5) Answer next questions with y I get the following content: <-- beginning of buffer (yes, it starts with 2 empty lines) ;;; History: ;; ;;; Commentary: ;; ;;; foo.el --- foo program (provide 'foo) ;;; foo.el ends here <--end of buffer If emacs crashed, and you have the emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/local/share/emacs/22.0.50/etc/DEBUG for instructions. In GNU Emacs 22.0.50.3 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2006-06-09 on miguel X server distributor `The X.Org Foundation', version 11.0.60802000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 locale-coding-system: utf-8 default-enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: checkdoc-minor-mode: t delete-selection-mode: t pc-selection-mode: t show-paren-mode: t tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: <down> <down> <down> <down> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <down> <down> <down> <down> <S-end> <S-delete> <up> <up> <up> <up> <S-insert> <return> <down> <down> C-x C-s C-x k <return> C-x C-f f o o . l e <backspace> <backspace> e l <return> M-x c h e c k - d o <backspace> <backspace> <backspace> d o c - m i n o <tab> <return> <help-echo> <help-echo> <help-echo> <menu-bar> <CheckDoc> <Interactive Buffer Style Check> f o o SPC p r o g r a m <return> y y y M-x r e p o <tab> r t <tab> <return> Recent messages: Mark set [2 times] Wrote /home/frasson/.emacs.d/open-proj.el (New file) Checkdoc minor mode enabled You should have a ";;; Commentary:", add one? (y or n) You should have a ";;; History:", add one? (y or n) No identifiable footer! Add one? (y or n) Checkdoc: Done. [2 times] Making completion list... Loading emacsbug...done -- Miguel Vinicius Santini Frasson [EMAIL PROTECTED] _______________________________________________ emacs-pretest-bug mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
