[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#53749: 29.0.50; [PATCH] Xref backend for TeX buffers
From: |
Arash Esbati |
Subject: |
bug#53749: 29.0.50; [PATCH] Xref backend for TeX buffers |
Date: |
Mon, 21 Feb 2022 13:35:52 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 |
David Fussner via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs@gnu.org> writes:
> diff --git a/lib-src/etags.c b/lib-src/etags.c
> index aa5bc8839d..e5269aa456 100644
> --- a/lib-src/etags.c
> +++ b/lib-src/etags.c
> [...]
> /* Default set of control sequences to put into TEX_toktab.
> - The value of environment var TEXTAGS is prepended to this. */
> + The value of environment var TEXTAGS is prepended to this.
> + (2021) Add variants of '\def', some additional LaTeX commands,
> + and common variants from the 'etoolbox' package. Also, add
> + starred variants of the commands if they exist. Starred
> + variants need to appear before their unstarred versions. */
> static const char *TEX_defenv = "\
> -:chapter:section:subsection:subsubsection:eqno:label:ref:cite:bibitem\
> -:part:appendix:entry:index:def\
> -:newcommand:renewcommand:newenvironment:renewenvironment";
> +:chapter*:section*:subsection*:subsubsection*:part*:label:ref\
> +:chapter:section:subsection:subsubsection:eqno:cite:bibitem\
> +:part:appendix:entry:index:def:edef:gdef:xdef:newcommand*:newcommand\
> +:renewcommand*:renewcommand:newenvironment*:newenvironment\
> +:renewenvironment*:renewenvironment:DeclareRobustCommand*\
> +:DeclareRobustCommand:renewrobustcmd*:renewrobustcmd:newrobustcmd*\
> +:newrobustcmd:let:csdef:csedef:csgdef:csxdef:csletcs:cslet";
Hi David,
thanks for looking into this. While you're at it, can you also please
add support for the former xparse \newcommand variants which are now
(now is October 2020) part of LaTeX kernel, namely:
\NewDocumentCommand
\RenewDocumentCommand
\ProvideDocumentCommand
\DeclareDocumentCommand
\NewDocumentEnvironment
\RenewDocumentEnvironment
\ProvideDocumentEnvironment
\DeclareDocumentEnvironment
\NewExpandableDocumentCommand
\RenewExpandableDocumentCommand
\ProvideExpandableDocumentCommand
\DeclareExpandableDocumentCommand
TIA. Best, Arash
- bug#53749: 29.0.50; [PATCH] Xref backend for TeX buffers, (continued)
- bug#53749: 29.0.50; [PATCH] Xref backend for TeX buffers, Dmitry Gutov, 2022/02/20
- bug#53749: 29.0.50; [PATCH] Xref backend for TeX buffers, David Fussner, 2022/02/21
- bug#53749: 29.0.50; [PATCH] Xref backend for TeX buffers, David Fussner, 2022/02/21
- bug#53749: 29.0.50; [PATCH] Xref backend for TeX buffers, Dmitry Gutov, 2022/02/21
- bug#53749: 29.0.50; [PATCH] Xref backend for TeX buffers, David Fussner, 2022/02/22
- bug#53749: 29.0.50; [PATCH] Xref backend for TeX buffers, Dmitry Gutov, 2022/02/22
- bug#53749: 29.0.50; [PATCH] Xref backend for TeX buffers, David Fussner, 2022/02/23
- bug#53749: 29.0.50; [PATCH] Xref backend for TeX buffers, Dmitry Gutov, 2022/02/23
- bug#53749: 29.0.50; [PATCH] Xref backend for TeX buffers, David Fussner, 2022/02/24
- bug#53749: 29.0.50; [PATCH] Xref backend for TeX buffers, Dmitry Gutov, 2022/02/21
bug#53749: 29.0.50; [PATCH] Xref backend for TeX buffers,
Arash Esbati <=
bug#53749: 29.0.50; [PATCH] Xref backend for TeX buffers, Augusto Stoffel, 2022/02/25
- bug#53749: 29.0.50; [PATCH] Xref backend for TeX buffers, David Fussner, 2022/02/26
- bug#53749: 29.0.50; [PATCH] Xref backend for TeX buffers, Augusto Stoffel, 2022/02/26
- bug#53749: 29.0.50; [PATCH] Xref backend for TeX buffers, Arash Esbati, 2022/02/27
- bug#53749: 29.0.50; [PATCH] Xref backend for TeX buffers, David Fussner, 2022/02/28
- bug#53749: 29.0.50; [PATCH] Xref backend for TeX buffers, Arash Esbati, 2022/02/28
- bug#53749: 29.0.50; [PATCH] Xref backend for TeX buffers, Augusto Stoffel, 2022/02/28
- bug#53749: 29.0.50; [PATCH] Xref backend for TeX buffers, Arash Esbati, 2022/02/28
bug#53749: 29.0.50; [PATCH] Xref backend for TeX buffers, Augusto Stoffel, 2022/02/28