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

推荐订阅源

Vercel News
Vercel News
Recorded Future
Recorded Future
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
The GitHub Blog
The GitHub Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Google DeepMind News
Google DeepMind News
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Microsoft Azure Blog
Microsoft Azure Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
M
MIT News - Artificial intelligence
云风的 BLOG
云风的 BLOG
Y
Y Combinator Blog
N
News | PayPal Newsroom
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Help Net Security
Help Net Security
博客园 - Franky
SecWiki News
SecWiki News
Recent Announcements
Recent Announcements
T
Troy Hunt's Blog
The Register - Security
The Register - Security
The Last Watchdog
The Last Watchdog
Webroot Blog
Webroot Blog
S
Security Affairs
博客园 - 司徒正美
S
Schneier on Security
I
InfoQ
博客园_首页
www.infosecurity-magazine.com
www.infosecurity-magazine.com
T
Threat Research - Cisco Blogs
Forbes - Security
Forbes - Security
腾讯CDC
N
Netflix TechBlog - Medium
N
News and Events Feed by Topic
Cloudbric
Cloudbric
T
The Exploit Database - CXSecurity.com
P
Proofpoint News Feed
A
About on SuperTechFans
Engineering at Meta
Engineering at Meta
Recent Commits to openclaw:main
Recent Commits to openclaw:main
B
Blog
V
Vulnerabilities – Threatpost
C
Check Point Blog
Google DeepMind News
Google DeepMind News
Google Online Security Blog
Google Online Security Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
Hacker News - Newest:
Hacker News - Newest: "LLM"
C
Cisco Blogs
Schneier on Security
Schneier on Security
O
OpenAI News
K
Kaspersky official blog

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 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 - 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
Improve matching of header end/trailer start in ConTeXt - elpa/gnu.git
2026-04-01 · via elpa/gnu.git, branch externals/auctex
authorArash Esbati <arash@gnu.org>2026-03-31 21:13:33 +0200
committerArash Esbati <arash@gnu.org>2026-03-31 21:13:33 +0200
commit4dc9c8cc1d3672479665923bd0ae807839d3a64c (patch)
treebf5a006e3df7625cbed1aeb04bf20396516aeb3f
parentf0f80f5bfd678fbd58cfeb8e8db472e442b69522 (diff)

Improve matching of header end/trailer start in ConTeXt

* context.el (ConTeXt-header-end): Add other macro names marking the header end. Add regexp to match additional arguments. (ConTeXt-trailer-start): Add other macro names marking the trailer start. Issue reported by Jim Diamond <zlists+auctex@jdvb.ca>: https://lists.gnu.org/archive/html/auctex/2026-03/msg00010.html

-rw-r--r--context.el10

1 files changed, 7 insertions, 3 deletions

diff --git a/context.el b/context.el
index 64f1179a182..a154bbccdad 100644
--- a/context.el
+++ b/context.el

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

;;; context.el --- Support for ConTeXt documents. -*- lexical-binding: t; -*-

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

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

;; Author: Patrick Gundlach <pg@levana.de>

;; Berend de Boer <berend@pobox.com>

@@ -1257,14 +1257,18 @@ header is at the start of a line."

(concat

(regexp-quote TeX-esc)

(ConTeXt-environment-start-name)

- ConTeXt-text))

+ (regexp-opt `( ,ConTeXt-text "component" "document" "MPpage"

+ "product" "TEXpage"))

+ ;; Allow one level of argument inside braces

+ "\\(?:[ \t]*\\(?:\\[[^][]*?\\(?:{[^}{]*}[^][]*\\)*\\]\\)?\\|.*$\\)"))

(defun ConTeXt-trailer-start ()

"Default start of trailer marker for ConTeXt documents."

(concat

(regexp-quote TeX-esc)

(ConTeXt-environment-stop-name)

- ConTeXt-text))

+ (regexp-opt `( ,ConTeXt-text "component" "document" "MPpage"

+ "product" "TEXpage"))))

(defun ConTeXt-outline-offset ()

"Offset to add to `ConTeXt-section-list' levels to get outline level."