惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

量子位
T
The Blog of Author Tim Ferriss
U
Unit 42
Microsoft Security Blog
Microsoft Security Blog
WordPress大学
WordPress大学
Vercel News
Vercel News
MongoDB | Blog
MongoDB | Blog
P
Proofpoint News Feed
D
DataBreaches.Net
The GitHub Blog
The GitHub Blog
大猫的无限游戏
大猫的无限游戏
C
Check Point Blog
Blog — PlanetScale
Blog — PlanetScale
I
InfoQ
Y
Y Combinator Blog
F
Full Disclosure
B
Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
G
Google Developers Blog
博客园_首页
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
月光博客
月光博客
博客园 - 三生石上(FineUI控件)
博客园 - 叶小钗
S
SegmentFault 最新的问题
腾讯CDC
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
V
Visual Studio Blog
Apple Machine Learning Research
Apple Machine Learning Research
人人都是产品经理
人人都是产品经理
Recent Commits to openclaw:main
Recent Commits to openclaw:main
The Register - Security
The Register - Security
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Microsoft Azure Blog
Microsoft Azure Blog
云风的 BLOG
云风的 BLOG
Last Week in AI
Last Week in AI
F
Fortinet All Blogs
C
CXSECURITY Database RSS Feed - CXSecurity.com
Hugging Face - Blog
Hugging Face - Blog
T
Threatpost
GbyAI
GbyAI
G
GRAHAM CLULEY
L
Lohrmann on Cybersecurity
T
The Exploit Database - CXSecurity.com
P
Palo Alto Networks Blog
L
LangChain Blog
T
Tenable Blog
C
Cisco Blogs
T
Threat Research - Cisco Blogs
Google Online Security Blog
Google Online Security Blog

elpa/gnu.git, branch externals/auctex

* doc/auctex.texi (Folding): Shorten the code example. Add new style/handstroke.el Fix 'syntax-propertize because of narrowing!' error - elpa/gnu.git elpa/gnu.git - GNU ELPA Activate new xref backend - elpa/gnu.git elpa/gnu.git - GNU ELPA elpa/gnu.git - GNU ELPA ; Fix description about `LaTeX-expl3-syntax-table' - elpa/gnu.git Delete compat function `TeX-always' - elpa/gnu.git elpa/gnu.git - GNU ELPA elpa/gnu.git - GNU ELPA elpa/gnu.git - GNU ELPA Add new style/lineno.el - elpa/gnu.git Record workaround for autonum previews - elpa/gnu.git elpa/gnu.git - GNU ELPA Update style/eso-pic.el to package v3.0e ; * style/contract.el ("contract"): Speed up the additions. - elpa/gnu.git ; * style/contract.el ("contract"): Speed up the additions. ; * doc/faq.texi: Provide a more accessible Lisp form. (Bug#81034) - elpa/gnu.git ; * doc/faq.texi: Provide a more accessible Lisp form. (Bug#81034) ; * style/expl3.el (TeX-arg-expl3-macro): Fix docstring. - elpa/gnu.git ; * style/expl3.el (TeX-arg-expl3-macro): Fix docstring. Update style/simpleicons.el to package v16.17.0 - elpa/gnu.git Update style/simpleicons.el to package v16.17.0 elpa/gnu.git - GNU ELPA * style/contract.el ("contract"): Fix usage of \refParN. Improve matching of header end/trailer start in ConTeXt - elpa/gnu.git Improve matching of header end/trailer start in ConTeXt elpa/gnu.git - GNU ELPA Improve style/standalone.el elpa/gnu.git - GNU ELPA Update style/lua-unicode-math.el to package v0.8 Update style/babel.el to package v26.4 - elpa/gnu.git * style/babel-german.el ("babel-german"): Add missing macros. - elpa/gnu.git Update style/simpleicons.el to package v16.12.0 - elpa/gnu.git elpa/gnu.git - GNU ELPA elpa/gnu.git - GNU ELPA elpa/gnu.git - GNU ELPA elpa/gnu.git - GNU ELPA Add compatibility shim for obsolete preview option
Fix fontification of verb macros followed by space - elpa/gnu.git
Arash Esbati · 2026-06-18 · via elpa/gnu.git, branch externals/auctex

* font-latex.el (font-latex-set-syntactic-keywords): Fix fontification of inline verbatim macros when the macro itself is followed by a space. The space is gobbled correctly since LaTeX release 2020-10-01. * tests/latex/font-latex-test.el (font-latex-general-fontification): Adjust test accordingly.

diff --git a/font-latex.el b/font-latex.el
index 7873a4a5681..0908d78e8a0 100644
--- a/font-latex.el
+++ b/font-latex.el

@@ -1,6 +1,6 @@

;;; font-latex.el --- LaTeX fontification for Font Lock mode. -*- lexical-binding: t; -*-

-;; Copyright (C) 1996-2025 Free Software Foundation, Inc.

+;; Copyright (C) 1996-2026 Free Software Foundation, Inc.

;; Authors: Peter S. Galbraith <psg@debian.org>

;; Simon Marshall <Simon.Marshall@esrin.esa.it>

@@ -1091,6 +1091,10 @@ have changed."

(add-to-list

'font-latex-syntactic-keywords

`(,(concat "\\\\\\(?:" verb-macros-with-delims "\\)"

+ ;; Since LaTeX release 2020-10-01, spaces after \verb

+ ;; macro are gobbled like with other macros (see

+ ;; ltnews32.pdf), so deal with them:

+ "[ \t]*"

;; Some macros take an optional argument. This is

;; the same line as above for environments.

"\\(?:\\[[^][]*\\(?:\\[[^][]*\\][^][]*\\)*\\]\\)?"

@@ -1109,6 +1113,8 @@ have changed."

(add-to-list

'font-latex-syntactic-keywords

`(,(concat "\\\\\\(?:" verb-macros-with-braces "\\)"

+ ;; Spaces are allowed after macros as usual:

+ "[ \t]*"

;; Some macros take an optional argument. This is

;; the same line as above for environments.

"\\(?:\\[[^][]*\\(?:\\[[^][]*\\][^][]*\\)*\\]\\)?"

@@ -1,6 +1,6 @@

;;; font-latex-test.el --- tests for font-latex -*- lexical-binding: t; -*-

-;; Copyright (C) 2020-2024 Free Software Foundation, Inc.

+;; Copyright (C) 2020-2026 Free Software Foundation, Inc.

;; This file is part of AUCTeX.

@@ -115,6 +115,7 @@ $a$")

\\section{Macros}

Inline verbatim test: \\verb|x|

+Inline verbatim test: \\verb* |x|

Inline math test: $x$, \\(x\\)

Marginpar test: \\marginpar{x}

Sedate macro test: \\sedate

@@ -215,6 +216,9 @@ x

(search-forward "\\verb|")

(should (font-latex-faces-present-p 'font-latex-verbatim-face))

(end-of-line)

+ (search-forward "\\verb* |")

+ (should (font-latex-faces-present-p 'font-latex-verbatim-face))

+ (end-of-line)

;; Test for inline math:

(search-forward "$")