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

推荐订阅源

T
Tenable Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
V
Vulnerabilities – Threatpost
G
GRAHAM CLULEY
Simon Willison's Weblog
Simon Willison's Weblog
C
CXSECURITY Database RSS Feed - CXSecurity.com
P
Privacy International News Feed
H
Heimdal Security Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
S
Secure Thoughts
MyScale Blog
MyScale Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
V
Visual Studio Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
L
LINUX DO - 最新话题
D
Darknet – Hacking Tools, Hacker News & Cyber Security
The Cloudflare Blog
美团技术团队
Recorded Future
Recorded Future
T
Tailwind CSS Blog
Latest news
Latest news
Security Archives - TechRepublic
Security Archives - TechRepublic
Security Latest
Security Latest
Know Your Adversary
Know Your Adversary
Cloudbric
Cloudbric
Schneier on Security
Schneier on Security
I
Intezer
L
LINUX DO - 热门话题
P
Palo Alto Networks Blog
云风的 BLOG
云风的 BLOG
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Vercel News
Vercel News
Attack and Defense Labs
Attack and Defense Labs
人人都是产品经理
人人都是产品经理
L
LangChain Blog
爱范儿
爱范儿
博客园 - 三生石上(FineUI控件)
博客园 - 叶小钗
L
Lohrmann on Cybersecurity
S
SegmentFault 最新的问题
W
WeLiveSecurity
C
Cybersecurity and Infrastructure Security Agency CISA
S
Securelist
SecWiki News
SecWiki News
V2EX - 技术
V2EX - 技术
IT之家
IT之家
Cyberwarzone
Cyberwarzone
F
Full Disclosure
Spread Privacy
Spread Privacy
阮一峰的网络日志
阮一峰的网络日志

elpa/gnu.git, branch externals/auctex

* doc/auctex.texi (Folding): Shorten the code example. Add new style/handstroke.el 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 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
Fix 'syntax-propertize because of narrowing!' error - elpa/gnu.git
Stefan Monni · 2026-07-10 · via elpa/gnu.git, branch externals/auctex
authorStefan Monnier <monnier@iro.umontreal.ca>2026-07-10 09:53:42 +0200
committerArash Esbati <arash@gnu.org>2026-07-10 09:53:42 +0200
commitb7efe049d4f732083bb12a71879b2c21a863e88b (patch)
treee2caabecc886c1f1561f32d1ec360cdb2ee2588a
parent7c4d522678e855444c30cdefc68e51bbcd69bb50 (diff)

Fix 'syntax-propertize because of narrowing!' errorexternals/auctex

* texmathp.el (texmathp-match-macro): Syntax-propertize before narrowing. (Emacs bug#81035)

-rw-r--r--texmathp.el5

1 files changed, 4 insertions, 1 deletions

diff --git a/texmathp.el b/texmathp.el
index b900ecd845d..7dd443a0150 100644
--- a/texmathp.el
+++ b/texmathp.el

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

;;; texmathp.el -- Code to check if point is inside LaTeX math environment -*- lexical-binding: t; -*-

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

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

;; Author: Carsten Dominik <dominik@strw.LeidenUniv.nl>

;; Maintainer: auctex-devel@gnu.org

@@ -395,6 +395,9 @@ Limit searches to BOUND. The return value is like (\"\\macro\" . (point))."

(save-restriction

(save-excursion

(set-syntax-table texmathp-syntax-table)

+ ;; `syntax-propertize' can't widen so make sure it won't

+ ;; need to (Emacs bug#81035).

+ (syntax-propertize (max 1 bound))

(narrow-to-region (max 1 bound) (point))

;; Move back out of the current parenthesis

(while (condition-case nil (progn (up-list -1) t) (error nil))