auctex-commit
[Top][All Lists]
Advanced

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

[AUCTeX-commit] GNU AUCTeX branch, master, updated. 0ce906cfc7a33a0be501


From: Arash Esbati
Subject: [AUCTeX-commit] GNU AUCTeX branch, master, updated. 0ce906cfc7a33a0be50180a6344ddfdfe0d89cb7
Date: Fri, 18 Mar 2022 05:02:06 -0400 (EDT)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
       via  0ce906cfc7a33a0be50180a6344ddfdfe0d89cb7 (commit)
      from  e37c7a8b392d72f242f9fbc9ebb6e8ac74af41b7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0ce906cfc7a33a0be50180a6344ddfdfe0d89cb7
Author: Arash Esbati <arash@gnu.org>
Date:   Fri Mar 18 10:01:13 2022 +0100

    Improve indentation of conditionals
    
    * latex.el (LaTeX-indent-begin-list)
    (LaTeX-indent-begin-exceptions-list, LaTeX-indent-mid-list)
    (LaTeX-indent-end-list): New variables containing list of macros
    which alter the indentation.
    (LaTeX-indent-begin-regexp-local)
    (LaTeX-indent-begin-regexp-exceptions-local)
    (LaTeX-indent-mid-regexp-local, LaTeX-indent-end-regexp-local):
    New variables containing the regexp's calculated from the
    variables above.
    (LaTeX-indent-commands-regexp-make): New function calculating the
    regexp's.
    (LaTeX-indent-calculate):
    (LaTeX-indent-calculate-last): Indent at regexps from
    `LaTeX-indent-end-regexp-local' and
    `LaTeX-indent-mid-regexp-local'.
    (LaTeX-indent-level-count): Increase/decrease indentation
    depending on `LaTeX-indent-begin-regexp-local' and
    `LaTeX-indent-end-regexp-local'.
    
    * tests/latex/latex-test.el (LaTeX-conditionals-indent): New test.

-----------------------------------------------------------------------

Summary of changes:
 latex.el                                | 141 +++++++++++++++++++++++++++++++-
 tests/latex/conditionals-indent-in.tex  |  96 ++++++++++++++++++++++
 tests/latex/conditionals-indent-out.tex |  96 ++++++++++++++++++++++
 tests/latex/latex-test.el               |  26 +++++-
 4 files changed, 355 insertions(+), 4 deletions(-)
 create mode 100644 tests/latex/conditionals-indent-in.tex
 create mode 100644 tests/latex/conditionals-indent-out.tex


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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