auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Re: Unfillable paragraph with AUCTeX 11.86


From: Ralf Angeli
Subject: Re: [AUCTeX] Re: Unfillable paragraph with AUCTeX 11.86
Date: Tue, 16 Nov 2010 22:17:18 +0100

* Tassilo Horn (2010-11-16) writes:

> I edebugged the whole stuff, and the culprit is
> `LaTeX-fill-move-to-break-point'.  That function sometimes moves point
> to a totally different paragraph!  In this snippet
>
>       ;; Determine start and end of verbatim macro.
>       (let ((beg (point))
>             (end (if (not (string-match "[ [{]" (match-string 1)))
>                      (cdr (LaTeX-verbatim-macro-boundaries))
>                    (TeX-find-macro-end))))
[...]
> the variable `end' is set to a value that's much beyond the current
> paragraph (a few paragraphs later).

Hm, perhaps something like the `forward-sexp' call in
`TeX-find-macro-end-helper' fails?  Hard to tell without being able to
reproduce the problem.

> Here's another wrongly filled paragraph:
>
> All supported domains are depicted in figure
> \ref{fig:gruml-metaschema-domains}.  Currently, the basic types
> \lstinline{Boolean}, \lstinline{Integer}, \lstinline{Long},
> \lstinline{String}, and
> \lstinline{Double} are supported.  Additionally, there are homogenous 
> collections (\lstinline{Set} and \lstinline{List}), homogenous 
> \lstinline{Maps}, and records and enumerations that can be defined in a 
> schema.
>
> And before that breakpoint some paragraphs away, the breakpoint in the
> 4th line is much too early, at least the \lstinline{String} would easily
> fit into that line, too.  I think there's some bug in the search for the
> start of a verbatim environment...
>
> I've tried to create a minimal document (only that paragraph, or that
> paragraph a few times), but there it fills properly. :-(

Yeah, the example above works fine here as well. /c:

-- 
Ralf



reply via email to

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