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. 6654955216a42936b87f


From: Ikumi Keita
Subject: [AUCTeX-commit] GNU AUCTeX branch, master, updated. 6654955216a42936b87f76dc346aad829b1d52fb
Date: Tue, 2 Jun 2020 13:22:52 -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  6654955216a42936b87f76dc346aad829b1d52fb (commit)
      from  fc77abfcee426c3b3e0ced2f0cad02a385bfcb60 (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 6654955216a42936b87f76dc346aad829b1d52fb
Author: Ikumi Keita <ikumi@ikumi.que.jp>
Date:   Wed Jun 3 01:44:32 2020 +0900

    Use search-based fontification for $...$ (bug#33139)
    
    It turned out that using "text quotes" syntax for "$" in
    `font-lock-syntax-table' sometimes leads to scrambled fontification
    about in-line math $...$ (bug#33139). That's because conflicting
    results of `syntax-ppss' are compiled into syntax-ppss cache as
    explained in:
    https://lists.gnu.org/archive/html/emacs-devel/2020-05/msg02725.html
    We, Keita, Tassilo and Arash discussed this issue and decided to use
    search-based fontification for $...$ since syntactic fontification for
    $...$ doesn't seem prospective with regard to this bug.
    
    * font-latex.el (font-latex-match-dollar-math):
    
(font-latex-find-dollar-math,font-latex-extend-region-backwards-dollar-math):
    New functions to do search-based fontification for $...$.
    Fontification facility for $$...$$ is merged into them.
    (font-latex-make-user-keywords,font-latex-setup): Use new functions.
    (font-latex-syntax-alist): Don't change syntax of "$" during font lock.
    (font-latex-syntactic-face-function): Simplify.

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

Summary of changes:
 font-latex.el | 131 +++++++++++++++++++++++++++++++++++++++++++++++++---------
 1 file changed, 111 insertions(+), 20 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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