emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apparent bug in filling docstrings in Emacs-Lisp mode


From: Richard Stallman
Subject: Re: Apparent bug in filling docstrings in Emacs-Lisp mode
Date: Wed, 25 Feb 2004 08:24:41 -0500

    However doing M-q with point on the second line (containing the `;')
    produces: 

    (defun write-abbrev-file (&optional file)
      "Write all user-level abbrev definitions to a file of Lisp code.
    This does not include system abbrevs; it includes only the abbrev
                                        ; tables
    listed in listed in `abbrev-table-name-list'.
    The file written can be loaded in another session to define the same 
abbrevs.
    The argument FILE is the file name to write.  If omitted or nil, the file
    specified in `abbrev-file-name' is used."

This must surely relate to special code in Lisp mode to fill comments
differently.  It apparently does not realize that this semicolon is
inside a multi-line string, and thus does not start a comment.

Rather than establishing a convention of "quoting" semicolons.
I think it would be best to fix that code to detect such strings.
However, I don't have time to do it myself.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]