[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-AUCTeX] 11.82; better recognition of ConTeXt source files
From: |
Frank Küster |
Subject: |
[Bug-AUCTeX] 11.82; better recognition of ConTeXt source files |
Date: |
Thu, 20 Apr 2006 09:28:02 +0200 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
Hi,
a Debian user has suggested a few more patterns to recognize ConTeXt
source files. He also supplied a patch, which just consists of adding a
couple of keywords to the existing regex: startproject,
startenvironment, startproduct, starttyping, startcomponent. I guess
the patch is small enough so that there's no copyright problem, but to
be sure here's a page break
Here are a few more patterns to recognize ConTeXt source files:
--- a/tex.el 2006-02-05 07:14:48.000000000 -0500
+++ b/tex.el 2006-04-20 00:46:46.000000000 -0400
@@ -2158,7 +2158,7 @@
("AMSTEX" ams-tex-mode
"\\\\document\\b")
("CONTEXT" context-mode
- "\\(\\\\\\(starttext\\|starttekst\\)\\|%.*?interface=\\)")
+
"\\(\\\\\\(start\\(text\\|project\\|environment\\|product\\|typing\\|component\\|tekst\\)\\)\\|%.*?interface=\\)")
("LATEX" latex-mode
"\\\\\\(begin\\|section\\|chapter\\|documentstyle\\|documentclass\\)\\b")
("TEX" plain-tex-mode "."))
Regards, Frank
--
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX)
- [Bug-AUCTeX] 11.82; better recognition of ConTeXt source files,
Frank Küster <=