help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Filling Block Comment


From: August Karlstrom
Subject: Re: Filling Block Comment
Date: Tue, 28 Mar 2006 17:52:39 GMT
User-agent: Mozilla Thunderbird 1.0.7 (X11/20051013)

Stefan Monnier wrote:
> August Karlstrom wrote:
How do I make `fill-comment-paragraph' work with block comments?


You don't?
Instead, write your own function that will try to find the beginning/end of
the enclosing comment and then calls fill-region-as-paragraph.

I had started to work on extending fill.el so that it used syntax-tables to
correctly respect comment and string boundaries when filling, but never got
far enough to get something really usable.

Sounds like an excellent idea though.


August

--
I am the "ILOVEGNU" signature virus. Just copy me to your
signature.  This email was infected under the terms of the GNU
General Public License.


reply via email to

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