emacs-devel
[Top][All Lists]
Advanced

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

Re: address@hidden: Re: bug#193:] Horrible mangling of fill-paragraph


From: Stefan Monnier
Subject: Re: address@hidden: Re: bug#193:] Horrible mangling of fill-paragraph
Date: Mon, 28 Nov 2011 11:17:34 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux)

> Stefan, can you remember the use case for rev 48193?

Of course: it's to make M-q behave better for all those modes that don't
setup their own paragraph filling code.  Without this code, typing M-q
in something like:

    (some code where you type M-q
      some more code
      ;; some comment
      ;; some more comment

may end up filling all 4 lines together into something invalid like

    (some code where you type M-q some more code ;; some comment ;; some
      more comment

> If not, would it be OK to revert that bit of it?

Wouldn't it make sense for CC mode to set fill-paragraph-handle-comment
to nil since CC mode does its own filling of comments anyway?


        Stefan



reply via email to

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