emacs-devel
[Top][All Lists]
Advanced

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

Re: Multiple bugs in lisp-mode M-q on paragraphs within #|..|# comments


From: Stefan Monnier
Subject: Re: Multiple bugs in lisp-mode M-q on paragraphs within #|..|# comments
Date: Sat, 31 Mar 2007 16:30:17 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (gnu/linux)

> Without the quoting indentation, the first line is 65 characters long.

I guess it has to do with emacs-lisp-docstring-fill-column.
Looks like a separate bug.

Maybe the patch below fixes it,


        Stefan


--- lisp-mode.el        05 mar 2007 21:15:36 -0500      1.200
+++ lisp-mode.el        31 mar 2007 16:29:27 -0400      
@@ -1280,7 +1280,8 @@
                                     "\\|\\s-*\\([(;:\"]\\|`(\\|#'(\\)"))
            (paragraph-separate
             (concat paragraph-separate "\\|\\s-*\".*[,\\.]$"))
-            (fill-column (if (integerp emacs-lisp-docstring-fill-column)
+            (fill-column (if (and (integerp emacs-lisp-docstring-fill-column)
+                                  (derived-mode-p 'emacs-lisp-mode))
                              emacs-lisp-docstring-fill-column
                            fill-column)))
        (fill-paragraph justify))




reply via email to

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