Parsing seems broken for emacs-lisp-mode.

Load the attached file, turn on font-locking and paren matching.

1. sometimes, the syntax highlighting is broken. from line 13 on, everything is in one color except some parens and a `name'. i can't reproduce that all the time.

2. select the defun, then do M-x indent-region. lines 40 - 63 don't get indented.

3. sometimes, ';' or '; ;' are added at the end of some lines containing comments. (can't reproduce right now.)


What I have found out so far is that it has to do with an opening paren in the defun-documentation at the beginning of a line. If you insert a space at the beginning of line 3, formatting works just fine. Problems 1 and 3 rectify themselves as well.




(This is on a freshly compiled Emacs from CVS (Carbon Emacs on OS X, emacs -Q))

Attachment: emacs-syntax-bug.el
Description: Binary data

_______________________________________________
Emacs-pretest-bug mailing list
Emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to