[elpa] externals/auctex bf5f55b 09/11: Document indentation of "\[...\]".

2015-04-11 Thread Tassilo Horn
branch: externals/auctex
commit bf5f55b5f333fb1dfc39b4f02ae005dae06b7721
Author: Mosè Giordano 
Commit: Mosè Giordano 

Document indentation of "\[...\]".

* doc/auctex.texi (Indenting): Document indentation of "\[...\]".

* doc/changes.texi: Mention it.
---
 ChangeLog|6 ++
 doc/auctex.texi  |5 +
 doc/changes.texi |3 +++
 3 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 6d4d5e0..21d6ce2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-04-02  Mos� Giordano  
+
+   * doc/auctex.texi (Indenting): Document indentation of "\[...\]".
+
+   * doc/changes.texi: Mention it.
+
 2015-03-30  Mos� Giordano  
 
* latex.el (LaTeX-begin-regexp): Add "\[".
diff --git a/doc/auctex.texi b/doc/auctex.texi
index 6fb6d71..6307637 100644
--- a/doc/auctex.texi
+++ b/doc/auctex.texi
@@ -1590,6 +1590,11 @@ function additionally indents the current line.  If you 
choose
 @key{RET} is pressed.
 @end defopt
 
+@AUCTeX{} treats by default @samp{\[...\]} math mode as a regular
+environment and indents it accordingly.  If you do not like such
+behavior you only need to remove @code{\|\[} and @code{\|\]} from
+@code{LaTeX-begin-regexp} and @code{LaTeX-end-regexp} variables
+respectively.
 
 @node Filling
 @section Filling
diff --git a/doc/changes.texi b/doc/changes.texi
index 5483c84..1dd552d 100644
--- a/doc/changes.texi
+++ b/doc/changes.texi
@@ -29,6 +29,9 @@ New option @code{TeX-file-line-error} allows to select 
file:line:error
 style for error messages.
 
 @item
+Indent @samp{\[...\]} math mode as a regular environment by default.
+
+@item
 @code{TeX-view-program-list} can contain, as third optional element of
 each item, the name of the executable(s) needed to open the viewer.
 @end itemize



[elpa] externals/auctex 143aa59 10/11: Merge branch 'master' into elpa

2015-04-11 Thread Tassilo Horn
branch: externals/auctex
commit 143aa59c508484d16e5034895a001772be3735a1
Merge: 6620d8c bf5f55b
Author: Tassilo Horn 
Commit: Tassilo Horn 

Merge branch 'master' into elpa
---
 ChangeLog |   54 ++
 Makefile.in   |2 +-
 doc/auctex.texi   |5 +++
 doc/changes.texi  |3 ++
 latex.el  |   16 ---
 style/acro.el |8 +++---
 style/acronym.el  |8 +++---
 style/caption.el  |1 +
 style/color.el|1 +
 style/colortbl.el |   74 +
 style/enumitem.el |1 +
 style/geometry.el |1 +
 style/ltxtable.el |2 +-
 style/minted.el   |1 +
 style/pst-plot.el |7 +++--
 style/pstricks.el |9 +++---
 style/siunitx.el  |8 +++---
 tex.el|6 +++-
 18 files changed, 174 insertions(+), 33 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 3f7d673..739854e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,57 @@
+2015-04-02  Mos� Giordano  
+
+   * doc/auctex.texi (Indenting): Document indentation of "\[...\]".
+
+   * doc/changes.texi: Mention it.
+
+2015-03-30  Mos� Giordano  
+
+   * latex.el (LaTeX-begin-regexp): Add "\[".
+   (LaTeX-indent-calculate): Remove indentation of "\[...\]" from
+   here, it is automatically done in `LaTeX-indent-level-count' now
+   that `LaTeX-begin-regexp' has "\[".  (Bug#20227)
+
+2015-03-28  Mos� Giordano  
+
+   * 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  
+
+   * Makefile.in (STYLESRC): Add new style.
+
+   * style/colortbl.el: New file.
+
+   * style/ltxtable.el ("ltxtable"): Ask for a `Width' and not for a
+   `Length' in minibuffer.
+
+   * latex.el (LaTeX-common-initialization): Add standard LaTeX
+   lengths `arraycolsep', `arrayrulewidth' and `doublerulesep'.
+
+2015-03-23  Tassilo Horn  
+
+   * tex.el (TeX-run-style-hooks): Apply style hooks in reverse
+   order.  With that, a local style can modify a private or a global
+   style, and a private style can modify a global one.
+
 2015-03-22  Tassilo Horn  
 
* Version 11.88.3 released.
diff --git a/Makefile.in b/Makefile.in
index 08c50a0..75ed8c2 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -147,7 +147,7 @@ STYLESRC = style/prosper.el \
   style/tcolorbox.el style/color.el style/expl3.el \
   style/bidibeamer.el style/enumitem.el style/caption.el \
   style/geometry.el  style/ltablex.el   style/ltxtable.el \
-  style/mn2e.el
+  style/mn2e.el  style/colortbl.el
 
 STYLEELC = $(STYLESRC:.el=.elc)
 
diff --git a/doc/auctex.texi b/doc/auctex.texi
index 6fb6d71..6307637 100644
--- a/doc/auctex.texi
+++ b/doc/auctex.texi
@@ -1590,6 +1590,11 @@ function additionally indents the current line.  If you 
choose
 @key{RET} is pressed.
 @end defopt
 
+@AUCTeX{} treats by default @samp{\[...\]} math mode as a regular
+environment and indents it accordingly.  If you do not like such
+behavior you only need to remove @code{\|\[} and @code{\|\]} from
+@code{LaTeX-begin-regexp} and @code{LaTeX-end-regexp} variables
+respectively.
 
 @node Filling
 @section Filling
diff --git a/doc/changes.texi b/doc/changes.texi
index 5483c84..1dd552d 100644
--- a/doc/changes.texi
+++ b/doc/changes.texi
@@ -29,6 +29,9 @@ New option @code{TeX-file-line-error} allows to select 
file:line:error
 style for error messages.
 
 @item
+Indent @samp{\[...\]} math mode as a regular environment by default.
+
+@item
 @code{TeX-view-program-list} can contain, as third optional element of
 each item, the name of the executable(s) needed to open the viewer.
 @end itemize
diff --git a/latex.el b/latex.el
index c232c24..187f1b6 100644
--- a/latex.el
+++ b/latex.el
@@ -2943,7 +2943,7 @@ indentation level in columns."
 (make-obsolete-variable 'LaTeX-verbatim-regexp 
'LaTeX-verbatim-environments-local
"2014-12-19")
 
-(defcustom LaTeX-begin-regexp "begin\\b"
+(defcustom LaTeX-begin-regexp "begin\\b\\|\\["
   "*Regexp matching macros considered begins."
   :group 'LaTeX-indentation
   :type 'regexp)
@@ -3141,10 +3141,6 @@ outer indentation in case of a commented line.  The 
symbols
 ;; End brace in the start of the line.
 (- (LaTeX-indent-calculate-last force-type)
TeX-brace-indent-level))
-   ((and (texmathp)
- ;; Display math \[...\], treat as a generic environment.
- (equal "\\[" (car texmathp-why)))
-LaTeX-indent-level)
(t (LaTeX-indent-calculate-last force-type))
 
 (defun LaTeX-indent-level-count ()
@@ -5

[elpa] externals/auctex e4a6481 05/11: New style colortbl.el.

2015-04-11 Thread Tassilo Horn
branch: externals/auctex
commit e4a648149cd19f621ea6329088e808ddb7c18df1
Author: Arash Esbati 
Commit: Mosè Giordano 

New style colortbl.el.

* Makefile.in (STYLESRC): Add new style.

* style/colortbl.el: New file.
---
 ChangeLog |4 +++
 Makefile.in   |2 +-
 style/colortbl.el |   74 +
 3 files changed, 79 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 3ba89e6..c629bc9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2015-03-28  Arash Esbati  
 
+   * Makefile.in (STYLESRC): Add new style.
+
+   * style/colortbl.el: New file.
+
* style/ltxtable.el ("ltxtable"): Ask for a `Width' and not for a
`Length' in minibuffer.
 
diff --git a/Makefile.in b/Makefile.in
index 08c50a0..75ed8c2 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -147,7 +147,7 @@ STYLESRC = style/prosper.el \
   style/tcolorbox.el style/color.el style/expl3.el \
   style/bidibeamer.el style/enumitem.el style/caption.el \
   style/geometry.el  style/ltablex.el   style/ltxtable.el \
-  style/mn2e.el
+  style/mn2e.el  style/colortbl.el
 
 STYLEELC = $(STYLESRC:.el=.elc)
 
diff --git a/style/colortbl.el b/style/colortbl.el
new file mode 100644
index 000..7332ced
--- /dev/null
+++ b/style/colortbl.el
@@ -0,0 +1,74 @@
+;;; colortbl.el --- AUCTeX style for `colortbl.sty' (v1.0a)
+
+;; Copyright (C) 2015 Free Software Foundation, Inc.
+
+;; Author: Arash Esbati 
+;; Maintainer: auctex-de...@gnu.org
+;; Created: 2015-03-22
+;; Keywords: tex
+
+;; This file is part of AUCTeX.
+
+;; AUCTeX is free software; you can redistribute it and/or modify it
+;; under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 3, or (at your option)
+;; any later version.
+
+;; AUCTeX is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+;; General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with AUCTeX; see the file COPYING.  If not, write to the Free
+;; Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+;; 02110-1301, USA.
+
+;;; Commentary:
+
+;; This file adds support for `colortbl.sty' (v1.0a) from 2012/02/13.
+;; `colortbl.sty' is part of TeXLive.
+
+;;; Code:
+
+(TeX-add-style-hook
+ "colortbl"
+ (lambda ()
+
+   (TeX-run-style-hooks "color" "array")
+
+   (TeX-add-symbols
+;; `TeX-arg-color' is provided by `color.el'.
+'("columncolor" TeX-arg-color
+  [ TeX-arg-length "Left overhang" ] [ TeX-arg-length "Right overhang" ] )
+
+'("rowcolor"TeX-arg-color
+  [ TeX-arg-length "Left overhang" ] [ TeX-arg-length "Right overhang" ] )
+
+'("cellcolor"   TeX-arg-color
+  [ TeX-arg-length "Left overhang" ] [ TeX-arg-length "Right overhang" ] )
+
+'("arrayrulecolor" TeX-arg-color)
+
+'("doublerulesepcolor" TeX-arg-color))
+
+   (LaTeX-add-lengths "minrowclearance")
+
+   ;; Fontification
+   (when (and (featurep 'font-latex)
+ (eq TeX-install-font-lock 'font-latex-setup))
+ (font-latex-add-keywords '(("columncolor"  "[{[[")
+   ("rowcolor" "[{[[")
+   ("cellcolor""[{[[")
+   ("arrayrulecolor" "[{")
+   ("doublerulesepcolor" "[{"))
+ 'function)))
+ LaTeX-dialect)
+
+;; colortbl.sty has one option `debugshow'.  I ignore that since it
+;; would only take more time during insertation in a buffer and I
+;; presume that not many users use it anyway.
+(defvar LaTeX-colortbl-package-options nil
+  "Package option for the colortbl package.")
+
+;;; colortbl.el ends here



[elpa] externals/auctex 0c15d1a 07/11: Remove duplicate lines.

2015-04-11 Thread Tassilo Horn
branch: externals/auctex
commit 0c15d1af0de1f989065c3028332d4e33f29b95bb
Author: Mosè Giordano 
Commit: Mosè Giordano 

Remove duplicate lines.
---
 style/caption.el  |1 -
 style/geometry.el |1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/style/caption.el b/style/caption.el
index 4803839..ddefb5b 100644
--- a/style/caption.el
+++ b/style/caption.el
@@ -142,7 +142,6 @@ supported by `caption.sty'.")
 
 (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/geometry.el b/style/geometry.el
index f68668c..973f63c 100644
--- a/style/geometry.el
+++ b/style/geometry.el
@@ -100,7 +100,6 @@ package.")
 
 (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"



[elpa] externals/auctex 8af05de 01/11: Apply styles in reverse order

2015-04-11 Thread Tassilo Horn
branch: externals/auctex
commit 8af05de02e766633d594ffb63a44415a0f6d2169
Author: Tassilo Horn 
Commit: Tassilo Horn 

Apply styles in reverse order

* tex.el (TeX-run-style-hooks): Apply style hooks in reverse
order.  With that, a local style can modify a private or a global
style, and a private style can modify a global one.
---
 ChangeLog |6 ++
 tex.el|6 +-
 2 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index e0a1036..146564f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-03-23  Tassilo Horn  
+
+   * tex.el (TeX-run-style-hooks): Apply style hooks in reverse
+   order.  With that, a local style can modify a private or a global
+   style, and a private style can modify a global one.
+
 2015-03-17  Mos� Giordano  
 
* doc/wininstall.texi: Fix a broken link.
diff --git a/tex.el b/tex.el
index 88e2336..df8369f 100644
--- a/tex.el
+++ b/tex.el
@@ -2708,7 +2708,11 @@ See variable `TeX-style-hook-dialect' for supported 
dialects."
(and (TeX-shdex-in-p TeX-style-hook-dialect 
(aref hook 2))
 (funcall (aref hook 1
   (t (error "Invalid style hook %S" hook
-   (cdr-safe (TeX-assoc-string style 
TeX-style-hook-list)))
+   ;; Drop the LATEX entry and then reverse the list
+   ;; of style hooks in order to run styles in the
+   ;; order global, private, local (assuming
+   ;; TeX-style-path has that ordering, too).
+   (reverse (cdr-safe (TeX-assoc-string style 
TeX-style-hook-list
  ;; This happens in case some style added a new parser, and
  ;; now the style isn't used anymore (user deleted
  ;; \usepackage{style}).  Then we're left over with, e.g.,



[elpa] externals/auctex 05e30be 11/11: Release 11.88.4

2015-04-11 Thread Tassilo Horn
branch: externals/auctex
commit 05e30be976321870bcdbe338e82043d72e43560a
Author: Tassilo Horn 
Commit: Tassilo Horn 

Release 11.88.4
---
 ChangeLog  |4 ++
 auctex.el  |2 +-
 auctex.info|  137 +++-
 preview-latex.info |4 +-
 4 files changed, 79 insertions(+), 68 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 739854e..af59d4b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-04-11  Tassilo Horn  
+
+   * Version 11.88.4 released.
+
 2015-04-02  Mos� Giordano  
 
* doc/auctex.texi (Indenting): Document indentation of "\[...\]".
diff --git a/auctex.el b/auctex.el
index 60fba4a..0a91cdd 100644
--- a/auctex.el
+++ b/auctex.el
@@ -2,7 +2,7 @@
 
 ;; Copyright (C) 2014, 2015 Free Software Foundation, Inc.
 
-;; Version: 11.88.3
+;; Version: 11.88.4
 ;; URL: http://www.gnu.org/software/auctex/
 ;; Maintainer: auctex-de...@gnu.org
 
diff --git a/auctex.info b/auctex.info
index a7d22d5..ee61373 100644
--- a/auctex.info
+++ b/auctex.info
@@ -1,6 +1,6 @@
 This is auctex.info, produced by makeinfo version 5.2 from auctex.texi.
 
-This manual is for AUCTeX (version 11.88.3 from 2015-03-22), a
+This manual is for AUCTeX (version 11.88.4 from 2015-04-11), a
 sophisticated TeX environment for Emacs.
 
Copyright (C) 1992-1995, 2001, 2002, 2004-2014 Free Software
@@ -2470,6 +2470,11 @@ to indenting with a small summary in each case:
  choose 'Other', you can specify your own fancy function to be
  called when  is pressed.
 
+   AUCTeX treats by default '\[...\]' math mode as a regular environment
+and indents it accordingly.  If you do not like such behavior you only
+need to remove '\|\[' and '\|\]' from 'LaTeX-begin-regexp' and
+'LaTeX-end-regexp' variables respectively.
+
 
 File: auctex.info,  Node: Filling,  Prev: Indenting,  Up: Editing
 
@@ -5370,7 +5375,7 @@ A.1 Copying this Manual
 
 The copyright notice for this manual is:
 
-   This manual is for AUCTeX (version 11.88.3 from 2015-03-22), a
+   This manual is for AUCTeX (version 11.88.4 from 2015-04-11), a
 sophisticated TeX environment for Emacs.
 
Copyright (C) 1992-1995, 2001, 2002, 2004-2014 Free Software
@@ -5891,6 +5896,8 @@ News since 11.88
* New option 'TeX-file-line-error' allows to select file:line:error
  style for error messages.
 
+   * Indent '\[...\]' math mode as a regular environment by default.
+
* 'TeX-view-program-list' can contain, as third optional element of
  each item, the name of the executable(s) needed to open the viewer.
 
@@ -7790,7 +7797,7 @@ Concept Index
   (line   6)
 * ASCII pTeX <1>:Japanese.(line   6)
 * 'auctex.el':   Loading the package. (line  14)
-* 'auctex.el' <1>:   Changes. (line 291)
+* 'auctex.el' <1>:   Changes. (line 293)
 * 'auto' directories.:   Automatic.   (line   6)
 * Auto-Reveal:   Folding. (line   6)
 * Automatic: Automatic.   (line   6)
@@ -8091,7 +8098,7 @@ Concept Index
   (line 286)
 * 'tex-site.el': Loading the package. (line  14)
 * 'tex-site.el' <1>: Customizing. (line   6)
-* 'tex-site.el' <2>: Changes. (line 291)
+* 'tex-site.el' <2>: Changes. (line 293)
 * tool bar, toolbar: Processing.  (line  11)
 * Trailer:   Commands.(line   6)
 * Underfull boxes:   Debugging.   (line   6)
@@ -8145,66 +8152,66 @@ Node: Marking (LaTeX)94295
 Node: Marking (Texinfo)95237
 Node: Commenting96847
 Node: Indenting98172
-Node: Filling103957
-Node: Display109829
-Node: Font Locking111441
-Node: Fontification of macros113516
-Node: Fontification of quotes122954
-Node: Fontification of math124449
-Node: Verbatim content126168
-Node: Faces126942
-Node: Known problems127431
-Node: Folding128360
-Node: Outline139184
-Node: Narrowing140456
-Node: Processing141506
-Node: Commands142669
-Node: Starting a Command143225
-Node: Selecting a Command147761
-Node: Processor Options151287
-Node: Viewing158029
-Node: Starting Viewers158403
-Node: I/O Correlation164921
-Node: Debugging168367
-Node: Checking172722
-Node: Control173884
-Node: Cleaning174611
-Node: Documentation175824
-Node: Customization176604
-Node: Modes and Hooks177097
-Node: Multifile178832
-Node: Parsing Files183511
-Node: Internationalization188423
-Node: European189604
-Node: Japanese196484
-Node: Automatic198181
-Node: Automatic Global200672
-Node: Automatic Private201804
-Node: Automatic Local203117
-Node: Style Files204148
-Node: Simp

[elpa] externals/auctex b418fbb 04/11: Ask for a `Width' in minibuffer and not a `Length'.

2015-04-11 Thread Tassilo Horn
branch: externals/auctex
commit b418fbb582094745075ea9ae6aa1a2398494a4f3
Author: Arash Esbati 
Commit: Mosè Giordano 

Ask for a `Width' in minibuffer and not a `Length'.

* style/ltxtable.el ("ltxtable"): Ask for a `Width' and not for a
`Length' in minibuffer.
---
 ChangeLog |3 +++
 style/ltxtable.el |2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9cb2e6a..3ba89e6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2015-03-28  Arash Esbati  
 
+   * style/ltxtable.el ("ltxtable"): Ask for a `Width' and not for a
+   `Length' in minibuffer.
+
* latex.el (LaTeX-common-initialization): Add standard LaTeX
lengths `arraycolsep', `arrayrulewidth' and `doublerulesep'.
 
diff --git a/style/ltxtable.el b/style/ltxtable.el
index ddc7c89..93dd218 100644
--- a/style/ltxtable.el
+++ b/style/ltxtable.el
@@ -37,7 +37,7 @@
(TeX-run-style-hooks "tabularx" "longtable")
(TeX-add-symbols
 '("LTXtable"
-  (TeX-arg-length)
+  (TeX-arg-length "Width" "1.0\\linewidth")
   (TeX-arg-eval
(lambda ()
 (let ((longtable (file-relative-name



[elpa] externals/auctex 4fd5b48 03/11: Add three missing LaTeX lengths.

2015-04-11 Thread Tassilo Horn
branch: externals/auctex
commit 4fd5b487d16e134d3f23ce96655d56f0815dd04b
Author: Arash Esbati 
Commit: Mosè Giordano 

Add three missing LaTeX lengths.

* latex.el (LaTeX-common-initialization): Add standard LaTeX
lengths `arraycolsep', `arrayrulewidth' and `doublerulesep'.
---
 ChangeLog |5 +
 latex.el  |   10 +-
 2 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 146564f..9cb2e6a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-28  Arash Esbati  
+
+   * latex.el (LaTeX-common-initialization): Add standard LaTeX
+   lengths `arraycolsep', `arrayrulewidth' and `doublerulesep'.
+
 2015-03-23  Tassilo Horn  
 
* tex.el (TeX-run-style-hooks): Apply style hooks in reverse
diff --git a/latex.el b/latex.el
index c232c24..6ebcfb6 100644
--- a/latex.el
+++ b/latex.el
@@ -5973,11 +5973,11 @@ i.e. you do _not_ have to cater for this yourself by 
adding ' or $."
   (LaTeX-add-counters "page" "equation" "enumi" "enumii" "enumiii"
  "enumiv" "footnote" "mpfootnote")
 
-  (LaTeX-add-lengths "baselineskip" "baselinestretch" "columnsep"
-"columnwidth" "evensidemargin" "linewidth" "oddsidemargin"
-"paperwidth" "paperheight" "parindent" "parskip"
-"tabcolsep" "textheight" "textwidth" "topmargin"
-"unitlength")
+  (LaTeX-add-lengths "arraycolsep" "arrayrulewidth" "baselineskip" 
"baselinestretch"
+"columnsep" "columnwidth" "doublerulesep" "evensidemargin"
+"linewidth" "oddsidemargin" "paperwidth" "paperheight"
+"parindent" "parskip" "tabcolsep" "textheight" "textwidth"
+"topmargin" "unitlength")
 
   (TeX-add-symbols
'("addtocounter" TeX-arg-counter "Value")



[elpa] externals/auctex c2f6e9c 08/11: [Fix #20227] Fix indentation of \[...\] math mode.

2015-04-11 Thread Tassilo Horn
branch: externals/auctex
commit c2f6e9c4ad208ebddadd42a0314a59503399d00f
Author: Mosè Giordano 
Commit: Mosè Giordano 

[Fix #20227] Fix indentation of \[...\] math mode.

* latex.el (LaTeX-begin-regexp): Add "\[".
(LaTeX-indent-calculate): Remove indentation of "\[...\]" from
here, it is automatically done in `LaTeX-indent-level-count' now
that `LaTeX-begin-regexp' has "\[".  (Bug#20227)
---
 ChangeLog |7 +++
 latex.el  |6 +-
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 71f2f99..6d4d5e0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2015-03-30  Mos� Giordano  
+
+   * latex.el (LaTeX-begin-regexp): Add "\[".
+   (LaTeX-indent-calculate): Remove indentation of "\[...\]" from
+   here, it is automatically done in `LaTeX-indent-level-count' now
+   that `LaTeX-begin-regexp' has "\[".  (Bug#20227)
+
 2015-03-28  Mos� Giordano  
 
* style/acro.el:
diff --git a/latex.el b/latex.el
index 6ebcfb6..187f1b6 100644
--- a/latex.el
+++ b/latex.el
@@ -2943,7 +2943,7 @@ indentation level in columns."
 (make-obsolete-variable 'LaTeX-verbatim-regexp 
'LaTeX-verbatim-environments-local
"2014-12-19")
 
-(defcustom LaTeX-begin-regexp "begin\\b"
+(defcustom LaTeX-begin-regexp "begin\\b\\|\\["
   "*Regexp matching macros considered begins."
   :group 'LaTeX-indentation
   :type 'regexp)
@@ -3141,10 +3141,6 @@ outer indentation in case of a commented line.  The 
symbols
 ;; End brace in the start of the line.
 (- (LaTeX-indent-calculate-last force-type)
TeX-brace-indent-level))
-   ((and (texmathp)
- ;; Display math \[...\], treat as a generic environment.
- (equal "\\[" (car texmathp-why)))
-LaTeX-indent-level)
(t (LaTeX-indent-calculate-last force-type))
 
 (defun LaTeX-indent-level-count ()



[elpa] externals/auctex c7c77a2 06/11: Fix parsing of new auto types in style files.

2015-04-11 Thread Tassilo Horn
branch: externals/auctex
commit c7c77a29202353e2a8528ff054b9e029cc05f5a6
Author: Mosè Giordano 
Commit: Mosè Giordano 

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  
+
+   * 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  
 
* 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: auctex-de...@gnu.org
 ;; Author: Mosè Giordano 
@@ -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: auctex-de...@gnu.org
 ;; Author: Mosè Giordano 
@@ -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'.")
   (setqLaTeX-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..

[elpa] externals/auctex updated (6620d8c -> 05e30be)

2015-04-11 Thread Tassilo Horn
tsdh pushed a change to branch externals/auctex.

  from  6620d8c   Merge from upstream master; release 11.88.3
   new  8af05de   Apply styles in reverse order
   new  b91b203   docfix
   new  4fd5b48   Add three missing LaTeX lengths.
   new  b418fbb   Ask for a `Width' in minibuffer and not a `Length'.
   new  e4a6481   New style colortbl.el.
   new  c7c77a2   Fix parsing of new auto types in style files.
   new  0c15d1a   Remove duplicate lines.
   new  c2f6e9c   [Fix #20227] Fix indentation of \[...\] math mode.
   new  bf5f55b   Document indentation of "\[...\]".
   new  143aa59   Merge branch 'master' into elpa
   new  05e30be   Release 11.88.4


Summary of changes:
 ChangeLog  |   58 ++
 Makefile.in|2 +-
 auctex.el  |2 +-
 auctex.info|  137 +++-
 doc/auctex.texi|5 ++
 doc/changes.texi   |3 +
 latex.el   |   16 ++
 preview-latex.info |4 +-
 style/acro.el  |8 ++--
 style/acronym.el   |8 ++--
 style/caption.el   |1 +
 style/color.el |1 +
 style/colortbl.el  |   74 
 style/enumitem.el  |1 +
 style/geometry.el  |1 +
 style/ltxtable.el  |2 +-
 style/minted.el|1 +
 style/pst-plot.el  |7 ++-
 style/pstricks.el  |9 ++--
 style/siunitx.el   |8 ++--
 tex.el |6 ++-
 21 files changed, 253 insertions(+), 101 deletions(-)
 create mode 100644 style/colortbl.el



[elpa] externals/auctex b91b203 02/11: docfix

2015-04-11 Thread Tassilo Horn
branch: externals/auctex
commit b91b20395be673394305be872e9cbbe5a5cadd3c
Author: Tassilo Horn 
Commit: Tassilo Horn 

docfix
---
 tex.el |8 
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/tex.el b/tex.el
index df8369f..394814e 100644
--- a/tex.el
+++ b/tex.el
@@ -2708,10 +2708,10 @@ See variable `TeX-style-hook-dialect' for supported 
dialects."
(and (TeX-shdex-in-p TeX-style-hook-dialect 
(aref hook 2))
 (funcall (aref hook 1
   (t (error "Invalid style hook %S" hook
-   ;; Drop the LATEX entry and then reverse the list
-   ;; of style hooks in order to run styles in the
-   ;; order global, private, local (assuming
-   ;; TeX-style-path has that ordering, too).
+   ;; Reverse the list of style hooks in order to run
+   ;; styles in the order global, private, local
+   ;; (assuming TeX-style-path has that ordering,
+   ;; too).
(reverse (cdr-safe (TeX-assoc-string style 
TeX-style-hook-list
  ;; This happens in case some style added a new parser, and
  ;; now the style isn't used anymore (user deleted