GNU bug report logs -
#65824
Indent after open delimiters in verb constructs
Previous Next
Reported by: Arash Esbati <arash <at> gnu.org>
Date: Fri, 8 Sep 2023 15:46:02 UTC
Severity: normal
Done: Arash Esbati <arash <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #13 received at 65824-done <at> debbugs.gnu.org (full text, mbox):
Hi Keita,
Ikumi Keita <ikumi <at> ikumi.que.jp> writes:
> Hmm, it really matters, I think there are two actions that we can take:
> 1. Remove `save-match-data' from `LaTeX-verbatim-p' and announce the
> removal in changes.texi. Grepping over the current source briefly,
> the only usage of (La)TeX-verbatim-p that needs to preserve the match
> data is `LaTeX-search-forward-comment-start'. So wrapping it with
> `save-match-data' in that function is easy. (In addition,
> `LaTeX-search-forward-comment-start' is only used as a value of
> `TeX-search-forward-comment-start-function', which is only used in
> `TeX-search-forward-comment-start', which isn't used at all now.)
> 2. Implement LaTeX mode function for `indent-region'. Now AUCTeX has
> "line-by-line" indent function only, but there are apparent overheads
> when AUCTeX indents a region. We could implement region-oriented
> indent function which works with less overheads.
Thanks for your response. I pushed that change (a228137f66). I'd say
let's wait and see if users complain about any performance regressions,
we can then implement one of your suggestions above.
For now, I'm closing this report.
Best, Arash
This bug report was last modified 1 year and 247 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.