From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Multiple bugs in lisp-mode M-q on paragraphs within #|..|# comments Date: Sat, 31 Mar 2007 16:30:17 -0400 Message-ID: References: <17925.31957.782297.513252@rgrjr.dyndns.org> <17933.44654.85795.418636@rgrjr.dyndns.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1175373035 29777 80.91.229.12 (31 Mar 2007 20:30:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 31 Mar 2007 20:30:35 +0000 (UTC) Cc: emacs-devel To: Bob Rogers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 31 22:30:28 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HXkDT-0000Sp-Ek for ged-emacs-devel@m.gmane.org; Sat, 31 Mar 2007 22:30:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HXkGI-0006Y0-LE for ged-emacs-devel@m.gmane.org; Sat, 31 Mar 2007 15:33:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HXkGE-0006Xi-RW for emacs-devel@gnu.org; Sat, 31 Mar 2007 16:33:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HXkGD-0006X9-6n for emacs-devel@gnu.org; Sat, 31 Mar 2007 16:33:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HXkGD-0006Wz-4E for emacs-devel@gnu.org; Sat, 31 Mar 2007 15:33:17 -0500 Original-Received: from tomts20-srv.bellnexxia.net ([209.226.175.74]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HXkDL-0003TL-Ut for emacs-devel@gnu.org; Sat, 31 Mar 2007 16:30:20 -0400 Original-Received: from pastel.home ([70.53.194.92]) by tomts20-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070331203018.WWL1637.tomts20-srv.bellnexxia.net@pastel.home> for ; Sat, 31 Mar 2007 16:30:18 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id D54C87F3F; Sat, 31 Mar 2007 16:30:17 -0400 (EDT) In-Reply-To: <17933.44654.85795.418636@rgrjr.dyndns.org> (Bob Rogers's message of "Fri\, 30 Mar 2007 20\:42\:22 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (gnu/linux) X-detected-kernel: Solaris 8 (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:68850 Archived-At: > 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))