From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lawrence Mitchell Newsgroups: gmane.emacs.bugs Subject: bug#7751: 24.0.50; `fill-paragraph' on doc string with colons Date: Fri, 17 Feb 2012 12:55:28 +0000 Message-ID: <8762f5sjpb.fsf@ed.ac.uk> References: <3F4673E9CCED46A0BD9BA6B9BDF5DF8D@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1329483391 533 80.91.229.3 (17 Feb 2012 12:56:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 17 Feb 2012 12:56:31 +0000 (UTC) To: 7751@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 17 13:56:30 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RyNMR-0000za-Ve for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Feb 2012 13:56:28 +0100 Original-Received: from localhost ([::1]:36401 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RyNMR-00042N-EW for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Feb 2012 07:56:27 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:49042) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RyNMJ-0003zw-7o for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2012 07:56:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RyNM9-0006ll-DD for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2012 07:56:19 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39818) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RyNM9-0006ld-5t for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2012 07:56:09 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RyNNy-0002RP-0n for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2012 07:58:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lawrence Mitchell Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Feb 2012 12:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7751 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7751-submit@debbugs.gnu.org id=B7751.13294834509340 (code B ref 7751); Fri, 17 Feb 2012 12:58:01 +0000 Original-Received: (at 7751) by debbugs.gnu.org; 17 Feb 2012 12:57:30 +0000 Original-Received: from localhost ([127.0.0.1]:43441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RyNNR-0002Qb-LR for submit@debbugs.gnu.org; Fri, 17 Feb 2012 07:57:29 -0500 Original-Received: from nougat.ucs.ed.ac.uk ([129.215.13.205]:56111) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RyNNK-0002QO-Ea for 7751@debbugs.gnu.org; Fri, 17 Feb 2012 07:57:28 -0500 Original-Received: from lmtp1.ucs.ed.ac.uk (lmtp1.ucs.ed.ac.uk [129.215.149.64]) by nougat.ucs.ed.ac.uk (8.13.8/8.13.4) with ESMTP id q1HCtBIO014037 for <7751@debbugs.gnu.org>; Fri, 17 Feb 2012 12:55:16 GMT Original-Received: from e4300lm (e4300lm.epcc.ed.ac.uk [129.215.63.156]) (authenticated user=lmitche4 mech=PLAIN bits=0) by lmtp1.ucs.ed.ac.uk (8.13.8/8.13.7) with ESMTP id q1HCt5KX013353 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for <7751@debbugs.gnu.org>; Fri, 17 Feb 2012 12:55:11 GMT In-Reply-To: (Lawrence Mitchell's message of "Tue, 28 Dec 2010 21:36:07 +0000") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) X-Edinburgh-Scanned: at nougat.ucs.ed.ac.uk with MIMEDefang 2.60, Sophie, Sophos Anti-Virus, Clam AntiVirus X-Scanned-By: MIMEDefang 2.60 on 129.215.13.205 X-Scanned-By: MIMEDefang 2.52 on 129.215.149.64 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:56963 Archived-At: Following up open bugs... Lawrence Mitchell wrote: [...] > Here's an even more minimal test-case: > emacs -Q > (setq emacs-lisp-docstring-fill-column 30) > (insert "\"a word, another word and more :bar\"") > M-q > gives a break of: > | a word, another word and > | more :bar > whereas one would expect > | a word, another word and more > | :bar > The problem appears to be in the regexp used to define > paragraph-start in lisp-fill-paragraph: > ... > (let ((paragraph-start (concat paragraph-start > "\\|\\s-*\\([(;:\"]\\|`(\\|#'(\\)")) > ... > Removing the colon leads to "expected" line breaking. [...] Would a patch to do this be welcome? Lawrence