On Fri, Oct 06 2006, Ralf Angeli wrote:

> The bug is caused by a regexp for detecting code comments in
> `LaTeX-fill-region-as-paragraph' failing on "\ %".  The respective
> function call is something like
> (re-search-forward "[^ \t\r\n%\\]\\([ \t]\\|\\\\\\\\\\)*%" nil t)
>
> I'd propose to change this to
> (re-search-forward "[^\r\n%\\]\\([ \t]\\|\\\\\\\\\\)*%" nil t)
> unless someone can come up with a false positive or negative for this
> regexp when detecting code comments.

Thanks, works for me.  I didn't test it intensively, though.  Probably
we should have some LaTeX documents for automatic regression test,
especially for filling.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/



_______________________________________________
bug-auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to