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

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

More problems with semi-colons in docstrings


From: Luc Teirlinck
Subject: More problems with semi-colons in docstrings
Date: Fri, 12 Mar 2004 19:31:47 -0600 (CST)

With latest CVS do `emacs -q'

C-x C-f lispbuf.el
M-x auto-fill-mode

Then start typing the following:

;; Comment
;; Other comment
(defun comment-fun ()
  "First line.
aaaaaaaaaaaaaa

Then type more aaaaa's with single spaces between them (but no
semi-colons).  This results in:

;; Comment
;; Other comment
(defun comment-fun ()
  "First line.
aaaaaaaaaaaaaa aaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaa
;; aaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaa aaaaaaa
;; aaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaaaaaaa aaaaaaaaaaaa
;; aaaaaaaaaaaaa

Where did the semi-colons come from?  Note that one needs _two_ comment
lines in front of the function for auto-fill-mode to produce them.

Trying to keep everything syntactically balanced by immediately
inserting the closing `")' and then typing the aaaa's in between
produces the same semi-colons anyway.

Sincerely,

Luc.
 




reply via email to

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