[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex c7c77a2 06/11: Fix parsing of new auto types in
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex c7c77a2 06/11: Fix parsing of new auto types in style files. |
Date: |
Sat, 11 Apr 2015 12:02:41 +0000 |
branch: externals/auctex
commit c7c77a29202353e2a8528ff054b9e029cc05f5a6
Author: Mosè Giordano <address@hidden>
Commit: Mosè Giordano <address@hidden>
Fix parsing of new auto types in style files.
* style/acro.el:
* style/acronym.el:
* style/caption.el:
* style/color.el:
* style/enumitem.el:
* style/geometry.el:
* style/minted.el:
* style/pst-plot.el:
* style/pstricks.el:
* style/siunitx.el: Update copyright years and add
`TeX-auto-parse' to `TeX-update-style-hook'.
---
ChangeLog | 23 +++++++++++++++++++++++
style/acro.el | 8 ++++----
style/acronym.el | 8 ++++----
style/caption.el | 2 ++
style/color.el | 1 +
style/enumitem.el | 1 +
style/geometry.el | 2 ++
style/minted.el | 1 +
style/pst-plot.el | 7 ++++---
style/pstricks.el | 9 ++++-----
style/siunitx.el | 8 ++++----
11 files changed, 50 insertions(+), 20 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index c629bc9..71f2f99 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,26 @@
+2015-03-28 Mos� Giordano <address@hidden>
+
+ * style/acro.el:
+
+ * style/acronym.el:
+
+ * style/caption.el:
+
+ * style/color.el:
+
+ * style/enumitem.el:
+
+ * style/geometry.el:
+
+ * style/minted.el:
+
+ * style/pst-plot.el:
+
+ * style/pstricks.el:
+
+ * style/siunitx.el: Update copyright years and add
+ `TeX-auto-parse' to `TeX-update-style-hook'.
+
2015-03-28 Arash Esbati <address@hidden>
* Makefile.in (STYLESRC): Add new style.
diff --git a/style/acro.el b/style/acro.el
index 6d74533..66781c9 100644
--- a/style/acro.el
+++ b/style/acro.el
@@ -1,6 +1,6 @@
;;; acro.el --- AUCTeX style for `acro.sty' version 1.2a.
-;; Copyright (C) 2013, 2014 Free Software Foundation, Inc.
+;; Copyright (C) 2013-2015 Free Software Foundation, Inc.
;; Maintainer: address@hidden
;; Author: Mosè Giordano <address@hidden>
@@ -102,9 +102,9 @@ set to `true'."
(LaTeX-provided-package-options-member "acro" "macros=true"))
(add-to-list 'TeX-auto-symbol LaTeX-auto-acro-acronym)))
-;; FIXME: This does not seem to work unless one does a manual reparse.
-(add-hook 'TeX-auto-prepare-hook 'LaTeX-acro-prepare)
-(add-hook 'TeX-auto-cleanup-hook 'LaTeX-acro-cleanup)
+(add-hook 'TeX-auto-prepare-hook #'LaTeX-acro-prepare t)
+(add-hook 'TeX-auto-cleanup-hook #'LaTeX-acro-cleanup t)
+(add-hook 'TeX-update-style-hook #'TeX-auto-parse t)
(defvar LaTeX-acro-acronym-history nil
"History of acronyms in acro.")
diff --git a/style/acronym.el b/style/acronym.el
index b97f80a..648f4cf 100644
--- a/style/acronym.el
+++ b/style/acronym.el
@@ -1,6 +1,6 @@
;;; acronym.el --- AUCTeX style for `acronym.sty' version 1.38.
-;; Copyright (C) 2013, 2014 Free Software Foundation, Inc.
+;; Copyright (C) 2013-2015 Free Software Foundation, Inc.
;; Maintainer: address@hidden
;; Author: Mosè Giordano <address@hidden>
@@ -51,9 +51,9 @@
(add-to-list 'LaTeX-acronym-list (list acronym)))
LaTeX-auto-acronym))
-;; FIXME: This does not seem to work unless one does a manual reparse.
-(add-hook 'TeX-auto-prepare-hook 'LaTeX-acronym-prepare)
-(add-hook 'TeX-auto-cleanup-hook 'LaTeX-acronym-cleanup)
+(add-hook 'TeX-auto-prepare-hook #'LaTeX-acronym-prepare t)
+(add-hook 'TeX-auto-cleanup-hook #'LaTeX-acronym-cleanup t)
+(add-hook 'TeX-update-style-hook #'TeX-auto-parse t)
(defvar LaTeX-acronym-acronym-history nil
"History of acronyms in acronym.")
diff --git a/style/caption.el b/style/caption.el
index c79f562..4803839 100644
--- a/style/caption.el
+++ b/style/caption.el
@@ -141,6 +141,8 @@ supported by `caption.sty'.")
(setq LaTeX-auto-caption-DeclareCaption nil))
(add-hook 'TeX-auto-prepare-hook #'LaTeX-caption-auto-prepare t)
+(add-hook 'TeX-update-style-hook #'TeX-auto-parse t)
+(add-hook 'TeX-update-style-hook #'TeX-auto-parse t)
(defun LaTeX-caption-update-key-val-options ()
"Update the buffer-local key-val options before offering them
diff --git a/style/color.el b/style/color.el
index de0f50c..2af29f6 100644
--- a/style/color.el
+++ b/style/color.el
@@ -92,6 +92,7 @@ package.")
(add-hook 'TeX-auto-prepare-hook #'LaTeX-color-auto-prepare t)
(add-hook 'TeX-auto-cleanup-hook #'LaTeX-color-auto-cleanup t)
+(add-hook 'TeX-update-style-hook #'TeX-auto-parse t)
(defun TeX-arg-color-definecolor (optional &optional prompt)
"Insert arguments of `\\definecolor' from `color.sty'."
diff --git a/style/enumitem.el b/style/enumitem.el
index e2fce50..8ea4545 100644
--- a/style/enumitem.el
+++ b/style/enumitem.el
@@ -187,6 +187,7 @@ package.")
(add-hook 'TeX-auto-prepare-hook #'LaTeX-enumitem-auto-prepare t)
(add-hook 'TeX-auto-cleanup-hook #'LaTeX-enumitem-auto-cleanup t)
+(add-hook 'TeX-update-style-hook #'TeX-auto-parse t)
(defun LaTeX-enumitem-env-with-opts (env)
"Update available key-val options, then insert ENV and optional
diff --git a/style/geometry.el b/style/geometry.el
index d263183..f68668c 100644
--- a/style/geometry.el
+++ b/style/geometry.el
@@ -99,6 +99,8 @@ package.")
(setq LaTeX-auto-geometry-savegeometry nil))
(add-hook 'TeX-auto-prepare-hook #'LaTeX-geometry-auto-prepare t)
+(add-hook 'TeX-update-style-hook #'TeX-auto-parse t)
+(add-hook 'TeX-update-style-hook #'TeX-auto-parse t)
(TeX-add-style-hook
"geometry"
diff --git a/style/minted.el b/style/minted.el
index 758a52b..d829e93 100644
--- a/style/minted.el
+++ b/style/minted.el
@@ -178,6 +178,7 @@
(add-hook 'TeX-auto-prepare-hook #'LaTeX-minted-auto-prepare t)
(add-hook 'TeX-auto-cleanup-hook #'LaTeX-minted-auto-cleanup t)
+(add-hook 'TeX-update-style-hook #'TeX-auto-parse t)
(TeX-add-style-hook
"minted"
diff --git a/style/pst-plot.el b/style/pst-plot.el
index 5cb3404..2d61d88 100644
--- a/style/pst-plot.el
+++ b/style/pst-plot.el
@@ -1,6 +1,6 @@
;;; pst-plot.el --- AUCTeX style for `pst-plot.sty'
-;; Copyright (C) 2007, 2014 Free Software Foundation, Inc.
+;; Copyright (C) 2007, 2014, 2015 Free Software Foundation, Inc.
;; Author: Holger Sparr <address@hidden>
;; Created: 21 Jun 2007
@@ -57,8 +57,9 @@
"Clear `LaTeX-auto-pstplot' before use."
(setq LaTeX-auto-pstplot nil))
-(add-hook 'TeX-auto-prepare-hook 'LaTeX-pstplot-prepare)
-(add-hook 'TeX-auto-cleanup-hook 'LaTeX-pstplot-cleanup)
+(add-hook 'TeX-auto-prepare-hook #'LaTeX-pstplot-prepare t)
+(add-hook 'TeX-auto-cleanup-hook #'LaTeX-pstplot-cleanup t)
+(add-hook 'TeX-update-style-hook #'TeX-auto-parse t)
;;; Parameters
(defvar LaTeX-pstplot-datasets nil
diff --git a/style/pstricks.el b/style/pstricks.el
index f6b3d92..02b2c30 100644
--- a/style/pstricks.el
+++ b/style/pstricks.el
@@ -1,6 +1,6 @@
;;; pstricks.el --- AUCTeX style for the `pstricks' package.
-;; Copyright (C) 2007, 2009, 2013, 2014 Free Software Foundation, Inc.
+;; Copyright (C) 2007, 2009, 2013-2015 Free Software Foundation, Inc.
;; Author: Holger Sparr <address@hidden>
;; Maintainer: address@hidden
@@ -699,10 +699,9 @@ package PNAME"
"Clear `LaTeX-auto-pstricks' before use."
(setq LaTeX-auto-pstricks nil))
-;; FIXME: This does not seem to work unless one does a manual reparse.
-;; Check e.g. with "\definecolor" and "fillcolor=".
-(add-hook 'TeX-auto-prepare-hook 'LaTeX-pst-prepare)
-(add-hook 'TeX-auto-cleanup-hook 'LaTeX-pst-cleanup)
+(add-hook 'TeX-auto-prepare-hook #'LaTeX-pst-prepare t)
+(add-hook 'TeX-auto-cleanup-hook #'LaTeX-pst-cleanup )
+(add-hook 'TeX-update-style-hook #'TeX-auto-parse t)
;;; Additional Functionality
(defun LaTeX-pst-parameters-add (&optional arg)
diff --git a/style/siunitx.el b/style/siunitx.el
index b279cc1..a5890f5 100644
--- a/style/siunitx.el
+++ b/style/siunitx.el
@@ -1,6 +1,6 @@
;;; siunitx.el --- AUCTeX style for `siunitx.sty' version 2.5s.
-;; Copyright (C) 2012-2014 Free Software Foundation, Inc.
+;; Copyright (C) 2012-2015 Free Software Foundation, Inc.
;; Maintainer: address@hidden
;; Author: Mosè Giordano <address@hidden>
@@ -56,9 +56,9 @@
(add-to-list 'LaTeX-siunitx-unit-list (list symbol)))
LaTeX-auto-siunitx-unit))
-;; FIXME: This does not seem to work unless one does a manual reparse.
-(add-hook 'TeX-auto-prepare-hook 'LaTeX-siunitx-prepare)
-(add-hook 'TeX-auto-cleanup-hook 'LaTeX-siunitx-cleanup)
+(add-hook 'TeX-auto-prepare-hook #'LaTeX-siunitx-prepare t)
+(add-hook 'TeX-auto-cleanup-hook #'LaTeX-siunitx-cleanup t)
+(add-hook 'TeX-update-style-hook #'TeX-auto-parse t)
(defvar LaTeX-siunitx-unit-history nil
"History of units in siunitx.")
- [elpa] externals/auctex updated (6620d8c -> 05e30be), Tassilo Horn, 2015/04/11
- [elpa] externals/auctex 8af05de 01/11: Apply styles in reverse order, Tassilo Horn, 2015/04/11
- [elpa] externals/auctex b91b203 02/11: docfix, Tassilo Horn, 2015/04/11
- [elpa] externals/auctex b418fbb 04/11: Ask for a `Width' in minibuffer and not a `Length'., Tassilo Horn, 2015/04/11
- [elpa] externals/auctex 4fd5b48 03/11: Add three missing LaTeX lengths., Tassilo Horn, 2015/04/11
- [elpa] externals/auctex e4a6481 05/11: New style colortbl.el., Tassilo Horn, 2015/04/11
- [elpa] externals/auctex 0c15d1a 07/11: Remove duplicate lines., Tassilo Horn, 2015/04/11
- [elpa] externals/auctex c2f6e9c 08/11: [Fix #20227] Fix indentation of \[...\] math mode., Tassilo Horn, 2015/04/11
- [elpa] externals/auctex c7c77a2 06/11: Fix parsing of new auto types in style files.,
Tassilo Horn <=
- [elpa] externals/auctex bf5f55b 09/11: Document indentation of "\[...\]"., Tassilo Horn, 2015/04/11
- [elpa] externals/auctex 05e30be 11/11: Release 11.88.4, Tassilo Horn, 2015/04/11
- [elpa] externals/auctex 143aa59 10/11: Merge branch 'master' into elpa, Tassilo Horn, 2015/04/11