bug-auctex
[Top][All Lists]
Advanced

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

bug#51762: 13.0.14; environment formating


From: Ikumi Keita
Subject: bug#51762: 13.0.14; environment formating
Date: Sat, 13 Nov 2021 00:28:08 +0900

>>>>> Ikumi Keita <ikumi@ikumi.que.jp> writes:
> It seems that the regexp in `LaTeX-fill-region-as-paragraph' to identify
> a code comment isn't wise enough:
> ----------------------------------------------------------------------
>           (if (re-search-forward
>                (concat "\\("
>                        ;; Code comments.
>                        "\\([^ \r\n%\\]\\|\\\\%\\)\\([ \t]\\|\\\\\\\\\\)*"
>                        TeX-comment-start-regexp
>                        "\\|"
> [...]
> ----------------------------------------------------------------------
> This doesn't match lines which end with "\ %%". I'll try to find
> something better.

I think the attached patch fixes the problem. Could you test whether it
works on your side?

I confirmed this fix passes regression test, but would appreciate if
others also could have a look to find any possible regression.

Regards,
Ikumi Keita

Attachment: patch
Description: augment regexp


reply via email to

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