gnu.emacs.bug
[Top] [All Lists]

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

Subject: bug#3972: 23.1.50; c-mode sets M-q to c-fill-paragraph
From: Alan Mackenzie
Date: Thu, 30 Jul 2009 10:47:22 +0000
Newsgroups: gnu.emacs.bug

Hi, Lennart!

On Thu, Jul 30, 2009 at 07:47:32AM +0200, Lennart Borgman wrote:
> [c-mode sets M-q to c-fill-paragraph]
> Instead it should set the variable fill-paragraph.

It would be nice, wouldn't it?

Have you tried it, and does it work?  Does it always work?

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.

-- 
Alan Mackenzie (Nuremberg, Germany).




<Prev in Thread] Current Thread [Next in Thread>