GNU bug report logs - #7751
24.0.50; `fill-paragraph' on doc string with colons

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Tue, 28 Dec 2010 20:39:01 UTC

Severity: minor

Tags: fixed

Found in version 24.0.50

Fixed in version 26.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #23 received at 7751 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Lawrence Mitchell <wence <at> gmx.li>
Cc: 7751 <at> debbugs.gnu.org
Subject: Re: bug#7751: 24.0.50; `fill-paragraph' on doc string with colons
Date: Thu, 28 Apr 2016 12:05:48 +0200
Lawrence Mitchell <wence <at> gmx.li> writes:

> 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.

I've now removed the colon from that regexp when we're doing `M-q'
inside a string.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 8 years and 232 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.