logo       

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

bug-gnu-emacs-gnu

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

> 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



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise