[Top][All Lists]

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

bug#3972: 23.1.50; c-mode sets M-q to c-fill-paragraph

From: Stefan Monnier
Subject: bug#3972: 23.1.50; c-mode sets M-q to c-fill-paragraph
Date: Thu, 30 Jul 2009 17:12:36 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux)

> 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

Patches welcome,


reply via email to

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