[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fill-paragraph ill designed
From: |
Stefan Monnier |
Subject: |
Re: fill-paragraph ill designed |
Date: |
Tue, 25 Aug 2015 10:53:59 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> `LaTeX-fill-paragraph'. In contrast to the normal `fill-paragraph', it
> ensures that verbatim macros will never be wrapped, e.g., \verb|foo bar|
> will always stay on one line which is very important. A wrapped
> verbatim macro is an error.
Isn't that what fill-nobreak-predicate is for?
> So now I'm curious, too. What's the right way for a mode to define its
> own filling rules?
For fill-region? There isn't any that can cover all known cases like
fill-paragraph-function does for fill-paragraph :-(
Stefan
Re: fill-paragraph ill designed, Stefan Monnier, 2015/08/25
- Re: fill-paragraph ill designed, Richard Stallman, 2015/08/25
- Re: fill-paragraph ill designed, Andreas Röhler, 2015/08/26
- Re: fill-paragraph ill designed, Tassilo Horn, 2015/08/26
- Re: fill-paragraph ill designed, Andreas Röhler, 2015/08/26
- Re: fill-paragraph ill designed, Tassilo Horn, 2015/08/26
- Re: fill-paragraph ill designed, Andreas Röhler, 2015/08/26
- Re: fill-paragraph ill designed, Tassilo Horn, 2015/08/26
- Re: fill-paragraph ill designed, Stefan Monnier, 2015/08/27