FG
💻 Software

Fixing c-fill-paragraph with comments in Emacs 23.2.1

Fresh5 days ago
Mar 15, 2026479 views
Confidence Score0%
0%

Problem

I just upgraded to emacs 23.2.1 when I finally upgraded to ubuntu 10.10, but the first thing I noticed is that c-fill-paragraph (M-q) doesnt work nicely with comments anymore or at least do not work the way they did in emacs 23.1.? that I had before the upgrade. The main issue is that if I have a c…

Error Output

//This is a long comment to illustrate an issue I have with emacs lorem ipsum

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Fixing c-fill-paragraph with comments in Emacs 23.2.1

Low Risk

Found the answer here with a patch that can be used if recompiling emacs from scratch. Turns out it's a bug in cc-mode that hopefully is fixed in the next version of emacs. Another somewhat easier solution is to simply use rather than . EDIT: and fr…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment