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

Previous Next

Packages: cc-mode, emacs;

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: Alan Mackenzie <acm <at> muc.de>
To: Lennart Borgman <lennart.borgman <at> gmail.com>,
        3972 <at> debbugs.gnu.org
Cc: emacs-pretest-bug <at> gnu.org
Subject: bug#3972: 23.1.50; c-mode sets M-q to c-fill-paragraph
Date: Thu, 30 Jul 2009 10:47:22 +0000
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).



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.