[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
patch
Description: augment regexp
- bug#51762: 13.0.14; environment formating, Pierre L. Nageoire, 2021/11/11
- bug#51762: 13.0.14; environment formating, Ikumi Keita, 2021/11/12
- bug#51762: 13.0.14; environment formating,
Ikumi Keita <=
- bug#51762: 13.0.14; environment formating, Ikumi Keita, 2021/11/12
- bug#51762: 13.0.14; environment formating, Arash Esbati, 2021/11/13
- bug#51762: 13.0.14; environment formating, Ikumi Keita, 2021/11/14
- bug#51762: 13.0.14; environment formating, Arash Esbati, 2021/11/15
- bug#51762: 13.0.14; environment formating, Ikumi Keita, 2021/11/16
- bug#51762: 13.0.14; environment formating, Arash Esbati, 2021/11/17
- bug#51762: 13.0.14; environment formating, Ikumi Keita, 2021/11/17
- bug#51762: 13.0.14; environment formating, Ikumi Keita, 2021/11/18
- bug#51762: 13.0.14; environment formating, Ikumi Keita, 2021/11/18
- bug#51762: 13.0.14; environment formating, Arash Esbati, 2021/11/18