GNU bug report logs - #3972
23.1.50; c-mode sets M-q to c-fill-paragraph

Previous Next

Packages: emacs, cc-mode;

Reported by: Lennart Borgman <lennart.borgman <at> gmail.com>

Date: Thu, 30 Jul 2009 05:55:04 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Alan Mackenzie <acm <at> muc.de>
Cc: 3972 <at> debbugs.gnu.org,
        Lennart Borgman <lennart.borgman <at> gmail.com>
Subject: bug#3972: 23.1.50; c-mode sets M-q to c-fill-paragraph
Date: Thu, 30 Jul 2009 17:12:36 -0400
> I've just looked at fill-paragraph's source, and it looks like it's
> broken.  If it's called interactively, transient mark mode is enabled,
> the mark "is active", the region is non-zero length, and it's currently
> a full moon, each paragraph in the region is filled by calling
> fill-region, bypassing fill-paragraph-function.  Or maybe I've missed
> something.

That's a long standing design bug, indeed.

I think fill.el needs to introduce fill-forward-paragraph-function and
some kind of fill-region-as-paragraph-function (and obsolete
fill-paragraph-function).

Patches welcome,


        Stefan



This bug report was last modified 9 years and 127 days ago.

Previous Next


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