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

推荐订阅源

N
News and Events Feed by Topic
V
V2EX
博客园 - 【当耐特】
Vercel News
Vercel News
雷峰网
雷峰网
爱范儿
爱范儿
WordPress大学
WordPress大学
云风的 BLOG
云风的 BLOG
S
Securelist
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Microsoft Azure Blog
Microsoft Azure Blog
F
Full Disclosure
有赞技术团队
有赞技术团队
Hugging Face - Blog
Hugging Face - Blog
NISL@THU
NISL@THU
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Attack and Defense Labs
Attack and Defense Labs
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
Microsoft Security Blog
Microsoft Security Blog
腾讯CDC
P
Proofpoint News Feed
B
Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
K
Kaspersky official blog
I
InfoQ
Google Online Security Blog
Google Online Security Blog
L
LINUX DO - 最新话题
Project Zero
Project Zero
Engineering at Meta
Engineering at Meta
V
Visual Studio Blog
AI
AI
Schneier on Security
Schneier on Security
B
Blog RSS Feed
T
Tor Project blog
H
Help Net Security
H
Hackread – Cybersecurity News, Data Breaches, AI and More
L
LINUX DO - 热门话题
阮一峰的网络日志
阮一峰的网络日志
S
Security @ Cisco Blogs
T
Threat Research - Cisco Blogs
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
C
Cyber Attacks, Cyber Crime and Cyber Security
G
Google Developers Blog
Google DeepMind News
Google DeepMind News
V2EX - 技术
V2EX - 技术
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
A
Arctic Wolf
Webroot Blog
Webroot Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main

elpa/gnu.git, branch externals/auctex

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 ; Fix description about `LaTeX-expl3-syntax-table' - elpa/gnu.git Delete compat function `TeX-always' - elpa/gnu.git Fix fontification of verb macros followed by space - 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
elpa/gnu.git - GNU ELPA
Ikumi Keita · 2026-06-23 · via elpa/gnu.git, branch externals/auctex

* tex.el (TeX-parse-error): Refactor the regexp to simplify the logic. Don't miss "! " at BOL case. (TeX-error): Remove \n\r, which was too specific for (older) ConTeXt error message.

diff --git a/tex.el b/tex.el
index c095e9c5063..7bbd7a07a78 100644
--- a/tex.el
+++ b/tex.el

@@ -9642,8 +9642,9 @@ displaying the issue.

Return non-nil if an error or warning is found."

(let ((regexp

(concat

- ;; TeX error: grab (1) filename:line-number and (2) filename:

- "^\\(!\\|\\(.+?\\):[0-9]+:\\) \\|"

+ ;; TeX error: (1) or

+ ;; LaTeX error: grab (2) filename

+ "^\\(! \\)\\|^\\(.+?\\):[0-9]+: \\|"

;; New file (or parenthesized comment): match 3

"(\n?\\([^\n()]+\\)\\|"

;; End of file (or comment): "match" 4

@@ -9675,21 +9676,28 @@ Return non-nil if an error or warning is found."

(beep)

(TeX-pop-to-buffer old))

nil)

- ;; TeX/LaTeX (1) or ConTeXt LMTX (9) error:

- ((or (match-beginning 1) (match-beginning 9))

- (if (or ;; Ignore non-error warning. (bug#55065)

- (file-exists-p (TeX-match-buffer 2))

- (file-exists-p (TeX-match-buffer 10)))

+ ;; TeX (1), LaTeX (2) or ConTeXt LMTX (9) error:

+ ((or (match-beginning 1) (match-beginning 2) (match-beginning 9))

+ (if (or

+ ;; When we have "! " at BOL, treat it as an error

+ ;; unconditionally.

+ (match-beginning 1)

+ ;; Ignore non-error warning. (bug#55065)

+ (file-exists-p (TeX-match-buffer

+ (if (match-beginning 2)

+ 2 10))))

(progn

- (unless TeX-error-file

- (push nil TeX-error-file)

- (push nil TeX-error-offset))

- (unless (car TeX-error-offset)

- ;; match 2 or 10 is the .tex file name.

- (rplaca TeX-error-file

- (if (match-beginning 2)

- (TeX-match-buffer 2)

- (TeX-match-buffer 10))))

+ (when (or (match-beginning 2)

+ (match-beginning 10))

+ (unless TeX-error-file

+ (push nil TeX-error-file)

+ (push nil TeX-error-offset))

+ (unless (car TeX-error-offset)

+ ;; match 2 or 10 is the .tex file name.

+ (rplaca TeX-error-file

+ (TeX-match-buffer

+ (if (match-beginning 2)

+ 2 10)))))

(setq error-found t)

(if (looking-at "Preview ")

t

@@ -9697,7 +9705,8 @@ Return non-nil if an error or warning is found."

nil))

;; This wasn't an actual TeX error. Go to the least

;; possible point to search again.

- (goto-char (1+ (match-beginning 1)))

+ (goto-char (1+ (or (match-beginning 2)

+ (match-beginning 9))))

t))

;; LaTeX bad box

((match-beginning 7)

@@ -9940,7 +9949,7 @@ information in `TeX-error-list' instead of displaying the error."

;; This regexp deals with this problem.

(string (progn

(beginning-of-line)

- (re-search-forward " \\(\\([^ \t\n\r]*$\\)\\|\\($\\)\\)")

+ (re-search-forward " \\(\\([^ \t]*$\\)\\|\\($\\)\\)")

(TeX-match-buffer 1)))

;; (point) is now positioned at the end of the input line