emacs-devel
[Top][All Lists]
Advanced

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

Re: regression: filling comments in C++ code (today's CVS)


From: Richard Stallman
Subject: Re: regression: filling comments in C++ code (today's CVS)
Date: Sat, 25 Jan 2003 14:22:45 -0500

    That wouldn't work when filladapt is used, but it's perhaps good
    enough for your purposes. A more thorough solution would be to put an
    advice around fill-paragraph.

We want to avoid having Emacs packages advise Emacs functions, because
that makes the code hard to understand.  An explicit hook is clearer,
because you can see the code that calls the hook and then you know
something strange might happen there.

    It'd be nice if fill.el provided a function that only did the pure
    text filling between two positions, preferably also with the option to
    keep a fill postfix or to fill inside a rectangle. Doing the actual
    filling is pretty messy, so other packages rather device various
    kludges to avoid duplicating that code.

If this is useful, I'm in favor it in principle.  It could make the
code more modular.




reply via email to

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