[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
parsing emacs-lisp: opening paren at line-beg in doc string
From: |
David Reitter |
Subject: |
parsing emacs-lisp: opening paren at line-beg in doc string |
Date: |
Thu, 21 Jul 2005 11:11:11 +0100 |
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))
emacs-syntax-bug.el
Description: Binary data
- parsing emacs-lisp: opening paren at line-beg in doc string,
David Reitter <=