|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
|
|
|
Re: Re: problem (bug?) with fill prefix in latex mode* Martin Rubey (2009-10-16) writes:
> I should add: the problem is very likely in LaTeX-fill-paragraph from > latex.el from auctex, therefore I CC... > > The top lines of the ChangeLog in /usr/share/emacs/site-lisp/auctex/ say > > 2007-01-12 Ralf Angeli <angeli@...> > > * Version 11.84 released. > > (No idea how to get the version otherwise) C-h v AUCTeX-version <RET> > I'm using emacs 22 there. > > Martin > > Martin Rubey <axiomize@...> writes: > >> I have the following text in a latex mode buffer >> >> ++ maxMixedDegree(d) specifies the maximum q-degree of the >> ++ coefficient polynomials in a recurrence with polynomial >> ++ coefficients, in the case of mixed shifts. Although slightly >> ++ inconsistent, maxMixedDegree(0) specifies that no mixed shifts >> ++ are allowed. This option is expressed in the form >> ++ \spad{maxMixedDegree == d}. >> >> >> setting fill-prefix to " ++ " and pressing M-q turns it into >> >> ++ maxMixedDegree(d) specifies the maximum q-degree of the ++ >> coefficient polynomials in a recurrence with polynomial ++ >> coefficients, in the case of mixed shifts. Although slightly >> ++ inconsistent, maxMixedDegree(0) specifies that no mixed >> shifts ++ are allowed. This option is expressed in the form ++ >> \spad{maxMixedDegree == d}. >> >> Help for fixing that would be greatly appreciated! The filling and indentation code in latex.el tries hard to support outer and inner indentation of commented passages of text. It seems the handling of fill prefixes broke when I implemented this feature. You can get some better results by activating Adaptive Fill mode and adding "+" to `adaptive-fill-regexp'. The problem remaining with this approach is an excessive blank after the fill prefix which is not taken care of by the indentation code. -- Ralf _______________________________________________ auctex mailing list auctex@... http://lists.gnu.org/mailman/listinfo/auctex |
|
|
Re: problem (bug?) with fill prefix in latex modeThe following message is a courtesy copy of an article
that has been posted to gnu.emacs.help as well. Dear Ralf, thanks for your answer on the mailing list. I meanwhile found a different workaround, which consists simply in using fill-region-as-paragraph. It should admit that the real offender is mmm-mode, since it doesn't switch properly between latex and code chunks. But it seems that mmm is not supported anymore, is it? All the best, Martin _______________________________________________ auctex mailing list auctex@... http://lists.gnu.org/mailman/listinfo/auctex |
| Free embeddable forum powered by Nabble | Forum Help |