GNU bug report logs - #51762
13.0.14; environment formating

Previous Next

Package: auctex;

Reported by: "Pierre L. Nageoire" <devel <at> pollock-nageoire.net>

Date: Thu, 11 Nov 2021 07:15:02 UTC

Severity: normal

Tags: confirmed

Found in version 13.0.14

Done: Ikumi Keita <ikumi <at> ikumi.que.jp>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ikumi Keita <ikumi <at> ikumi.que.jp>
To: "Pierre L. Nageoire" <devel <at> pollock-nageoire.net>
Cc: 51762 <at> debbugs.gnu.org
Subject: bug#51762: 13.0.14; environment formating
Date: Sat, 13 Nov 2021 00:28:08 +0900
[Message part 1 (text/plain, inline)]
>>>>> Ikumi Keita <ikumi <at> 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 (text/x-diff, attachment)]

This bug report was last modified 3 years and 183 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.