[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
fill-paragraph bug in Lisp modes
From: |
Edi Weitz |
Subject: |
fill-paragraph bug in Lisp modes |
Date: |
Sun, 03 Jul 2005 12:22:37 +0200 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/22.0.50 (windows-nt) |
In CVS Emacs (from May) if I have a function like this
(defun foo ()
"Comment this is a long text. Comment this is a long text. Comment this is
a long text."
42)
in Lisp mode or Emacs Lisp mode and press M-q (fill-paragraph) while
within the documentation string the result looks like this:
(defun foo ()
"Comment this is a long text. Comment this is a long text.
Comment this is a long text." 42)
So, the indentation for the documentation string is wrong and the 42
has moved up to a place where I don't want to have it.
If in lisp-mode.el I uncomment the line
(set (make-local-variable 'adaptive-fill-mode) nil)
then the first problem goes away and the function after M-q looks like
this:
(defun foo ()
"Comment this is a long text. Comment this is a long text.
Comment this is a long text." 42)
That's better. The 42 is still in the wrong place, though.
Cheers,
Edi.
--
Dr. Edmund Weitz
Hamburg
Germany
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- fill-paragraph bug in Lisp modes,
Edi Weitz <=