[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: c-fill-paragrpah for code, not just comments
From: |
James K. Lowden |
Subject: |
Re: c-fill-paragrpah for code, not just comments |
Date: |
Fri, 14 Dec 2018 13:33:54 -0500 |
On Thu, 13 Dec 2018 16:28:20 -0500
Ken Goldman <kgoldman@us.ibm.com> wrote:
> (The use case is auto-generated code that has to be pasted into a
> Word document and has a line length limit.)
Ah, so what you really want to do is format the code to fit the
allotted space. That's not "filling", which usually means to re-flow
the lines as prose.
I don't know the emacs answer. I think you'll find that GNU indent has
all the knobs you need, though.
--jkl