[elpa] externals/auctex ff1f544 10/26: Fix encoding file:// uri.

2015-01-27 Thread Tassilo Horn
branch: externals/auctex
commit ff1f544645c7b0f334b097bb8a9b1441fbf61b3e
Author: Tassilo Horn 
Commit: Tassilo Horn 

Fix encoding file:// uri.

* tex.el (TeX-evince-sync-view): Encode URI with `url-encode-url'.
---
 ChangeLog |4 
 tex.el|8 +++-
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 402416e..5bf02de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-12-20  Tassilo Horn  
+
+   * tex.el (TeX-evince-sync-view): Encode URI with `url-encode-url'.
+
 2014-12-19  Tassilo Horn  
 
* style/minted.el: New style.
diff --git a/tex.el b/tex.el
index af02663..0ef5399 100644
--- a/tex.el
+++ b/tex.el
@@ -1104,11 +1104,9 @@ of point in emacs by using Evince's DBUS API.  Used by 
default
 for the Evince viewer entry in `TeX-view-program-list-builtin' if
 the requirements are met."
   (require 'url-util)
-  (let* ((uri (concat "file://" (let ((url-unreserved-chars
-  (cons ?, (cons ?/ 
url-unreserved-chars
- (url-hexify-string
-  (expand-file-name
-   (concat file "." 
(TeX-output-extension)))
+  (let* ((uri (concat "file://" (url-encode-url
+(expand-file-name
+ (concat file "." (TeX-output-extension))
 (owner (dbus-call-method
 :session "org.gnome.evince.Daemon"
 "/org/gnome/evince/Daemon"



[elpa] externals/auctex f3cf79d 19/26: Fix a typo.

2015-01-27 Thread Tassilo Horn
branch: externals/auctex
commit f3cf79dcd7c8eddb2d5f6a93a3ad035ae2937a34
Author: Arash Esbati 
Commit: Mosè Giordano 

Fix a typo.

* style/multirow.el ("multirow"): Fix a typo in the name of a
variable.

Signed-off-by: Mosè Giordano 
---
 ChangeLog |3 +++
 style/multirow.el |2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ef0de5e..c2e24db 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2014-12-30  Arash Esbati  
 
+   * style/multirow.el ("multirow"): Fix a typo in the name of a
+   variable.
+
* Makefile.in (STYLESRC): Add new styles.
 
* style/relsize.el: New file.
diff --git a/style/multirow.el b/style/multirow.el
index 6d00d5e..d025e1f 100644
--- a/style/multirow.el
+++ b/style/multirow.el
@@ -37,7 +37,7 @@
   [ "Big struts" ] "Width" [ "Fixup" ] t)
 "multirowsetup")
 
-   (if (not (boundp 'LaTeX-bigstruct-package-options))
+   (if (not (boundp 'LaTeX-bigstrut-package-options))
(TeX-add-symbols "bigstrutjot"))
 
;; Fontification



[elpa] externals/auctex 5734441 18/26: Add new styles.

2015-01-27 Thread Tassilo Horn
branch: externals/auctex
commit 57344416f1a467464c4e64fe48daa670e15ea5e7
Author: Arash Esbati 
Commit: Mosè Giordano 

Add new styles.

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

* style/relsize.el: New file.

* style/wrapfig.el: New file.

Signed-off-by: Mosè Giordano 
---
 ChangeLog|6 +++
 Makefile.in  |3 +-
 style/relsize.el |   69 +++
 style/wrapfig.el |  107 ++
 4 files changed, 184 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 72dbba8..ef0de5e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2014-12-30  Arash Esbati  
 
+   * Makefile.in (STYLESRC): Add new styles.
+
+   * style/relsize.el: New file.
+
+   * style/wrapfig.el: New file.
+
* style/hyperref.el ("hyperref"): Add `Form' environment needed
for PDF and HTML forms.
(LaTeX-hyperref-forms-options): New variable for key-val options
diff --git a/Makefile.in b/Makefile.in
index 998e730..39402e7 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -142,7 +142,8 @@ STYLESRC = style/prosper.el \
   style/XCharter.el  style/zlmtt.el style/ifluatex.el \
   style/luatextra.el style/erewhon.el   style/baskervaldx.el \
   style/fbb.el   style/newtxmath.el style/newtxsf.el \
-  style/newtxtext.el style/newtxttt.el  style/minted.el
+  style/newtxtext.el style/newtxttt.el  style/minted.el \
+  style/wrapfig.el   style/relsize.el
 STYLEELC = $(STYLESRC:.el=.elc)
 
 ifeq (@preview_enabled@,yes)
diff --git a/style/relsize.el b/style/relsize.el
new file mode 100644
index 000..20dc975
--- /dev/null
+++ b/style/relsize.el
@@ -0,0 +1,69 @@
+;;; relsize.el --- AUCTeX style for `relsize.sty' version v4.1
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; Author: Arash Esbati 
+;; Maintainer: auctex-de...@gnu.org
+;; Created: 2014-12-14
+;; 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 `relsize.sty' version v4.1 from
+;; 2013/03/29.  `relsize.sty' is part of TeXLive.
+
+;;; Code:
+
+(TeX-add-style-hook
+ "relsize"
+ (lambda ()
+   (TeX-add-symbols
+;; Declarations and commands
+'("relsize" "Steps")
+'("relscale""Scale factor" )
+'("larger"  [ "Steps (default: 1)" ] -1)
+'("smaller" [ "Steps (default: 1)" ] -1)
+'("textlarger"  [ "Steps" ]   t)
+'("textsmaller" [ "Steps" ]   t)
+'("textscale"   "Scale factor"t)
+'("mathlarger"t)
+'("mathsmaller"   t))
+
+   ;; Fontification
+   (when (and (featurep 'font-latex)
+ (eq TeX-install-font-lock 'font-latex-setup))
+ ;; This is not easy, are the first 2 'variable oder rather
+ ;; 'type-declaration?  I start with 'type-declaration, let the
+ ;; users decide
+ (font-latex-add-keywords '(("relsize""")
+   ("relscale"   "")
+   ("larger" "")
+   ("smaller"""))
+ 'type-declaration)
+ (font-latex-add-keywords '(("textlarger" "[{")
+   ("textsmaller""[{")
+   ("textscale"  "{{"))
+ 'type-command)))
+ LaTeX-dialect)
+
+(defvar LaTeX-relsize-package-options nil
+  "Package options for the relsize package.")
+
+;;; relsize.el ends here
diff --git a/style/wrapfig.el b/style/wrapfig.el
new file mode 100644
index 000..bcb90c2
--- /dev/null
+++ b/style/wrapfig.el
@@ -0,0 +1,107 @@
+;;; wrapfig.el --- AUCTeX style for `wrapfig.sty' version v3.6
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; Author: Arash Esbati 
+;; Maintainer: auctex-de...@gnu.org
+;; Created: 2014-12-13
+;; 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 opti

[elpa] externals/auctex 18ee3e9 17/26: Add `Form' environment needed for PDF and HTML forms.

2015-01-27 Thread Tassilo Horn
branch: externals/auctex
commit 18ee3e9bfd0f35a2b7789ebc5dca405a9dd3f062
Author: Arash Esbati 
Commit: Mosè Giordano 

Add `Form' environment needed for PDF and HTML forms.

* style/hyperref.el ("hyperref"): Add `Form' environment needed
for PDF and HTML forms.
(LaTeX-hyperref-forms-options): New variable for key-val options
used in form related macros (`TextField', `CheckBox',
`ChoiceMenu', `PushButton', `Submit', `Reset').

Signed-off-by: Mosè Giordano 
---
 ChangeLog |8 +
 style/hyperref.el |   81 
 2 files changed, 82 insertions(+), 7 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d874f66..72dbba8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2014-12-30  Arash Esbati  
+
+   * style/hyperref.el ("hyperref"): Add `Form' environment needed
+   for PDF and HTML forms.
+   (LaTeX-hyperref-forms-options): New variable for key-val options
+   used in form related macros (`TextField', `CheckBox',
+   `ChoiceMenu', `PushButton', `Submit', `Reset').
+
 2014-12-22  Tassilo Horn  
 
* doc/changes.texi: Document addition of LaTeX-command-section and
diff --git a/style/hyperref.el b/style/hyperref.el
index ad1c628..a1eee7c 100644
--- a/style/hyperref.el
+++ b/style/hyperref.el
@@ -1,6 +1,6 @@
 ;;; hyperref.el --- AUCTeX style for `hyperref.sty' v6.83m
 
-;; Copyright (C) 2008, 2013 Free Software Foundation, Inc.
+;; Copyright (C) 2008, 2013, 2014 Free Software Foundation, Inc.
 
 ;; Author: Ralf Angeli 
 ;; Maintainer: auctex-de...@gnu.org
@@ -153,6 +153,64 @@
 ("nextactionraw"))
   "Key=value options for href macro of the hyperref package.")
 
+;; See http://www.tug.org/applications/hyperref/ftp/doc/manual.html#x1-220006.2
+
+(defvar LaTeX-hyperref-forms-options
+  '(("accesskey")
+("align"  ("0" "1" "2"))
+("altname")
+("backgroundcolor")
+("bordercolor")
+("bordersep")
+("borderwidth")
+;; "borderstyle" is not mentioned in the original hyperref-doc, it
+;; can be seen in action in
+;; http://mirrors.ctan.org/macros/latex/contrib/hyperref/test/testform.tex
+;; S=Solid (default), D=Dashed, B=Beveled, I=Inset, U=Underline
+("borderstyle"("S" "D" "B" "I" "U"))
+("calculate")
+("charsize")
+("checkboxsymbol" ("true" "false"))
+("checked")
+("color")
+("combo"  ("true" "false"))
+("default")
+("disabled"   ("true" "false"))
+("format")
+("height")
+("hidden" ("true" "false"))
+("keystroke")
+("mappingname")
+("maxlen")
+("menulength")
+("multiline"  ("true" "false"))
+("name")
+("onblur")
+("onchange")
+("onclick")
+("ondblclick")
+("onfocus")
+("onkeydown")
+("onkeypress")
+("onkeyup")
+("onmousedown")
+("onmousemove")
+("onmouseout")
+("onmouseover")
+("onmouseup")
+("onselect")
+("password"   ("true" "false"))
+("popdown"("true" "false"))
+("radio"  ("true" "false"))
+("radiosymbol")
+("readonly"   ("true" "false"))
+("rotation")
+("tabkey")
+("validate")
+("value")
+("width"))
+  "Key=value options for Forms related macros of the hyperref package.")
+
 (TeX-add-style-hook
  "hyperref"
  (lambda ()
@@ -184,12 +242,15 @@
 '("texorpdfstring" "TeX string" "PDF string")
 '("hypercalcbp" t)
 '("Acrobatmenu" "Menu option" "Text")
-'("TextField" ["Parameters"] "Label")
-'("CheckBox" ["Parameters"] "Label")
-'("ChoiceMenu" ["Parameters"] "Label" "Choices")
-'("PushButton" ["Parameters"] "Label")
-'("Submit" ["Parameters"] "Label")
-'("Reset" ["Parameters"] "Label")
+;; The next 6 macros take Key-vals defined in
+;; "LaTeX-hyperref-forms-options".  For an example, see
+;; http://mirrors.ctan.org/macros/latex/contrib/hyperref/test/testform.tex
+'("TextField"  [ (TeX-arg-key-val LaTeX-hyperref-forms-options) ] "Label")
+'("CheckBox"   [ (TeX-arg-key-val LaTeX-hyperref-forms-options) ] "Label")
+'("ChoiceMenu" [ (TeX-arg-key-val LaTeX-hyperref-forms-options) ] "Label" 
"Choices")
+'("PushButton" [ (TeX-arg-key-val LaTeX-hyperref-forms-options) ] "Label")
+'("Submit" [ (TeX-arg-key-val LaTeX-hyperref-forms-options) ] "Label")
+'("Reset"  [ (TeX-arg-key-val LaTeX-hyperref-forms-options) ] "Label")
 '("LayoutTextField" "Label" "Field")
 '("LayoutChoiceField" "Label" "Field")
 '("LayoutCheckField" "Label" "Field")
@@ -199,6 +260,12 @@
 '("MakeChoiceField" "Width" "Height")
 '("MakeButtonField" "Text"))
 
+   ;; Form fields must be inside a "Form"-env, one per file is allowed, cf.
+   ;; http://www.tug.org/applications/hyperref/ftp/doc/manual.html#x1-26
+   ;; It is up to user to insert [] after \begin{Form}
+   (LaTeX-add-environments
+'("Form"))
+
(add-to-list 'LaTeX-verbatim-macros-with-braces-local "nol

[elpa] externals/auctex d9126ba 26/26: Fix merge commits

2015-01-27 Thread Tassilo Horn
branch: externals/auctex
commit d9126babe3c9b9f278a1628e8722d0d2dfc71ff5
Merge: e72989a 4b43c80
Author: Tassilo Horn 
Commit: Tassilo Horn 

Fix merge commits
---
 ChangeLog   |  233 +-
 Makefile.in |5 +-
 bib-cite.el |  198 ++---
 doc/changes.texi|   13 ++
 latex.el|   49 +--
 style/alltt.el  |2 -
 style/babel.el  |   10 +-
 style/baskervaldx.el|   73 +++
 style/beamer.el |   22 ++--
 style/bigstrut.el   |9 +-
 style/dinbrief.el   |4 +-
 style/emp.el|2 +-
 style/epsf.el   |2 +-
 style/erewhon.el|   79 
 style/fancyref.el   |4 +-
 style/fancyvrb.el   |6 +-
 style/fbb.el|   71 ++
 style/graphicx.el   |2 +-
 style/harvard.el|  164 
 style/hyperref.el   |   81 +++-
 style/inputenc.el   |2 +-
 style/listings.el   |4 +-
 style/mathtools.el  |   30 ++--
 style/minted.el |  241 +++
 style/multirow.el   |2 +-
 style/natbib.el |2 +-
 style/newtxmath.el  |   84 
 style/{bigstrut.el => newtxsf.el}   |   43 ---
 style/{bigstrut.el => newtxtext.el} |   34 +++---
 style/{multirow.el => newtxttt.el}  |   40 --
 style/pdfsync.el|4 +-
 style/prosper.el|   20 ++--
 style/psfig.el  |4 +-
 style/pst-node.el   |   15 +-
 style/pst-plot.el   |   24 ++--
 style/pstricks.el   |   32 +++---
 style/relsize.el|   69 ++
 style/shortvrb.el   |9 +-
 style/wrapfig.el|  107 
 tex.el  |  120 ++---
 40 files changed, 1498 insertions(+), 417 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index c7693dc..08b51a5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,76 @@
-2015-01-20  Tassilo Horn  
+2015-01-27  Tassilo Horn  
+
+   * tex.el (TeX-view-program-list-builtin): Remove "start" as
+   executable entry because it's no executable but a Windows system
+   command.
+   (TeX-view-program-list-builtin): Also remove "start" as executable
+   from the "dvips and start" entry.
+
+2015-01-25  Tassilo Horn  
+
+   * latex.el (LaTeX-section-heading): Use default parameter of
+   completing-read.  Fixes bug#19675.
+
+2015-01-19  Tassilo Horn  
+
+   * tex.el (TeX-auto-store): Fix indentation in auto files.
+
+2015-01-16  Arash Esbati  
+
+   * style/minted.el: Update copyright year.
+   (LaTeX-minted-auto-cleanup): Fix the name of the new langcode
+   environment.
+
+2014-12-30  Arash Esbati  
+
+   * style/multirow.el ("multirow"): Fix a typo in the name of a
+   variable.
+
+   * Makefile.in (STYLESRC): Add new styles.
+
+   * style/relsize.el: New file.
+
+   * style/wrapfig.el: New file.
+
+   * style/hyperref.el ("hyperref"): Add `Form' environment needed
+   for PDF and HTML forms.
+   (LaTeX-hyperref-forms-options): New variable for key-val options
+   used in form related macros (`TextField', `CheckBox',
+   `ChoiceMenu', `PushButton', `Submit', `Reset').
+
+2014-12-22  Tassilo Horn  
+
+   * doc/changes.texi: Document addition of LaTeX-command-section and
+   forward/backward search enhancements with Evince.
+
+   * latex.el (auto-mode-alist): Add latex-mode association for HeVeA
+   files.
+
+2014-12-21  Tassilo Horn  
+
+   * tex.el (TeX-parse-macro): Enclose arg in
+   LaTeX-default-verb-delimiter if macro is in
+   LaTeX-verbatim-macros-with-delims and there's only one argument.
+   (TeX-auto-store): Check if LaTeX-verbatim-environments,
+   LaTeX-verbatim-macros-with-delims, and
+   LaTeX-verbatim-macros-with-braces are bound before using them.
+
+   * style/minted.el (LaTeX-minted-newminted-regexp)
+   (LaTeX-minted-newmint-regexp, LaTeX-minted-newmintinline-regexp)
+   (LaTeX-minted-newmintedfile-regexp, LaTeX-minted-auto-cleanup):
+   Extend to recognize optional env/macro name.
+   ("minted"): Add \newminted, \newmint, \newmintinline, and
+   \newmintedfile macros.
+
+2014-12-20  Tassilo Horn  
+
+   * tex.el (TeX-auto-store): Write LaTeX-verbatim-*-local variables
+   to auto file to make them document-local.
+
+   * style/minted.el (LaTeX-minted-auto-cleanup): Recognize macros
+   generated by \new

[elpa] externals/auctex 81512a2 24/26: Fix bug#19673

2015-01-27 Thread Tassilo Horn
branch: externals/auctex
commit 81512a2275707731b64e769576f35360a7518ff7
Author: Tassilo Horn 
Commit: Tassilo Horn 

Fix bug#19673

* tex.el (TeX-view-program-list-builtin): Remove "start" as
executable entry because it's no executable but a Windows system
command.
---
 ChangeLog |6 ++
 tex.el|2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4aa8dfd..608d02c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-01-27  Tassilo Horn  
+
+   * tex.el (TeX-view-program-list-builtin): Remove "start" as
+   executable entry because it's no executable but a Windows system
+   command.
+
 2015-01-25  Tassilo Horn  
 
* latex.el (LaTeX-section-heading): Use default parameter of
diff --git a/tex.el b/tex.el
index e64af2a..31b77f0 100644
--- a/tex.el
+++ b/tex.el
@@ -1133,7 +1133,7 @@ the requirements are met."
((eq system-type 'windows-nt)
 '(("Yap" ("yap -1" (mode-io-correlate " -s %n%b") " %o") "yap")
   ("dvips and start" "dvips %d -o && start \"\" %f" ,(list "dvips" 
"start"))
-  ("start" "start \"\" %o" "start")))
+  ("start" "start \"\" %o")))
((eq system-type 'darwin)
 '(("Preview.app" "open -a Preview.app %o" "open")
   ("Skim" "open -a Skim.app %o" "open")



[elpa] externals/auctex b54c26a 16/26: Fix doc build

2015-01-27 Thread Tassilo Horn
branch: externals/auctex
commit b54c26abd81ae83780fd326a8d1831c291a76475
Author: Tassilo Horn 
Commit: Tassilo Horn 

Fix doc build

Don't reference info node when generating CHANGES.
---
 doc/changes.texi |7 +--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/doc/changes.texi b/doc/changes.texi
index 17a5683..5483c84 100644
--- a/doc/changes.texi
+++ b/doc/changes.texi
@@ -14,8 +14,11 @@
 @item
 Commands such as LaTeX and View can now be executed conveniently on the
 current section (or part, chapter, subsection, etc).  See
-@code{LaTeX-command-section}, @code{LaTeX-command-section-change-level},
-and @xref{Starting a Command}.
+@code{LaTeX-command-section} and
+@code{LaTeX-command-section-change-level}.
+@ifclear rawfile
+Also see the documentation at @xref{Starting a Command}.
+@end ifclear
 
 @item
 Forward and backward search with Evince now also work when only a region



[elpa] externals/auctex e2d6210 20/26: Fix in minted style.

2015-01-27 Thread Tassilo Horn
branch: externals/auctex
commit e2d62106c280b2d411e63cdb13afafce4e4e282d
Author: Arash Esbati 
Commit: Mosè Giordano 

Fix in minted style.

* style/minted.el: Update copyright year.
(LaTeX-minted-auto-cleanup): Fix the name of the new langcode
environment.

Signed-off-by: Mosè Giordano 
---
 ChangeLog   |6 ++
 style/minted.el |4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index c2e24db..d3cabd8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-01-16  Arash Esbati  
+
+   * style/minted.el: Update copyright year.
+   (LaTeX-minted-auto-cleanup): Fix the name of the new langcode
+   environment.
+
 2014-12-30  Arash Esbati  
 
* style/multirow.el ("multirow"): Fix a typo in the name of a
diff --git a/style/minted.el b/style/minted.el
index 83d4764..9a8df3c 100644
--- a/style/minted.el
+++ b/style/minted.el
@@ -1,6 +1,6 @@
 ;;; minted.el --- AUCTeX style for `minted.sty'
 
-;; Copyright (C) 2014 Free Software Foundation, Inc.
+;; Copyright (C) 2014, 2015 Free Software Foundation, Inc.
 
 ;; Author: Tassilo Horn 
 ;; Maintainer: auctex-de...@gnu.org
@@ -138,7 +138,7 @@
   (dolist (name-lang LaTeX-minted-auto-newminted)
 (let* ((env (if (> (length (car name-lang)) 0)
(car name-lang)
- (cadr name-lang)))
+ (concat (cadr name-lang) "code")))
   (env* (concat env "*")))
   (add-to-list 'LaTeX-auto-environment (list env))
   (add-to-list 'LaTeX-auto-environment



[elpa] externals/auctex 53838b3 23/26: Fix bug#19675

2015-01-27 Thread Tassilo Horn
branch: externals/auctex
commit 53838b36fce2a774055a1303851294947c97f01f
Author: Tassilo Horn 
Commit: Tassilo Horn 

Fix bug#19675

* latex.el (LaTeX-section-heading): Use default parameter of
completing-read.  Fixes bug#19675.
---
 ChangeLog |5 +
 latex.el  |6 +++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 33e78b0..4aa8dfd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-01-25  Tassilo Horn  
+
+   * latex.el (LaTeX-section-heading): Use default parameter of
+   completing-read.  Fixes bug#19675.
+
 2015-01-19  Tassilo Horn  
 
* tex.el (TeX-auto-store): Fix indentation in auto files.
diff --git a/latex.el b/latex.el
index 0da018e..8409690 100644
--- a/latex.el
+++ b/latex.el
@@ -441,11 +441,11 @@ the name of the sectioning command inserted with 
`\\[LaTeX-section]'."
   (let ((string (completing-read
 (concat "Level: (default " name ") ")
 LaTeX-section-list
-nil nil nil)))
-; Update name
+nil nil nil nil name)))
+;; Update name
 (if (not (zerop (length string)))
(setq name string))
-; Update level
+;; Update level
 (setq level (LaTeX-section-level name
 
 (defun LaTeX-section-title ()



[elpa] externals/auctex 5154e91 21/26: Remove already resolved FIXME.

2015-01-27 Thread Tassilo Horn
branch: externals/auctex
commit 5154e91b0a7b9090840ca91b5261ed46a10b124f
Author: Tassilo Horn 
Commit: Tassilo Horn 

Remove already resolved FIXME.
---
 style/minted.el |3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/style/minted.el b/style/minted.el
index 9a8df3c..758a52b 100644
--- a/style/minted.el
+++ b/style/minted.el
@@ -103,9 +103,6 @@
(LaTeX-minted-language-list))
optional))
 
-;; FIXME: All the \newmint-macros allow to specify the env/macro name as
-;; optional 1st arg, e.g., with \newminted[fifi]{cpp}{opts} the resulting
-;; environments are fifi and fifi* rather than cppcode and cppcode*.
 (defvar LaTeX-minted-auto-newminted nil)
 (defvar LaTeX-minted-newminted-regexp
   '("newminted\\(?:\\[\\([^]]+\\)\\]\\)?{\\([^}]+\\)}{[^}]*}"



[elpa] externals/auctex 8cd2b07 22/26: Fix indentation in auto files.

2015-01-27 Thread Tassilo Horn
branch: externals/auctex
commit 8cd2b07e2074ad5e9fdbe6da8f580972f7b6de5d
Author: Tassilo Horn 
Commit: Tassilo Horn 

Fix indentation in auto files.

* tex.el (TeX-auto-store): Fix indentation in auto files.
---
 ChangeLog |4 
 tex.el|6 +++---
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d3cabd8..33e78b0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-01-19  Tassilo Horn  
+
+   * tex.el (TeX-auto-store): Fix indentation in auto files.
+
 2015-01-16  Arash Esbati  
 
* style/minted.el: Update copyright year.
diff --git a/tex.el b/tex.el
index ac404e0..e64af2a 100644
--- a/tex.el
+++ b/tex.el
@@ -3728,15 +3728,15 @@ If TEX is a directory, generate style files for all 
files in the directory."
" '" (prin1-to-string pkg-opts) ")"))
  (dolist (env verb-envs)
(insert
-(format "\n  (add-to-list 'LaTeX-verbatim-environments-local 
\"%s\")"
+(format "\n   (add-to-list 'LaTeX-verbatim-environments-local 
\"%s\")"
 env)))
  (dolist (env verb-macros-braces)
(insert
-(format "\n  (add-to-list 'LaTeX-verbatim-macros-with-braces-local 
\"%s\")"
+(format "\n   (add-to-list 
'LaTeX-verbatim-macros-with-braces-local \"%s\")"
 env)))
  (dolist (env verb-macros-delims)
(insert
-(format "\n  (add-to-list 'LaTeX-verbatim-macros-with-delims-local 
\"%s\")"
+(format "\n   (add-to-list 
'LaTeX-verbatim-macros-with-delims-local \"%s\")"
 env)))
  (mapc (lambda (el) (TeX-auto-insert el style))
TeX-auto-parser)



[elpa] externals/auctex 4b43c80 25/26: Fix bug#19673 (cont.)

2015-01-27 Thread Tassilo Horn
branch: externals/auctex
commit 4b43c80d0132b448c6b45ce2abecda727e685458
Author: Tassilo Horn 
Commit: Tassilo Horn 

Fix bug#19673 (cont.)

* tex.el (TeX-view-program-list-builtin): Also remove "start" as
executable from the "dvips and start" entry.
---
 ChangeLog |2 ++
 tex.el|2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 608d02c..dab2cad 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,8 @@
* tex.el (TeX-view-program-list-builtin): Remove "start" as
executable entry because it's no executable but a Windows system
command.
+   (TeX-view-program-list-builtin): Also remove "start" as executable
+   from the "dvips and start" entry.
 
 2015-01-25  Tassilo Horn  
 
diff --git a/tex.el b/tex.el
index 31b77f0..a17b8b4 100644
--- a/tex.el
+++ b/tex.el
@@ -1132,7 +1132,7 @@ the requirements are met."
   (cond
((eq system-type 'windows-nt)
 '(("Yap" ("yap -1" (mode-io-correlate " -s %n%b") " %o") "yap")
-  ("dvips and start" "dvips %d -o && start \"\" %f" ,(list "dvips" 
"start"))
+  ("dvips and start" "dvips %d -o && start \"\" %f" "dvips")
   ("start" "start \"\" %o")))
((eq system-type 'darwin)
 '(("Preview.app" "open -a Preview.app %o" "open")



[elpa] externals/auctex ddd6b97 11/26: Improve minted style.

2015-01-27 Thread Tassilo Horn
branch: externals/auctex
commit ddd6b97c8c18cc797762224023753a66863e0deb
Author: Tassilo Horn 
Commit: Tassilo Horn 

Improve minted style.

* style/minted.el (LaTeX-minted-auto-cleanup): Recognize macros
generated by \newmint, \newmintinline, and \newmintedfile, too.
---
 ChangeLog   |3 +++
 style/minted.el |   19 ---
 2 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5bf02de..142694c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2014-12-20  Tassilo Horn  
 
+   * style/minted.el (LaTeX-minted-auto-cleanup): Recognize macros
+   generated by \newmint, \newmintinline, and \newmintedfile, too.
+
* tex.el (TeX-evince-sync-view): Encode URI with `url-encode-url'.
 
 2014-12-19  Tassilo Horn  
diff --git a/style/minted.el b/style/minted.el
index b5733c3..dce725b 100644
--- a/style/minted.el
+++ b/style/minted.el
@@ -129,13 +129,7 @@
LaTeX-minted-auto-newmintedfile nil))
 
 (defun LaTeX-minted-auto-cleanup ()
-  ;; (message "1: %s\n2: %s\n3: %s\n4: %s"
-  ;;  LaTeX-minted-auto-newminted
-  ;;  LaTeX-minted-auto-newmint
-  ;;  LaTeX-minted-auto-newmintinline
-  ;;  LaTeX-minted-auto-newmintedfile)
-  ;; Every \newminted{lang}{opts} defines a new langcode and a new langcode*
-  ;; env.  The starred version has mandatory args.
+  ;; \newminted{lang}{opts} => new langcode and langcode* envs.
   (dolist (lang LaTeX-minted-auto-newminted)
 (let* ((env (concat lang "code"))
   (env* (concat env "*")))
@@ -147,6 +141,17 @@
   (add-to-list 'LaTeX-indent-environment-list `(,env* current-indentation))
   (add-to-list 'LaTeX-verbatim-environments-local env)
   (add-to-list 'LaTeX-verbatim-environments-local env*)))
+  ;; \newmint{foo}{opts} => \foo|code|
+  (dolist (lang LaTeX-minted-auto-newmint)
+(add-to-list 'TeX-auto-symbol lang)
+(add-to-list 'LaTeX-verbatim-macros-with-delims-local lang))
+  ;; \newmintinline{foo}{opts} => \fooinline|code|
+  (dolist (lang LaTeX-minted-auto-newmintinline)
+(add-to-list 'TeX-auto-symbol lang)
+(add-to-list 'LaTeX-verbatim-macros-with-delims-local (concat lang 
"inline")))
+  ;; \newmintedfile{foo}{opts} => \foofile{file-name}
+  (dolist (lang LaTeX-minted-auto-newmintedfile)
+(add-to-list 'TeX-auto-symbol (list lang 'TeX-arg-file)))
   (when (and (fboundp 'font-latex-add-keywords)
 (fboundp 'font-latex-set-syntactic-keywords)
 (eq TeX-install-font-lock 'font-latex-setup))



[elpa] externals/auctex 2487022 15/26: Update changes.texi

2015-01-27 Thread Tassilo Horn
branch: externals/auctex
commit 24870220966396d656d8b0337fec3e969ad1fde8
Author: Tassilo Horn 
Commit: Tassilo Horn 

Update changes.texi

* doc/changes.texi: Document addition of LaTeX-command-section and
forward/backward search enhancements with Evince.
---
 ChangeLog|3 +++
 doc/changes.texi |   10 ++
 2 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 285d073..d874f66 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2014-12-22  Tassilo Horn  
 
+   * doc/changes.texi: Document addition of LaTeX-command-section and
+   forward/backward search enhancements with Evince.
+
* latex.el (auto-mode-alist): Add latex-mode association for HeVeA
files.
 
diff --git a/doc/changes.texi b/doc/changes.texi
index a4b2e76..17a5683 100644
--- a/doc/changes.texi
+++ b/doc/changes.texi
@@ -12,6 +12,16 @@
 
 @itemize @bullet
 @item
+Commands such as LaTeX and View can now be executed conveniently on the
+current section (or part, chapter, subsection, etc).  See
+@code{LaTeX-command-section}, @code{LaTeX-command-section-change-level},
+and @xref{Starting a Command}.
+
+@item
+Forward and backward search with Evince now also work when only a region
+of the document is compiled/viewed.
+
+@item
 New option @code{TeX-file-line-error} allows to select file:line:error
 style for error messages.
 



[elpa] externals/auctex 63bcbcd 08/26: Obsolete LaTeX-verbatim-regexp defcustom

2015-01-27 Thread Tassilo Horn
branch: externals/auctex
commit 63bcbcd1f6aae29b8c53d7a703fb0e5f92be0701
Author: Tassilo Horn 
Commit: Tassilo Horn 

Obsolete LaTeX-verbatim-regexp defcustom

* latex.el (LaTeX-verbatim-regexp): Make variable obsolete.
(LaTeX-verbatim-regexp): New function which computes a regexp of
verbatim environments from LaTeX-verbatim-environments.
(LaTeX-indent-calculate, LaTeX-indent-calculate-last): Use the
function LaTeX-verbatim-regexp instead of the variable.

* style/listings.el ("listings"): Don't modify the now obsolete
LaTeX-verbatim-regexp.

* style/fancyvrb.el ("fancyvrb"): Don't modify the now obsolete
LaTeX-verbatim-regexp.

* style/beamer.el ("beamer"): Don't modify the now obsolete
LaTeX-verbatim-regexp.

* style/alltt.el ("alltt"): Don't modify the now obsolete
LaTeX-verbatim-regexp.
---
 ChangeLog |   17 +
 latex.el  |   14 ++
 style/alltt.el|2 --
 style/beamer.el   |4 +---
 style/fancyvrb.el |6 +-
 style/listings.el |4 +---
 6 files changed, 30 insertions(+), 17 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9bd0dae..735d8d0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,23 @@
 
* latex.el (LaTeX-env-args): Bind exit-mark if its not bound
already.
+   (LaTeX-verbatim-regexp): Make variable obsolete.
+   (LaTeX-verbatim-regexp): New function which computes a regexp of
+   verbatim environments from LaTeX-verbatim-environments.
+   (LaTeX-indent-calculate, LaTeX-indent-calculate-last): Use the
+   function LaTeX-verbatim-regexp instead of the variable.
+
+   * style/listings.el ("listings"): Don't modify the now obsolete
+   LaTeX-verbatim-regexp.
+
+   * style/fancyvrb.el ("fancyvrb"): Don't modify the now obsolete
+   LaTeX-verbatim-regexp.
+
+   * style/beamer.el ("beamer"): Don't modify the now obsolete
+   LaTeX-verbatim-regexp.
+
+   * style/alltt.el ("alltt"): Don't modify the now obsolete
+   LaTeX-verbatim-regexp.
 
 2014-12-18  Tassilo Horn  
 
diff --git a/latex.el b/latex.el
index 1098601..8b19c8b 100644
--- a/latex.el
+++ b/latex.el
@@ -2914,6 +2914,8 @@ indentation level in columns."
   "*Regexp matching environments with indentation at col 0 for begin/end."
   :group 'LaTeX-indentation
   :type 'regexp)
+(make-obsolete-variable 'LaTeX-verbatim-regexp 
'LaTeX-verbatim-environments-local
+   "2014-12-19")
 
 (defcustom LaTeX-begin-regexp "begin\\b"
   "*Regexp matching macros considered begins."
@@ -3045,6 +3047,10 @@ Lines starting with an item is given an extra 
indentation of
   (delete-region (line-beginning-position) (point))
   (indent-to outer-indent))
 
+(defun LaTeX-verbatim-regexp ()
+  "Calculate the verbatim env regex from `LaTeX-verbatim-environments'."
+  (regexp-opt (LaTeX-verbatim-environments)))
+
 (defun LaTeX-indent-calculate (&optional force-type)
   "Return the indentation of a line of LaTeX source.
 FORCE-TYPE can be used to force the calculation of an inner or
@@ -3076,7 +3082,7 @@ outer indentation in case of a commented line.  The 
symbols
   (nth 1 entry)))
((looking-at (concat (regexp-quote TeX-esc)
 "\\(begin\\|end\\){\\("
-LaTeX-verbatim-regexp
+(LaTeX-verbatim-regexp)
 "\\)}"))
 ;; \end{verbatim} must be flush left, otherwise an unwanted
 ;; empty line appears in LaTeX's output.
@@ -3208,19 +3214,19 @@ outer indentation in case of a commented line.  The 
symbols
   0)
  ((looking-at (concat (regexp-quote TeX-esc)
   "begin *{\\("
-  LaTeX-verbatim-regexp
+  (LaTeX-verbatim-regexp)
   "\\)}"))
   0)
  ((looking-at (concat (regexp-quote TeX-esc)
   "end *{\\("
-  LaTeX-verbatim-regexp
+  (LaTeX-verbatim-regexp)
   "\\)}"))
   ;; If I see an \end{verbatim} in the previous line I skip
   ;; back to the preceding \begin{verbatim}.
   (save-excursion
 (if (re-search-backward (concat (regexp-quote TeX-esc)
 "begin *{\\("
-LaTeX-verbatim-regexp
+(LaTeX-verbatim-regexp)
 "\\)}") 0 t)
 (LaTeX-indent-calculate-last force-type)
   0)))
diff --git a/style/alltt.el b/style/alltt.el
index e5c5684..86b4993 100644
--- a/style/alltt.el
+++ b/style/alltt.el
@@ -37,8 +37,6 @@
(make-local-variable 'LaTeX-indent-environment-list)
(add-to-list 'LaTeX-indent-environment-list

[elpa] externals/auctex 0cc29f9 07/26: Fix void-variable error.

2015-01-27 Thread Tassilo Horn
branch: externals/auctex
commit 0cc29f909de3f1febd9d958e96007493a2f9b69c
Author: Tassilo Horn 
Commit: Tassilo Horn 

Fix void-variable error.

* latex.el (LaTeX-env-args): Bind exit-mark if its not bound
already.
---
 ChangeLog |5 +
 latex.el  |5 -
 2 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 869e8c9..9bd0dae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-19  Tassilo Horn  
+
+   * latex.el (LaTeX-env-args): Bind exit-mark if its not bound
+   already.
+
 2014-12-18  Tassilo Horn  
 
* tex.el (TeX-evince-sync-view): Don't URL-encode commas in the
diff --git a/latex.el b/latex.el
index 477ef66..1098601 100644
--- a/latex.el
+++ b/latex.el
@@ -1182,7 +1182,10 @@ Just like array and tabular."
   (save-excursion
 (LaTeX-find-matching-begin)
 (end-of-line)
-(TeX-parse-arguments args)))
+(let ((exit-mark (if (boundp 'exit-mark)
+exit-mark
+  (make-marker
+  (TeX-parse-arguments args
 
 ;;; Item hooks
 



[elpa] externals/auctex 6e94ea0 09/26: Add (start of an) minted style.

2015-01-27 Thread Tassilo Horn
branch: externals/auctex
commit 6e94ea0227aae5959b820b5021ef08973c2403eb
Author: Tassilo Horn 
Commit: Tassilo Horn 

Add (start of an) minted style.

* style/minted.el: New style.

* Makefile.in (STYLESRC): Add style/minted.el.
---
 ChangeLog   |4 +
 Makefile.in |2 +-
 style/minted.el |  212 +++
 3 files changed, 217 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 735d8d0..402416e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2014-12-19  Tassilo Horn  
 
+   * style/minted.el: New style.
+
+   * Makefile.in (STYLESRC): Add style/minted.el.
+
* latex.el (LaTeX-env-args): Bind exit-mark if its not bound
already.
(LaTeX-verbatim-regexp): Make variable obsolete.
diff --git a/Makefile.in b/Makefile.in
index a132c1c..998e730 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -142,7 +142,7 @@ STYLESRC = style/prosper.el \
   style/XCharter.el  style/zlmtt.el style/ifluatex.el \
   style/luatextra.el style/erewhon.el   style/baskervaldx.el \
   style/fbb.el   style/newtxmath.el style/newtxsf.el \
-  style/newtxtext.el style/newtxttt.el
+  style/newtxtext.el style/newtxttt.el  style/minted.el
 STYLEELC = $(STYLESRC:.el=.elc)
 
 ifeq (@preview_enabled@,yes)
diff --git a/style/minted.el b/style/minted.el
new file mode 100644
index 000..b5733c3
--- /dev/null
+++ b/style/minted.el
@@ -0,0 +1,212 @@
+;;; minted.el --- AUCTeX style for `minted.sty'
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; Author: Tassilo Horn 
+;; Maintainer: auctex-de...@gnu.org
+;; Created: 2014-12-19
+;; 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 `minted.sty'.
+
+;;; Code:
+
+(require 'tex)
+
+(defvar LaTeX-minted-key-val-options
+  '(("autogobble" ("true" "false"))
+("baselinestretch" ("auto"))
+("bgcolor")
+("codetagify")
+("encoding")
+("outencoding")
+("firstline")
+("firstnumber" ("auto"))
+("fontfamily" ("tt" "courier" "helvetica"))
+("fontseries" ("auto"))
+("fontsize" ("auto" "\\tiny" "\\large" "\\scriptsize" "\\Large"
+"\\footnotesize" "\\LARGE" "\\small" "\\huge"
+"\\normalsize" "\\Huge"))
+("fontshape" ("auto"))
+("formatcom")
+("frame" ("none" "leftline" "topline" "bottomline" "lines" "single"))
+("framerule")
+("framesep")
+("funcnamehighlighting" ("true" "false"))
+("gobble")
+("keywordcase" ("lower" "upper" "capitalize"))
+("label")
+("labelposition" ("none" "topline" "bottomline" "all"))
+("lastline")
+("linenos" ("true" "false"))
+("numbers" ("left" "right"))
+("mathescape" ("true" "false"))
+("numberblanklines" ("true" "false"))
+("numbersep")
+("obeytabs" ("true" "false"))
+("python3" ("true" "false"))
+("resetmargins" ("true" "false"))
+("rulecolor")
+("samepage" ("true" "false"))
+("showspaces" ("true" "false"))
+("showtabs" ("true" "false"))
+("startinline" ("true" "false"))
+("style")
+("stepnumber")
+("stripnl")
+("tabsize")
+("texcl" ("true" "false"))
+("texcomments" ("true" "false"))
+("xleftmargin")
+("xrightmargin"))
+  "Key=value options for minted macros and environments.")
+
+(defvar LaTeX-minted-pygmentize-program (executable-find "pygmentize"))
+
+(defvar LaTeX-minted-language-list nil)
+
+(defun LaTeX-minted-language-list (&rest _ignored)
+  (or LaTeX-minted-language-list
+  (when LaTeX-minted-pygmentize-program
+   (with-temp-buffer
+ (shell-command (concat LaTeX-minted-pygmentize-program " -L lexers")
+(current-buffer))
+ (goto-char (point-min))
+ (let (languages)
+   (while (re-search-forward "^\\*[[:space:]]\\([^:]+\\):" nil t)
+ (dolist (lang (split-string (match-string 1) "[[:space:],]" t))
+   (push lang languages)))
+   languages)
+
+(defun LaTeX-arg-minted-language (optional &optional prompt)
+  (TeX-argument-insert
+   (completing-read (TeX-argument-prompt optional prompt "Language")
+   (LaTeX-minted-language-list))

[elpa] externals/auctex d3d05d4 12/26: Make some buffer-local vars document-local.

2015-01-27 Thread Tassilo Horn
branch: externals/auctex
commit d3d05d462afbe69687277f7fc0dd09e6ef2ff113
Author: Tassilo Horn 
Commit: Tassilo Horn 

Make some buffer-local vars document-local.

* tex.el (TeX-auto-store): Write LaTeX-verbatim-*-local variables
to auto file to make them document-local.
---
 ChangeLog |3 +++
 tex.el|   17 -
 2 files changed, 19 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 142694c..641764b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2014-12-20  Tassilo Horn  
 
+   * tex.el (TeX-auto-store): Write LaTeX-verbatim-*-local variables
+   to auto file to make them document-local.
+
* style/minted.el (LaTeX-minted-auto-cleanup): Recognize macros
generated by \newmint, \newmintinline, and \newmintedfile, too.
 
diff --git a/tex.el b/tex.el
index 0ef5399..713a476 100644
--- a/tex.el
+++ b/tex.el
@@ -3699,7 +3699,10 @@ If TEX is a directory, generate style files for all 
files in the directory."
(class-opts (if (boundp 'LaTeX-provided-class-options)
LaTeX-provided-class-options))
(pkg-opts (if (boundp 'LaTeX-provided-package-options)
- LaTeX-provided-package-options)))
+ LaTeX-provided-package-options))
+   (verb-envs  LaTeX-verbatim-environments-local)
+   (verb-macros-delims LaTeX-verbatim-macros-with-delims-local)
+   (verb-macros-braces LaTeX-verbatim-macros-with-braces-local))
(TeX-unload-style style)
(with-current-buffer (generate-new-buffer file)
  (erase-buffer)
@@ -3711,6 +3714,18 @@ If TEX is a directory, generate style files for all 
files in the directory."
  (when pkg-opts
(insert "\n   (TeX-add-to-alist 'LaTeX-provided-package-options\n"
" '" (prin1-to-string pkg-opts) ")"))
+ (dolist (env verb-envs)
+   (insert
+(format "\n  (add-to-list 'LaTeX-verbatim-environments-local 
\"%s\")"
+env)))
+ (dolist (env verb-macros-braces)
+   (insert
+(format "\n  (add-to-list 'LaTeX-verbatim-macros-with-braces-local 
\"%s\")"
+env)))
+ (dolist (env verb-macros-delims)
+   (insert
+(format "\n  (add-to-list 'LaTeX-verbatim-macros-with-delims-local 
\"%s\")"
+env)))
  (mapc (lambda (el) (TeX-auto-insert el style))
TeX-auto-parser)
  (insert "))\n\n")



[elpa] externals/auctex df97f94 13/26: Improve minted style.

2015-01-27 Thread Tassilo Horn
branch: externals/auctex
commit df97f94f70fc159ba8f5de774e1e29062aaac9a1
Author: Tassilo Horn 
Commit: Tassilo Horn 

Improve minted style.

* tex.el (TeX-parse-macro): Enclose arg in
LaTeX-default-verb-delimiter if macro is in
LaTeX-verbatim-macros-with-delims and there's only one argument.
(TeX-auto-store): Check if LaTeX-verbatim-environments,
LaTeX-verbatim-macros-with-delims, and
LaTeX-verbatim-macros-with-braces are bound before using them.

* style/minted.el (LaTeX-minted-newminted-regexp)
(LaTeX-minted-newmint-regexp, LaTeX-minted-newmintinline-regexp)
(LaTeX-minted-newmintedfile-regexp, LaTeX-minted-auto-cleanup):
Extend to recognize optional env/macro name.
("minted"): Add \newminted, \newmint, \newmintinline, and
\newmintedfile macros.
---
 ChangeLog   |   16 ++
 style/minted.el |   57 +++-
 tex.el  |   86 +++---
 3 files changed, 107 insertions(+), 52 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 641764b..429c6af 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2014-12-21  Tassilo Horn  
+
+   * tex.el (TeX-parse-macro): Enclose arg in
+   LaTeX-default-verb-delimiter if macro is in
+   LaTeX-verbatim-macros-with-delims and there's only one argument.
+   (TeX-auto-store): Check if LaTeX-verbatim-environments,
+   LaTeX-verbatim-macros-with-delims, and
+   LaTeX-verbatim-macros-with-braces are bound before using them.
+
+   * style/minted.el (LaTeX-minted-newminted-regexp)
+   (LaTeX-minted-newmint-regexp, LaTeX-minted-newmintinline-regexp)
+   (LaTeX-minted-newmintedfile-regexp, LaTeX-minted-auto-cleanup):
+   Extend to recognize optional env/macro name.
+   ("minted"): Add \newminted, \newmint, \newmintinline, and
+   \newmintedfile macros.
+
 2014-12-20  Tassilo Horn  
 
* tex.el (TeX-auto-store): Write LaTeX-verbatim-*-local variables
diff --git a/style/minted.el b/style/minted.el
index dce725b..83d4764 100644
--- a/style/minted.el
+++ b/style/minted.el
@@ -108,19 +108,23 @@
 ;; environments are fifi and fifi* rather than cppcode and cppcode*.
 (defvar LaTeX-minted-auto-newminted nil)
 (defvar LaTeX-minted-newminted-regexp
-  '("newminted{\\([^}]+\\)}{[^}]*}" 1 LaTeX-minted-auto-newminted))
+  '("newminted\\(?:\\[\\([^]]+\\)\\]\\)?{\\([^}]+\\)}{[^}]*}"
+(1 2) LaTeX-minted-auto-newminted))
 
 (defvar LaTeX-minted-auto-newmint nil)
 (defvar LaTeX-minted-newmint-regexp
-  '("newmint{\\([^}]+\\)}{[^}]*}" 1 LaTeX-minted-auto-newmint))
+  '("newmint\\(?:\\[\\([^]]+\\)\\]\\)?{\\([^}]+\\)}{[^}]*}"
+(1 2) LaTeX-minted-auto-newmint))
 
 (defvar LaTeX-minted-auto-newmintinline nil)
 (defvar LaTeX-minted-newmintinline-regexp
-  '("newmintinline{\\([^}]+\\)}{[^}]*}" 1 LaTeX-minted-auto-newmintinline))
+  '("newmintinline\\(?:\\[\\([^]]+\\)\\]\\)?{\\([^}]+\\)}{[^}]*}"
+(1 2) LaTeX-minted-auto-newmintinline))
 
 (defvar LaTeX-minted-auto-newmintedfile nil)
 (defvar LaTeX-minted-newmintedfile-regexp
-  '("newmintedfile{\\([^}]+\\)}{[^}]*}" 1 LaTeX-minted-auto-newmintedfile))
+  '("newmintedfile\\(?:\\[\\([^]]+\\)\\]\\)?{\\([^}]+\\)}{[^}]*}"
+(1 2) LaTeX-minted-auto-newmintedfile))
 
 (defun LaTeX-minted-auto-prepare ()
   (setq LaTeX-minted-auto-newminted nil
@@ -130,8 +134,11 @@
 
 (defun LaTeX-minted-auto-cleanup ()
   ;; \newminted{lang}{opts} => new langcode and langcode* envs.
-  (dolist (lang LaTeX-minted-auto-newminted)
-(let* ((env (concat lang "code"))
+  ;; \newminted[envname]{lang}{opts} => new envname/envname* envs.
+  (dolist (name-lang LaTeX-minted-auto-newminted)
+(let* ((env (if (> (length (car name-lang)) 0)
+   (car name-lang)
+ (cadr name-lang)))
   (env* (concat env "*")))
   (add-to-list 'LaTeX-auto-environment (list env))
   (add-to-list 'LaTeX-auto-environment
@@ -142,16 +149,28 @@
   (add-to-list 'LaTeX-verbatim-environments-local env)
   (add-to-list 'LaTeX-verbatim-environments-local env*)))
   ;; \newmint{foo}{opts} => \foo|code|
-  (dolist (lang LaTeX-minted-auto-newmint)
-(add-to-list 'TeX-auto-symbol lang)
-(add-to-list 'LaTeX-verbatim-macros-with-delims-local lang))
+  ;; \newmint[macname]{foo}{opts} => \macname|code|
+  (dolist (name-lang LaTeX-minted-auto-newmint)
+(let ((lang (if (> (length (car name-lang)) 0)
+   (car name-lang)
+ (cadr name-lang
+  (add-to-list 'TeX-auto-symbol lang)
+  (add-to-list 'LaTeX-verbatim-macros-with-delims-local lang)))
   ;; \newmintinline{foo}{opts} => \fooinline|code|
-  (dolist (lang LaTeX-minted-auto-newmintinline)
-(add-to-list 'TeX-auto-symbol lang)
-(add-to-list 'LaTeX-verbatim-macros-with-delims-local (concat lang 
"inline")))
+  ;; \newmintinline[macname]{foo}{opts} => \macname|code|
+  (dolist (name-lang LaTeX-minted-auto-newmin

[elpa] branch elpa deleted (was d9126ba)

2015-01-27 Thread Tassilo Horn
tsdh pushed a change to branch elpa.

   was  d9126ba   Fix merge commits

This change permanently discards the following revisions:

  discards  d9126ba   Fix merge commits
  discards  4b43c80   Fix bug#19673 (cont.)
  discards  81512a2   Fix bug#19673
  discards  53838b3   Fix bug#19675
  discards  8cd2b07   Fix indentation in auto files.
  discards  5154e91   Remove already resolved FIXME.
  discards  e2d6210   Fix in minted style.
  discards  f3cf79d   Fix a typo.
  discards  5734441   Add new styles.
  discards  18ee3e9   Add `Form' environment needed for PDF and HTML forms.
  discards  b54c26a   Fix doc build
  discards  2487022   Update changes.texi
  discards  fff9412   Add hva file assoc to auto-mode-alist (bug#19426)
  discards  df97f94   Improve minted style.
  discards  d3d05d4   Make some buffer-local vars document-local.
  discards  ddd6b97   Improve minted style.
  discards  ff1f544   Fix encoding file:// uri.
  discards  6e94ea0   Add (start of an) minted style.
  discards  63bcbcd   Obsolete LaTeX-verbatim-regexp defcustom
  discards  0cc29f9   Fix void-variable error.
  discards  fc9a240   Fix bug#19398 in TeX-evince-sync-view
  discards  c7e1e47   [Fix #19281]  Allow moodifying environments with macros 
in their names.
  discards  8dd1455   Fix in style/babel.el.
  discards  49ee91a   Fix byte-compile warnings.
  discards  8c6a5ae   [Fix #19301] Fix closing bracket in style/mathtools.el.
  discards  6bfd4c8   Add new styles.



[elpa] externals/auctex fff9412 14/26: Add hva file assoc to auto-mode-alist (bug#19426)

2015-01-27 Thread Tassilo Horn
branch: externals/auctex
commit fff941295dfe2b1b26bd5674be5366878230fb88
Author: Tassilo Horn 
Commit: Tassilo Horn 

Add hva file assoc to auto-mode-alist (bug#19426)

* latex.el (auto-mode-alist): Add latex-mode association for HeVeA
files.
---
 ChangeLog |5 +
 latex.el  |4 
 2 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 429c6af..285d073 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-22  Tassilo Horn  
+
+   * latex.el (auto-mode-alist): Add latex-mode association for HeVeA
+   files.
+
 2014-12-21  Tassilo Horn  
 
* tex.el (TeX-parse-macro): Enclose arg in
diff --git a/latex.el b/latex.el
index 8b19c8b..0da018e 100644
--- a/latex.el
+++ b/latex.el
@@ -5701,6 +5701,10 @@ This happens when \\left is inserted."
 ;;;###autoload
 (add-to-list 'auto-mode-alist '("\\.drv\\'" . latex-mode))
 
+;; HeVeA files (LaTeX -> HTML converter: http://hevea.inria.fr/)
+;;;###autoload
+(add-to-list 'auto-mode-alist '("\\.hva\\'" . latex-mode))
+
 ;;;###autoload
 (defun TeX-latex-mode ()
   "Major mode in AUCTeX for editing LaTeX files.



[elpa] externals/auctex c7e1e47 05/26: [Fix #19281] Allow moodifying environments with macros in their names.

2015-01-27 Thread Tassilo Horn
branch: externals/auctex
commit c7e1e47e8d7668cb63c531416d6c7f7dd5b3aa35
Author: Mosè Giordano 
Commit: Mosè Giordano 

[Fix #19281]  Allow moodifying environments with macros in their names.

* latex.el (LaTeX-environment-name-regexp): New function.
(LaTeX-modify-environment): Use it.
(LaTeX-find-matching-end): Use `TeX-grop' instead of the
hard-coded "{".  Search for the closing of the environment with
`re-search-forward' instead of `search-forward' and use
`LaTeX-environment-name-regexp': this allows to consider
environments with macros in their names.  (Bug#19281)
(LaTeX-find-matching-begin): Use `TeX-grop' instead of the
hard-coded "{".
---
 ChangeLog |   12 
 latex.el  |   20 +++-
 2 files changed, 27 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d0c1160..10063c3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2014-12-12  Mos� Giordano  
+
+   * latex.el (LaTeX-environment-name-regexp): New function.
+   (LaTeX-modify-environment): Use it.
+   (LaTeX-find-matching-end): Use `TeX-grop' instead of the
+   hard-coded "{".  Search for the closing of the environment with
+   `re-search-forward' instead of `search-forward' and use
+   `LaTeX-environment-name-regexp': this allows to consider
+   environments with macros in their names.  (Bug#19281)
+   (LaTeX-find-matching-begin): Use `TeX-grop' instead of the
+   hard-coded "{".
+
 2014-12-09  Mos� Giordano  
 
* style/babel.el (LaTeX-babel-active-languages): Move `nreverse'
diff --git a/latex.el b/latex.el
index 0022ae2..477ef66 100644
--- a/latex.el
+++ b/latex.el
@@ -729,6 +729,15 @@ environment just inserted, the buffer position just before
 (run-hook-with-args 'LaTeX-after-insert-env-hooks
environment env-start env-end)))
 
+(defun LaTeX-environment-name-regexp ()
+  "Return the regexp matching the name of a LaTeX environment.
+This matches everything different from a TeX closing brace but
+allowing one level of TeX group braces."
+  (concat "\\([^" (regexp-quote TeX-grcl) (regexp-quote TeX-grop) "]*\\("
+ (regexp-quote TeX-grop) "[^" (regexp-quote TeX-grcl)
+ (regexp-quote TeX-grop) "]*" (regexp-quote TeX-grcl) "\\)*[^"
+ (regexp-quote TeX-grcl) (regexp-quote TeX-grop) "]*\\)"))
+
 (defun LaTeX-modify-environment (environment)
   "Modify current ENVIRONMENT."
   (save-excursion
@@ -736,7 +745,7 @@ environment just inserted, the buffer position just before
 (re-search-backward (concat (regexp-quote TeX-esc)
"end"
(regexp-quote TeX-grop)
-   " *\\([a-zA-Z*]*\\)"
+   (LaTeX-environment-name-regexp)
(regexp-quote TeX-grcl))
(save-excursion (beginning-of-line 1) (point)))
 (replace-match (concat TeX-esc "end" TeX-grop environment TeX-grcl) t t)
@@ -745,7 +754,7 @@ environment just inserted, the buffer position just before
 (re-search-forward (concat (regexp-quote TeX-esc)
   "begin"
   (regexp-quote TeX-grop)
-  " *\\([a-zA-Z*]*\\)"
+  (LaTeX-environment-name-regexp)
   (regexp-quote TeX-grcl))
   (save-excursion (end-of-line 1) (point)))
 (replace-match (concat TeX-esc "begin" TeX-grop environment TeX-grcl) t 
t)))
@@ -4124,7 +4133,7 @@ environment in commented regions with the same comment 
prefix."
 (comment-prefix (and in-comment (TeX-comment-prefix)))
 (case-fold-search nil))
 (save-excursion
-  (skip-chars-backward "a-zA-Z \t{")
+  (skip-chars-backward (concat "a-zA-Z \t" (regexp-quote TeX-grop)))
   (unless (bolp)
(backward-char 1)
(and (looking-at regexp)
@@ -4143,7 +4152,8 @@ environment in commented regions with the same comment 
prefix."
(setq level (1+ level))
  (setq level (1- level)
 (if (= level 0)
-   (search-forward "}")
+   (re-search-forward
+(concat TeX-grop (LaTeX-environment-name-regexp) TeX-grcl))
   (error "Can't locate end of current environment"
 
 (defun LaTeX-find-matching-begin ()
@@ -4158,7 +4168,7 @@ environment in commented regions with the same comment 
prefix."
 (in-comment (TeX-in-commented-line))
 (comment-prefix (and in-comment (TeX-comment-prefix)))
 (case-fold-search nil))
-(skip-chars-backward "a-zA-Z \t{")
+(skip-chars-backward (concat "a-zA-Z \t" (regexp-quote TeX-grop)))
 (unless (bolp)
   (backward-char 1)
   (and (looking-at regexp)



[elpa] externals/auctex fc9a240 06/26: Fix bug#19398 in TeX-evince-sync-view

2015-01-27 Thread Tassilo Horn
branch: externals/auctex
commit fc9a240dccd5e328142c821fb4ed0dbe34bd76c7
Author: Tassilo Horn 
Commit: Tassilo Horn 

Fix bug#19398 in TeX-evince-sync-view

* tex.el (TeX-evince-sync-view): Don't URL-encode commas in the
file name (bug#19398).
---
 ChangeLog |5 +
 tex.el|3 ++-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 10063c3..869e8c9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-18  Tassilo Horn  
+
+   * tex.el (TeX-evince-sync-view): Don't URL-encode commas in the
+   file name (bug#19398).
+
 2014-12-12  Mos� Giordano  
 
* latex.el (LaTeX-environment-name-regexp): New function.
diff --git a/tex.el b/tex.el
index df312a0..af02663 100644
--- a/tex.el
+++ b/tex.el
@@ -1104,7 +1104,8 @@ of point in emacs by using Evince's DBUS API.  Used by 
default
 for the Evince viewer entry in `TeX-view-program-list-builtin' if
 the requirements are met."
   (require 'url-util)
-  (let* ((uri (concat "file://" (let ((url-unreserved-chars (cons ?/ 
url-unreserved-chars)))
+  (let* ((uri (concat "file://" (let ((url-unreserved-chars
+  (cons ?, (cons ?/ 
url-unreserved-chars
  (url-hexify-string
   (expand-file-name
(concat file "." 
(TeX-output-extension)))



[elpa] externals/auctex 6bfd4c8 01/26: Add new styles.

2015-01-27 Thread Tassilo Horn
branch: externals/auctex
commit 6bfd4c8698120b399d041ba3cd44684c56245c1f
Author: Arash Esbati 
Commit: Mosè Giordano 

Add new styles.

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

* style/newtxttt.el: New file.

* style/newtxtext.el: New file.

* style/newtxsf.el: New file.

* style/newtxmath.el: New file.

* style/fbb.el: New file.

* style/erewhon.el: New file.

* style/baskervaldx.el: New file.

Signed-off-by: Mosè Giordano 
---
 ChangeLog|   18 +++
 Makefile.in  |4 ++-
 style/baskervaldx.el |   73 +++
 style/erewhon.el |   79 +++
 style/fbb.el |   71 ++
 style/newtxmath.el   |   84 ++
 style/newtxsf.el |   57 ++
 style/newtxtext.el   |   50 +
 style/newtxttt.el|   62 +
 9 files changed, 497 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5171a72..96a2179 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,21 @@
+2014-12-08  Arash Esbati  
+
+   * Makefile.in (STYLESRC): Add new styles.
+
+   * style/newtxttt.el: New file.
+
+   * style/newtxtext.el: New file.
+
+   * style/newtxsf.el: New file.
+
+   * style/newtxmath.el: New file.
+
+   * style/fbb.el: New file.
+
+   * style/erewhon.el: New file.
+
+   * style/baskervaldx.el: New file.
+
 2014-12-04  Mos� Giordano  
 
* tex.el (TeX-Omega-command): Add aleph and omega choices.
diff --git a/Makefile.in b/Makefile.in
index 60e21dc..a132c1c 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -140,7 +140,9 @@ STYLESRC = style/prosper.el \
   style/eso-pic.el   style/fontaxes.el  style/AnonymousPro.el \
   style/mdsymbol.el  style/MyriadPro.el style/textcomp.el \
   style/XCharter.el  style/zlmtt.el style/ifluatex.el \
-  style/luatextra.el
+  style/luatextra.el style/erewhon.el   style/baskervaldx.el \
+  style/fbb.el   style/newtxmath.el style/newtxsf.el \
+  style/newtxtext.el style/newtxttt.el
 STYLEELC = $(STYLESRC:.el=.elc)
 
 ifeq (@preview_enabled@,yes)
diff --git a/style/baskervaldx.el b/style/baskervaldx.el
new file mode 100644
index 000..692e632
--- /dev/null
+++ b/style/baskervaldx.el
@@ -0,0 +1,73 @@
+;;; baskervaldx.el --- AUCTeX style for `baskervaldx.sty' (v1.04)
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; Author: Arash Esbati 
+;; Maintainer: auctex-de...@gnu.org
+;; Created: 2014-11-18
+;; 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 `baskervaldx.sty' (v1.04) from 2014/04/27.
+;; `baskervaldx.sty' is part of TeXLive.
+
+;;; Code:
+
+(TeX-add-style-hook
+ "baskervaldx"
+ (lambda ()
+
+   ;; Run style hook for various packages loaded by baskervaldx
+   (TeX-run-style-hooks "textcomp" "fontaxes")
+
+   ;; New symbols
+   (TeX-add-symbols
+
+;; Only preamble commands
+'("useosf"  0)
+
+;; Text commands
+'("textlf" t)   ; proportional lining figures
+'("texttlf"t)   ; tabular lining figures
+'("textosf"t)   ; proportional oldstyle figures
+'("texttosf"   t)   ; tabular oldstyle figures
+'("textsu" t)   ; superior figures
+'("swshape"   -1))  ; italic shape with ligatures activated
+
+   ;; Fontification
+   (when (and (featurep 'font-latex)
+ (eq TeX-install-font-lock 'font-latex-setup))
+ (font-latex-add-keywords '(("textlf""{")
+   ("texttlf"   "{")
+   ("textosf"   "{")
+   ("texttosf"  "{")
+   ("textsu""{"))
+ 'type-command)
+ (font-latex-add-keywords '(("swshape"   ""))
+ 'bold-declaration)))
+ LaTeX-dialect)
+
+(defvar LaTeX-baskervaldx-package-options
+  '("lining" "lf" "oldstyle" "osf" "tabular" "proportional"
+"scale" "scaled" "sups" "swash")
+  "Package options for the baskervaldx package.")
+
+;;; 

[elpa] externals/auctex 8c6a5ae 02/26: [Fix #19301] Fix closing bracket in style/mathtools.el.

2015-01-27 Thread Tassilo Horn
branch: externals/auctex
commit 8c6a5ae93babb05bad22581d7338bf3c7099c762
Author: Mosè Giordano 
Commit: Mosè Giordano 

[Fix #19301] Fix closing bracket in style/mathtools.el.

* style/mathtools.el ("mathtools"): Fix closing bracket
placement.  (Bug#19301)
---
 ChangeLog  |5 +
 style/mathtools.el |   30 +++---
 2 files changed, 20 insertions(+), 15 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 96a2179..af4b4f9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-08  Mos� Giordano  
+
+   * style/mathtools.el ("mathtools"): Fix closing bracket
+   placement.  (Bug#19301)
+
 2014-12-08  Arash Esbati  
 
* Makefile.in (STYLESRC): Add new styles.
diff --git a/style/mathtools.el b/style/mathtools.el
index 04ecc0d..0890ce6 100644
--- a/style/mathtools.el
+++ b/style/mathtools.el
@@ -148,25 +148,25 @@
 '("splitdfrac" 2))
 
(setq LaTeX-item-list
-(append '(("multlined". LaTeX-item-equation)
-  ("lgathered" . LaTeX-item-equation)
-  ("rgathered" . LaTeX-item-equation)
+(append '(("multlined"   . LaTeX-item-equation)
+  ("lgathered"   . LaTeX-item-equation)
+  ("rgathered"   . LaTeX-item-equation)
   ("spreadlines" . LaTeX-item-equation)
-  ("matrix*" .  LaTeX-item-equation)
-  ("pmatrix*" .  LaTeX-item-equation)
-  ("bmatrix*" .  LaTeX-item-equation)
-  ("Bmatrix*" .  LaTeX-item-equation)
-  ("vmatrix*" .  LaTeX-item-equation)
-  ("Vmatrix*" .  LaTeX-item-equation)
-  ("dcases". LaTeX-item-equation)
-  ("dcases*". LaTeX-item-equation))
+  ("matrix*" . LaTeX-item-equation)
+  ("pmatrix*". LaTeX-item-equation)
+  ("bmatrix*". LaTeX-item-equation)
+  ("Bmatrix*". LaTeX-item-equation)
+  ("vmatrix*". LaTeX-item-equation)
+  ("Vmatrix*". LaTeX-item-equation)
+  ("dcases"  . LaTeX-item-equation)
+  ("dcases*" . LaTeX-item-equation))
 LaTeX-item-list))
 
(setq LaTeX-label-alist
-(append '(("lgathered". LaTeX-amsmath-label)
-  ("rgathered"   . LaTeX-amsmath-label)
-  ("multlined". LaTeX-amsmath-label)
-  LaTeX-label-alist
+(append '(("lgathered" . LaTeX-amsmath-label)
+  ("rgathered" . LaTeX-amsmath-label)
+  ("multlined" . LaTeX-amsmath-label))
+LaTeX-label-alist)))
  LaTeX-dialect)
 
 (defun LaTeX-mathtools-env-matrix-starred (env)



[elpa] externals/auctex updated (e72989a -> d9126ba)

2015-01-27 Thread Tassilo Horn
tsdh pushed a change to branch externals/auctex.

  from  e72989a   Release version 11.88.1.
   new  6bfd4c8   Add new styles.
   new  8c6a5ae   [Fix #19301] Fix closing bracket in style/mathtools.el.
   new  49ee91a   Fix byte-compile warnings.
   new  8dd1455   Fix in style/babel.el.
   new  c7e1e47   [Fix #19281]  Allow moodifying environments with macros 
in their names.
   new  fc9a240   Fix bug#19398 in TeX-evince-sync-view
   new  0cc29f9   Fix void-variable error.
   new  63bcbcd   Obsolete LaTeX-verbatim-regexp defcustom
   new  6e94ea0   Add (start of an) minted style.
   new  ff1f544   Fix encoding file:// uri.
   new  ddd6b97   Improve minted style.
   new  d3d05d4   Make some buffer-local vars document-local.
   new  df97f94   Improve minted style.
   new  fff9412   Add hva file assoc to auto-mode-alist (bug#19426)
   new  2487022   Update changes.texi
   new  b54c26a   Fix doc build
   new  18ee3e9   Add `Form' environment needed for PDF and HTML forms.
   new  5734441   Add new styles.
   new  f3cf79d   Fix a typo.
   new  e2d6210   Fix in minted style.
   new  5154e91   Remove already resolved FIXME.
   new  8cd2b07   Fix indentation in auto files.
   new  53838b3   Fix bug#19675
   new  81512a2   Fix bug#19673
   new  4b43c80   Fix bug#19673 (cont.)
   new  d9126ba   Fix merge commits


Summary of changes:
 ChangeLog |  233 +++-
 Makefile.in   |5 +-
 bib-cite.el   |  198 +--
 doc/changes.texi  |   13 ++
 latex.el  |   49 +--
 style/alltt.el|2 -
 style/babel.el|   10 +-
 style/{XCharter.el => baskervaldx.el} |   53 
 style/beamer.el   |   22 ++--
 style/bigstrut.el |9 +-
 style/dinbrief.el |4 +-
 style/emp.el  |2 +-
 style/epsf.el |2 +-
 style/{XCharter.el => erewhon.el} |   53 
 style/fancyref.el |4 +-
 style/fancyvrb.el |6 +-
 style/{zlmtt.el => fbb.el}|   45 ---
 style/graphicx.el |2 +-
 style/harvard.el  |  164 +++---
 style/hyperref.el |   81 ++-
 style/inputenc.el |2 +-
 style/listings.el |4 +-
 style/mathtools.el|   30 ++--
 style/minted.el   |  241 +
 style/multirow.el |2 +-
 style/natbib.el   |2 +-
 style/newtxmath.el|   84 
 style/{xspace.el => newtxsf.el}   |   46 ---
 style/{xspace.el => newtxtext.el} |   37 +++---
 style/{zlmtt.el => newtxttt.el}   |   40 +++---
 style/pdfsync.el  |4 +-
 style/prosper.el  |   20 ++--
 style/psfig.el|4 +-
 style/pst-node.el |   15 +-
 style/pst-plot.el |   24 ++--
 style/pstricks.el |   32 +++---
 style/relsize.el  |   69 ++
 style/shortvrb.el |9 +-
 style/wrapfig.el  |  107 +++
 tex.el|  120 ++---
 40 files changed, 1354 insertions(+), 495 deletions(-)
 copy style/{XCharter.el => baskervaldx.el} (50%)
 copy style/{XCharter.el => erewhon.el} (53%)
 copy style/{zlmtt.el => fbb.el} (53%)
 create mode 100644 style/minted.el
 create mode 100644 style/newtxmath.el
 copy style/{xspace.el => newtxsf.el} (57%)
 copy style/{xspace.el => newtxtext.el} (57%)
 copy style/{zlmtt.el => newtxttt.el} (58%)
 create mode 100644 style/relsize.el
 create mode 100644 style/wrapfig.el



[elpa] externals/auctex 49ee91a 03/26: Fix byte-compile warnings.

2015-01-27 Thread Tassilo Horn
branch: externals/auctex
commit 49ee91aae14c271eb959d0696c1cb8b7405ed9d5
Author: Stefan Monnier 
Commit: Tassilo Horn 

Fix byte-compile warnings.

* tex.el (TeX-mode-specific-command-menu): Remove Emacs 20
compatibility code.

* style/shortvrb.el ("shortvrb"): Use mapcar instead of
dolist/add-to-list.

* style/pstricks.el (LaTeX-pst-point-in-parens)
(LaTeX-pst-macro-psarc, LaTeX-pst-macro-pscircle)
(LaTeX-pst-macro-rput, LaTeX-pst-macro-uput)
(LaTeX-pst-macro-multirputps, LaTeX-pst-macro-psline)
(LaTeX-pst-macro-psdots, LaTeX-pst-macro-parabola)
(LaTeX-pst-macro-pnt-twolen, LaTeX-pst-macro-psbezier)
(LaTeX-pst-macro-pspolygon, LaTeX-pst-macro-psframe)
(LaTeX-pst-macro-psgrid, LaTeX-pst-macro-newpsobject): Rename
unused arg to silence the byte-compiler.
(LaTeX-pst-parameters-add): Remove unused var beg.

* style/pst-plot.el (LaTeX-pst-macro-psaxes): Rename unused arg to
silence the byte-compiler and fix indentation.
("pst-plot"): Use mapc instead of mapcar for side-effects only.

* style/pst-node.el (LaTeX-pstnode-macro-nput)
(LaTeX-pstnode-macro-cnodeput, LaTeX-pstnode-macro-nc)
(LaTeX-pstnode-macro-pc, LaTeX-pstnode-macro-tnabcput): Rename
unused arg to silence the byte-compiler.

* style/psfig.el (TeX-arg-psfig, LaTeX-env-psfigure): Rename
unused arg to silence the byte-compiler.

* style/prosper.el: Fix comment style.
(LaTeX-prosper-insert-title, LaTeX-prosper-arg-pdftransition)
(LaTeX-prosper-insert-options, LaTeX-prosper-insert-slide): Rename
unused arg to silence the byte-compiler.

* style/pdfsync.el (LaTeX-pdfsync-output-page): Remove unused
sync-line variable.

* style/natbib.el (natbib-note-args): Rename unused arg to silence
the byte-compiler.

* style/inputenc.el (LaTeX-arg-inputenc-inputenc): Rename unused
arg to silence the byte-compiler.

* style/harvard.el (LaTeX-env-harvardbib): Rename unused arg to
silence the byte-compiler.

* style/graphicx.el (LaTeX-arg-includegraphics): Rename unused arg
to silence the byte-compiler.

* style/fancyref.el (TeX-arg-fancyref-format): Rename unused arg
to silence the byte-compiler.

* style/epsf.el (TeX-arg-epsfsize): Rename unused arg to silence
the byte-compiler.

* style/emp.el (LaTeX-env-empfile): Rename unused arg to silence
the byte-compiler.

* style/dinbrief.el (LaTeX-dinbrief-sender): Add a FIXME.

* style/bigstrut.el (TeX-arg-bigstrut): Rename unused arg to
silence the byte-compiler.

* style/beamer.el
(LaTeX-beamer-after-insert-env, TeX-arg-beamer-overlay-spec)
(TeX-arg-beamer-frametitle, TeX-arg-beamer-note)
(LaTeX-arg-beamer-theme, LaTeX-arg-beamer-inner-theme)
(LaTeX-arg-beamer-outer-theme, LaTeX-arg-beamer-color-theme)
(LaTeX-arg-beamer-font-theme): Rename unused arg to silence the
byte-compiler.

* style/babel.el (require): Require cl at compile-time.
(LaTeX-babel-active-languages): Use pushnew/nreverse instead of
add-to-list.

* bib-cite.el (bib-cite--kind): New function.
(bib-display, bib-find): Use it.
(featurep): Use with-current-buffer instead of set-buffer.
(bib-cite--fontify-help): New function.
(bib-cite-fontify-help-as-bibtex, bib-cite-fontify-help-as-latex):
Use it.
(bib-highlight-mouse, bib-label-help): Make comment conform to the
commenting conventions.
(bib-label-prompt-map): Derive from
minibuffer-local-completion-map instead of copying that.
(bib-display-this-environment): Fix comment.
(bib-document-TeX-files): Don't doubly-declare the-file.

Signed-off-by: Tassilo Horn 
---
 ChangeLog |   90 
 bib-cite.el   |  198 +
 style/babel.el|   10 ++-
 style/beamer.el   |   18 +++---
 style/bigstrut.el |9 ++-
 style/dinbrief.el |4 +-
 style/emp.el  |2 +-
 style/epsf.el |2 +-
 style/fancyref.el |4 +-
 style/graphicx.el |2 +-
 style/harvard.el  |  164 ++--
 style/inputenc.el |2 +-
 style/natbib.el   |2 +-
 style/pdfsync.el  |4 +-
 style/prosper.el  |   20 +++---
 style/psfig.el|4 +-
 style/pst-node.el |   15 ++--
 style/pst-plot.el |   24 +++---
 style/pstricks.el |   32 
 style/shortvrb.el |9 +--
 tex.el|   12 +--
 21 files changed, 352 insertions(+), 275 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index af4b4f9..dd76553 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,93 @@
+2014-12-08  Stefan Monnier  
+
+   * tex.el (TeX-mode-specific-command-menu): Remove Emacs 20
+   compatibility code.
+
+   * style/shortvrb.el ("shortvrb"): Use mapcar instead of
+   dolist/add-to-list.
+
+   * style/pstricks.el (LaTeX-pst-point-in-parens)
+   (LaTeX-pst

[elpa] reference refs/remotes/elpa/externals/auctex created (now e72989a)

2015-01-27 Thread Tassilo Horn
tsdh pushed a change to reference refs/remotes/elpa/externals/auctex.

at  e72989a   Release version 11.88.1.

No new revisions were added by this update.



[elpa] elpa f3cf79d 19/26: Fix a typo.

2015-01-27 Thread Tassilo Horn
branch: elpa
commit f3cf79dcd7c8eddb2d5f6a93a3ad035ae2937a34
Author: Arash Esbati 
Commit: Mosè Giordano 

Fix a typo.

* style/multirow.el ("multirow"): Fix a typo in the name of a
variable.

Signed-off-by: Mosè Giordano 
---
 ChangeLog |3 +++
 style/multirow.el |2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ef0de5e..c2e24db 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2014-12-30  Arash Esbati  
 
+   * style/multirow.el ("multirow"): Fix a typo in the name of a
+   variable.
+
* Makefile.in (STYLESRC): Add new styles.
 
* style/relsize.el: New file.
diff --git a/style/multirow.el b/style/multirow.el
index 6d00d5e..d025e1f 100644
--- a/style/multirow.el
+++ b/style/multirow.el
@@ -37,7 +37,7 @@
   [ "Big struts" ] "Width" [ "Fixup" ] t)
 "multirowsetup")
 
-   (if (not (boundp 'LaTeX-bigstruct-package-options))
+   (if (not (boundp 'LaTeX-bigstrut-package-options))
(TeX-add-symbols "bigstrutjot"))
 
;; Fontification



[elpa] externals/auctex 8dd1455 04/26: Fix in style/babel.el.

2015-01-27 Thread Tassilo Horn
branch: externals/auctex
commit 8dd14550e632d8128314c7235ded9a8979d0379a
Author: Mosè Giordano 
Commit: Mosè Giordano 

Fix in style/babel.el.

* style/babel.el (LaTeX-babel-active-languages): Move `nreverse'
call inside `let'.
---
 ChangeLog  |5 +
 style/babel.el |4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index dd76553..d0c1160 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-09  Mos� Giordano  
+
+   * style/babel.el (LaTeX-babel-active-languages): Move `nreverse'
+   call inside `let'.
+
 2014-12-08  Stefan Monnier  
 
* tex.el (TeX-mode-specific-command-menu): Remove Emacs 20
diff --git a/style/babel.el b/style/babel.el
index e35177b..c1119b9 100644
--- a/style/babel.el
+++ b/style/babel.el
@@ -111,8 +111,8 @@
;; except if it is set with the `main' option.
(pushnew elt active-languages :test #'equal
 (if main-language
-(pushnew main-language active-languages :test #'equal)))
-  (nreverse active-languages))
+(pushnew main-language active-languages :test #'equal))
+(nreverse active-languages)))
 
 (defun TeX-arg-babel-lang (_optional &optional _prompt)
   "Prompt for a language with completion and insert it as an argument."



[elpa] elpa e2d6210 20/26: Fix in minted style.

2015-01-27 Thread Tassilo Horn
branch: elpa
commit e2d62106c280b2d411e63cdb13afafce4e4e282d
Author: Arash Esbati 
Commit: Mosè Giordano 

Fix in minted style.

* style/minted.el: Update copyright year.
(LaTeX-minted-auto-cleanup): Fix the name of the new langcode
environment.

Signed-off-by: Mosè Giordano 
---
 ChangeLog   |6 ++
 style/minted.el |4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index c2e24db..d3cabd8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-01-16  Arash Esbati  
+
+   * style/minted.el: Update copyright year.
+   (LaTeX-minted-auto-cleanup): Fix the name of the new langcode
+   environment.
+
 2014-12-30  Arash Esbati  
 
* style/multirow.el ("multirow"): Fix a typo in the name of a
diff --git a/style/minted.el b/style/minted.el
index 83d4764..9a8df3c 100644
--- a/style/minted.el
+++ b/style/minted.el
@@ -1,6 +1,6 @@
 ;;; minted.el --- AUCTeX style for `minted.sty'
 
-;; Copyright (C) 2014 Free Software Foundation, Inc.
+;; Copyright (C) 2014, 2015 Free Software Foundation, Inc.
 
 ;; Author: Tassilo Horn 
 ;; Maintainer: auctex-de...@gnu.org
@@ -138,7 +138,7 @@
   (dolist (name-lang LaTeX-minted-auto-newminted)
 (let* ((env (if (> (length (car name-lang)) 0)
(car name-lang)
- (cadr name-lang)))
+ (concat (cadr name-lang) "code")))
   (env* (concat env "*")))
   (add-to-list 'LaTeX-auto-environment (list env))
   (add-to-list 'LaTeX-auto-environment



[elpa] elpa 5154e91 21/26: Remove already resolved FIXME.

2015-01-27 Thread Tassilo Horn
branch: elpa
commit 5154e91b0a7b9090840ca91b5261ed46a10b124f
Author: Tassilo Horn 
Commit: Tassilo Horn 

Remove already resolved FIXME.
---
 style/minted.el |3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/style/minted.el b/style/minted.el
index 9a8df3c..758a52b 100644
--- a/style/minted.el
+++ b/style/minted.el
@@ -103,9 +103,6 @@
(LaTeX-minted-language-list))
optional))
 
-;; FIXME: All the \newmint-macros allow to specify the env/macro name as
-;; optional 1st arg, e.g., with \newminted[fifi]{cpp}{opts} the resulting
-;; environments are fifi and fifi* rather than cppcode and cppcode*.
 (defvar LaTeX-minted-auto-newminted nil)
 (defvar LaTeX-minted-newminted-regexp
   '("newminted\\(?:\\[\\([^]]+\\)\\]\\)?{\\([^}]+\\)}{[^}]*}"



[elpa] elpa 53838b3 23/26: Fix bug#19675

2015-01-27 Thread Tassilo Horn
branch: elpa
commit 53838b36fce2a774055a1303851294947c97f01f
Author: Tassilo Horn 
Commit: Tassilo Horn 

Fix bug#19675

* latex.el (LaTeX-section-heading): Use default parameter of
completing-read.  Fixes bug#19675.
---
 ChangeLog |5 +
 latex.el  |6 +++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 33e78b0..4aa8dfd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-01-25  Tassilo Horn  
+
+   * latex.el (LaTeX-section-heading): Use default parameter of
+   completing-read.  Fixes bug#19675.
+
 2015-01-19  Tassilo Horn  
 
* tex.el (TeX-auto-store): Fix indentation in auto files.
diff --git a/latex.el b/latex.el
index 0da018e..8409690 100644
--- a/latex.el
+++ b/latex.el
@@ -441,11 +441,11 @@ the name of the sectioning command inserted with 
`\\[LaTeX-section]'."
   (let ((string (completing-read
 (concat "Level: (default " name ") ")
 LaTeX-section-list
-nil nil nil)))
-; Update name
+nil nil nil nil name)))
+;; Update name
 (if (not (zerop (length string)))
(setq name string))
-; Update level
+;; Update level
 (setq level (LaTeX-section-level name
 
 (defun LaTeX-section-title ()



[elpa] elpa 4b43c80 25/26: Fix bug#19673 (cont.)

2015-01-27 Thread Tassilo Horn
branch: elpa
commit 4b43c80d0132b448c6b45ce2abecda727e685458
Author: Tassilo Horn 
Commit: Tassilo Horn 

Fix bug#19673 (cont.)

* tex.el (TeX-view-program-list-builtin): Also remove "start" as
executable from the "dvips and start" entry.
---
 ChangeLog |2 ++
 tex.el|2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 608d02c..dab2cad 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,8 @@
* tex.el (TeX-view-program-list-builtin): Remove "start" as
executable entry because it's no executable but a Windows system
command.
+   (TeX-view-program-list-builtin): Also remove "start" as executable
+   from the "dvips and start" entry.
 
 2015-01-25  Tassilo Horn  
 
diff --git a/tex.el b/tex.el
index 31b77f0..a17b8b4 100644
--- a/tex.el
+++ b/tex.el
@@ -1132,7 +1132,7 @@ the requirements are met."
   (cond
((eq system-type 'windows-nt)
 '(("Yap" ("yap -1" (mode-io-correlate " -s %n%b") " %o") "yap")
-  ("dvips and start" "dvips %d -o && start \"\" %f" ,(list "dvips" 
"start"))
+  ("dvips and start" "dvips %d -o && start \"\" %f" "dvips")
   ("start" "start \"\" %o")))
((eq system-type 'darwin)
 '(("Preview.app" "open -a Preview.app %o" "open")



[elpa] elpa 5734441 18/26: Add new styles.

2015-01-27 Thread Tassilo Horn
branch: elpa
commit 57344416f1a467464c4e64fe48daa670e15ea5e7
Author: Arash Esbati 
Commit: Mosè Giordano 

Add new styles.

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

* style/relsize.el: New file.

* style/wrapfig.el: New file.

Signed-off-by: Mosè Giordano 
---
 ChangeLog|6 +++
 Makefile.in  |3 +-
 style/relsize.el |   69 +++
 style/wrapfig.el |  107 ++
 4 files changed, 184 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 72dbba8..ef0de5e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2014-12-30  Arash Esbati  
 
+   * Makefile.in (STYLESRC): Add new styles.
+
+   * style/relsize.el: New file.
+
+   * style/wrapfig.el: New file.
+
* style/hyperref.el ("hyperref"): Add `Form' environment needed
for PDF and HTML forms.
(LaTeX-hyperref-forms-options): New variable for key-val options
diff --git a/Makefile.in b/Makefile.in
index 998e730..39402e7 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -142,7 +142,8 @@ STYLESRC = style/prosper.el \
   style/XCharter.el  style/zlmtt.el style/ifluatex.el \
   style/luatextra.el style/erewhon.el   style/baskervaldx.el \
   style/fbb.el   style/newtxmath.el style/newtxsf.el \
-  style/newtxtext.el style/newtxttt.el  style/minted.el
+  style/newtxtext.el style/newtxttt.el  style/minted.el \
+  style/wrapfig.el   style/relsize.el
 STYLEELC = $(STYLESRC:.el=.elc)
 
 ifeq (@preview_enabled@,yes)
diff --git a/style/relsize.el b/style/relsize.el
new file mode 100644
index 000..20dc975
--- /dev/null
+++ b/style/relsize.el
@@ -0,0 +1,69 @@
+;;; relsize.el --- AUCTeX style for `relsize.sty' version v4.1
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; Author: Arash Esbati 
+;; Maintainer: auctex-de...@gnu.org
+;; Created: 2014-12-14
+;; 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 `relsize.sty' version v4.1 from
+;; 2013/03/29.  `relsize.sty' is part of TeXLive.
+
+;;; Code:
+
+(TeX-add-style-hook
+ "relsize"
+ (lambda ()
+   (TeX-add-symbols
+;; Declarations and commands
+'("relsize" "Steps")
+'("relscale""Scale factor" )
+'("larger"  [ "Steps (default: 1)" ] -1)
+'("smaller" [ "Steps (default: 1)" ] -1)
+'("textlarger"  [ "Steps" ]   t)
+'("textsmaller" [ "Steps" ]   t)
+'("textscale"   "Scale factor"t)
+'("mathlarger"t)
+'("mathsmaller"   t))
+
+   ;; Fontification
+   (when (and (featurep 'font-latex)
+ (eq TeX-install-font-lock 'font-latex-setup))
+ ;; This is not easy, are the first 2 'variable oder rather
+ ;; 'type-declaration?  I start with 'type-declaration, let the
+ ;; users decide
+ (font-latex-add-keywords '(("relsize""")
+   ("relscale"   "")
+   ("larger" "")
+   ("smaller"""))
+ 'type-declaration)
+ (font-latex-add-keywords '(("textlarger" "[{")
+   ("textsmaller""[{")
+   ("textscale"  "{{"))
+ 'type-command)))
+ LaTeX-dialect)
+
+(defvar LaTeX-relsize-package-options nil
+  "Package options for the relsize package.")
+
+;;; relsize.el ends here
diff --git a/style/wrapfig.el b/style/wrapfig.el
new file mode 100644
index 000..bcb90c2
--- /dev/null
+++ b/style/wrapfig.el
@@ -0,0 +1,107 @@
+;;; wrapfig.el --- AUCTeX style for `wrapfig.sty' version v3.6
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; Author: Arash Esbati 
+;; Maintainer: auctex-de...@gnu.org
+;; Created: 2014-12-13
+;; 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 

[elpa] elpa 8cd2b07 22/26: Fix indentation in auto files.

2015-01-27 Thread Tassilo Horn
branch: elpa
commit 8cd2b07e2074ad5e9fdbe6da8f580972f7b6de5d
Author: Tassilo Horn 
Commit: Tassilo Horn 

Fix indentation in auto files.

* tex.el (TeX-auto-store): Fix indentation in auto files.
---
 ChangeLog |4 
 tex.el|6 +++---
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d3cabd8..33e78b0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-01-19  Tassilo Horn  
+
+   * tex.el (TeX-auto-store): Fix indentation in auto files.
+
 2015-01-16  Arash Esbati  
 
* style/minted.el: Update copyright year.
diff --git a/tex.el b/tex.el
index ac404e0..e64af2a 100644
--- a/tex.el
+++ b/tex.el
@@ -3728,15 +3728,15 @@ If TEX is a directory, generate style files for all 
files in the directory."
" '" (prin1-to-string pkg-opts) ")"))
  (dolist (env verb-envs)
(insert
-(format "\n  (add-to-list 'LaTeX-verbatim-environments-local 
\"%s\")"
+(format "\n   (add-to-list 'LaTeX-verbatim-environments-local 
\"%s\")"
 env)))
  (dolist (env verb-macros-braces)
(insert
-(format "\n  (add-to-list 'LaTeX-verbatim-macros-with-braces-local 
\"%s\")"
+(format "\n   (add-to-list 
'LaTeX-verbatim-macros-with-braces-local \"%s\")"
 env)))
  (dolist (env verb-macros-delims)
(insert
-(format "\n  (add-to-list 'LaTeX-verbatim-macros-with-delims-local 
\"%s\")"
+(format "\n   (add-to-list 
'LaTeX-verbatim-macros-with-delims-local \"%s\")"
 env)))
  (mapc (lambda (el) (TeX-auto-insert el style))
TeX-auto-parser)



[elpa] elpa d9126ba 26/26: Fix merge commits

2015-01-27 Thread Tassilo Horn
branch: elpa
commit d9126babe3c9b9f278a1628e8722d0d2dfc71ff5
Merge: e72989a 4b43c80
Author: Tassilo Horn 
Commit: Tassilo Horn 

Fix merge commits
---
 ChangeLog   |  233 +-
 Makefile.in |5 +-
 bib-cite.el |  198 ++---
 doc/changes.texi|   13 ++
 latex.el|   49 +--
 style/alltt.el  |2 -
 style/babel.el  |   10 +-
 style/baskervaldx.el|   73 +++
 style/beamer.el |   22 ++--
 style/bigstrut.el   |9 +-
 style/dinbrief.el   |4 +-
 style/emp.el|2 +-
 style/epsf.el   |2 +-
 style/erewhon.el|   79 
 style/fancyref.el   |4 +-
 style/fancyvrb.el   |6 +-
 style/fbb.el|   71 ++
 style/graphicx.el   |2 +-
 style/harvard.el|  164 
 style/hyperref.el   |   81 +++-
 style/inputenc.el   |2 +-
 style/listings.el   |4 +-
 style/mathtools.el  |   30 ++--
 style/minted.el |  241 +++
 style/multirow.el   |2 +-
 style/natbib.el |2 +-
 style/newtxmath.el  |   84 
 style/{bigstrut.el => newtxsf.el}   |   43 ---
 style/{bigstrut.el => newtxtext.el} |   34 +++---
 style/{multirow.el => newtxttt.el}  |   40 --
 style/pdfsync.el|4 +-
 style/prosper.el|   20 ++--
 style/psfig.el  |4 +-
 style/pst-node.el   |   15 +-
 style/pst-plot.el   |   24 ++--
 style/pstricks.el   |   32 +++---
 style/relsize.el|   69 ++
 style/shortvrb.el   |9 +-
 style/wrapfig.el|  107 
 tex.el  |  120 ++---
 40 files changed, 1498 insertions(+), 417 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index c7693dc..08b51a5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,76 @@
-2015-01-20  Tassilo Horn  
+2015-01-27  Tassilo Horn  
+
+   * tex.el (TeX-view-program-list-builtin): Remove "start" as
+   executable entry because it's no executable but a Windows system
+   command.
+   (TeX-view-program-list-builtin): Also remove "start" as executable
+   from the "dvips and start" entry.
+
+2015-01-25  Tassilo Horn  
+
+   * latex.el (LaTeX-section-heading): Use default parameter of
+   completing-read.  Fixes bug#19675.
+
+2015-01-19  Tassilo Horn  
+
+   * tex.el (TeX-auto-store): Fix indentation in auto files.
+
+2015-01-16  Arash Esbati  
+
+   * style/minted.el: Update copyright year.
+   (LaTeX-minted-auto-cleanup): Fix the name of the new langcode
+   environment.
+
+2014-12-30  Arash Esbati  
+
+   * style/multirow.el ("multirow"): Fix a typo in the name of a
+   variable.
+
+   * Makefile.in (STYLESRC): Add new styles.
+
+   * style/relsize.el: New file.
+
+   * style/wrapfig.el: New file.
+
+   * style/hyperref.el ("hyperref"): Add `Form' environment needed
+   for PDF and HTML forms.
+   (LaTeX-hyperref-forms-options): New variable for key-val options
+   used in form related macros (`TextField', `CheckBox',
+   `ChoiceMenu', `PushButton', `Submit', `Reset').
+
+2014-12-22  Tassilo Horn  
+
+   * doc/changes.texi: Document addition of LaTeX-command-section and
+   forward/backward search enhancements with Evince.
+
+   * latex.el (auto-mode-alist): Add latex-mode association for HeVeA
+   files.
+
+2014-12-21  Tassilo Horn  
+
+   * tex.el (TeX-parse-macro): Enclose arg in
+   LaTeX-default-verb-delimiter if macro is in
+   LaTeX-verbatim-macros-with-delims and there's only one argument.
+   (TeX-auto-store): Check if LaTeX-verbatim-environments,
+   LaTeX-verbatim-macros-with-delims, and
+   LaTeX-verbatim-macros-with-braces are bound before using them.
+
+   * style/minted.el (LaTeX-minted-newminted-regexp)
+   (LaTeX-minted-newmint-regexp, LaTeX-minted-newmintinline-regexp)
+   (LaTeX-minted-newmintedfile-regexp, LaTeX-minted-auto-cleanup):
+   Extend to recognize optional env/macro name.
+   ("minted"): Add \newminted, \newmint, \newmintinline, and
+   \newmintedfile macros.
+
+2014-12-20  Tassilo Horn  
+
+   * tex.el (TeX-auto-store): Write LaTeX-verbatim-*-local variables
+   to auto file to make them document-local.
+
+   * style/minted.el (LaTeX-minted-auto-cleanup): Recognize macros
+   generated by \newmint, \newmi

[elpa] elpa df97f94 13/26: Improve minted style.

2015-01-27 Thread Tassilo Horn
branch: elpa
commit df97f94f70fc159ba8f5de774e1e29062aaac9a1
Author: Tassilo Horn 
Commit: Tassilo Horn 

Improve minted style.

* tex.el (TeX-parse-macro): Enclose arg in
LaTeX-default-verb-delimiter if macro is in
LaTeX-verbatim-macros-with-delims and there's only one argument.
(TeX-auto-store): Check if LaTeX-verbatim-environments,
LaTeX-verbatim-macros-with-delims, and
LaTeX-verbatim-macros-with-braces are bound before using them.

* style/minted.el (LaTeX-minted-newminted-regexp)
(LaTeX-minted-newmint-regexp, LaTeX-minted-newmintinline-regexp)
(LaTeX-minted-newmintedfile-regexp, LaTeX-minted-auto-cleanup):
Extend to recognize optional env/macro name.
("minted"): Add \newminted, \newmint, \newmintinline, and
\newmintedfile macros.
---
 ChangeLog   |   16 ++
 style/minted.el |   57 +++-
 tex.el  |   86 +++---
 3 files changed, 107 insertions(+), 52 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 641764b..429c6af 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2014-12-21  Tassilo Horn  
+
+   * tex.el (TeX-parse-macro): Enclose arg in
+   LaTeX-default-verb-delimiter if macro is in
+   LaTeX-verbatim-macros-with-delims and there's only one argument.
+   (TeX-auto-store): Check if LaTeX-verbatim-environments,
+   LaTeX-verbatim-macros-with-delims, and
+   LaTeX-verbatim-macros-with-braces are bound before using them.
+
+   * style/minted.el (LaTeX-minted-newminted-regexp)
+   (LaTeX-minted-newmint-regexp, LaTeX-minted-newmintinline-regexp)
+   (LaTeX-minted-newmintedfile-regexp, LaTeX-minted-auto-cleanup):
+   Extend to recognize optional env/macro name.
+   ("minted"): Add \newminted, \newmint, \newmintinline, and
+   \newmintedfile macros.
+
 2014-12-20  Tassilo Horn  
 
* tex.el (TeX-auto-store): Write LaTeX-verbatim-*-local variables
diff --git a/style/minted.el b/style/minted.el
index dce725b..83d4764 100644
--- a/style/minted.el
+++ b/style/minted.el
@@ -108,19 +108,23 @@
 ;; environments are fifi and fifi* rather than cppcode and cppcode*.
 (defvar LaTeX-minted-auto-newminted nil)
 (defvar LaTeX-minted-newminted-regexp
-  '("newminted{\\([^}]+\\)}{[^}]*}" 1 LaTeX-minted-auto-newminted))
+  '("newminted\\(?:\\[\\([^]]+\\)\\]\\)?{\\([^}]+\\)}{[^}]*}"
+(1 2) LaTeX-minted-auto-newminted))
 
 (defvar LaTeX-minted-auto-newmint nil)
 (defvar LaTeX-minted-newmint-regexp
-  '("newmint{\\([^}]+\\)}{[^}]*}" 1 LaTeX-minted-auto-newmint))
+  '("newmint\\(?:\\[\\([^]]+\\)\\]\\)?{\\([^}]+\\)}{[^}]*}"
+(1 2) LaTeX-minted-auto-newmint))
 
 (defvar LaTeX-minted-auto-newmintinline nil)
 (defvar LaTeX-minted-newmintinline-regexp
-  '("newmintinline{\\([^}]+\\)}{[^}]*}" 1 LaTeX-minted-auto-newmintinline))
+  '("newmintinline\\(?:\\[\\([^]]+\\)\\]\\)?{\\([^}]+\\)}{[^}]*}"
+(1 2) LaTeX-minted-auto-newmintinline))
 
 (defvar LaTeX-minted-auto-newmintedfile nil)
 (defvar LaTeX-minted-newmintedfile-regexp
-  '("newmintedfile{\\([^}]+\\)}{[^}]*}" 1 LaTeX-minted-auto-newmintedfile))
+  '("newmintedfile\\(?:\\[\\([^]]+\\)\\]\\)?{\\([^}]+\\)}{[^}]*}"
+(1 2) LaTeX-minted-auto-newmintedfile))
 
 (defun LaTeX-minted-auto-prepare ()
   (setq LaTeX-minted-auto-newminted nil
@@ -130,8 +134,11 @@
 
 (defun LaTeX-minted-auto-cleanup ()
   ;; \newminted{lang}{opts} => new langcode and langcode* envs.
-  (dolist (lang LaTeX-minted-auto-newminted)
-(let* ((env (concat lang "code"))
+  ;; \newminted[envname]{lang}{opts} => new envname/envname* envs.
+  (dolist (name-lang LaTeX-minted-auto-newminted)
+(let* ((env (if (> (length (car name-lang)) 0)
+   (car name-lang)
+ (cadr name-lang)))
   (env* (concat env "*")))
   (add-to-list 'LaTeX-auto-environment (list env))
   (add-to-list 'LaTeX-auto-environment
@@ -142,16 +149,28 @@
   (add-to-list 'LaTeX-verbatim-environments-local env)
   (add-to-list 'LaTeX-verbatim-environments-local env*)))
   ;; \newmint{foo}{opts} => \foo|code|
-  (dolist (lang LaTeX-minted-auto-newmint)
-(add-to-list 'TeX-auto-symbol lang)
-(add-to-list 'LaTeX-verbatim-macros-with-delims-local lang))
+  ;; \newmint[macname]{foo}{opts} => \macname|code|
+  (dolist (name-lang LaTeX-minted-auto-newmint)
+(let ((lang (if (> (length (car name-lang)) 0)
+   (car name-lang)
+ (cadr name-lang
+  (add-to-list 'TeX-auto-symbol lang)
+  (add-to-list 'LaTeX-verbatim-macros-with-delims-local lang)))
   ;; \newmintinline{foo}{opts} => \fooinline|code|
-  (dolist (lang LaTeX-minted-auto-newmintinline)
-(add-to-list 'TeX-auto-symbol lang)
-(add-to-list 'LaTeX-verbatim-macros-with-delims-local (concat lang 
"inline")))
+  ;; \newmintinline[macname]{foo}{opts} => \macname|code|
+  (dolist (name-lang LaTeX-minted-auto-newmintinline)
+  

[elpa] elpa d3d05d4 12/26: Make some buffer-local vars document-local.

2015-01-27 Thread Tassilo Horn
branch: elpa
commit d3d05d462afbe69687277f7fc0dd09e6ef2ff113
Author: Tassilo Horn 
Commit: Tassilo Horn 

Make some buffer-local vars document-local.

* tex.el (TeX-auto-store): Write LaTeX-verbatim-*-local variables
to auto file to make them document-local.
---
 ChangeLog |3 +++
 tex.el|   17 -
 2 files changed, 19 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 142694c..641764b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2014-12-20  Tassilo Horn  
 
+   * tex.el (TeX-auto-store): Write LaTeX-verbatim-*-local variables
+   to auto file to make them document-local.
+
* style/minted.el (LaTeX-minted-auto-cleanup): Recognize macros
generated by \newmint, \newmintinline, and \newmintedfile, too.
 
diff --git a/tex.el b/tex.el
index 0ef5399..713a476 100644
--- a/tex.el
+++ b/tex.el
@@ -3699,7 +3699,10 @@ If TEX is a directory, generate style files for all 
files in the directory."
(class-opts (if (boundp 'LaTeX-provided-class-options)
LaTeX-provided-class-options))
(pkg-opts (if (boundp 'LaTeX-provided-package-options)
- LaTeX-provided-package-options)))
+ LaTeX-provided-package-options))
+   (verb-envs  LaTeX-verbatim-environments-local)
+   (verb-macros-delims LaTeX-verbatim-macros-with-delims-local)
+   (verb-macros-braces LaTeX-verbatim-macros-with-braces-local))
(TeX-unload-style style)
(with-current-buffer (generate-new-buffer file)
  (erase-buffer)
@@ -3711,6 +3714,18 @@ If TEX is a directory, generate style files for all 
files in the directory."
  (when pkg-opts
(insert "\n   (TeX-add-to-alist 'LaTeX-provided-package-options\n"
" '" (prin1-to-string pkg-opts) ")"))
+ (dolist (env verb-envs)
+   (insert
+(format "\n  (add-to-list 'LaTeX-verbatim-environments-local 
\"%s\")"
+env)))
+ (dolist (env verb-macros-braces)
+   (insert
+(format "\n  (add-to-list 'LaTeX-verbatim-macros-with-braces-local 
\"%s\")"
+env)))
+ (dolist (env verb-macros-delims)
+   (insert
+(format "\n  (add-to-list 'LaTeX-verbatim-macros-with-delims-local 
\"%s\")"
+env)))
  (mapc (lambda (el) (TeX-auto-insert el style))
TeX-auto-parser)
  (insert "))\n\n")



[elpa] elpa 6e94ea0 09/26: Add (start of an) minted style.

2015-01-27 Thread Tassilo Horn
branch: elpa
commit 6e94ea0227aae5959b820b5021ef08973c2403eb
Author: Tassilo Horn 
Commit: Tassilo Horn 

Add (start of an) minted style.

* style/minted.el: New style.

* Makefile.in (STYLESRC): Add style/minted.el.
---
 ChangeLog   |4 +
 Makefile.in |2 +-
 style/minted.el |  212 +++
 3 files changed, 217 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 735d8d0..402416e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2014-12-19  Tassilo Horn  
 
+   * style/minted.el: New style.
+
+   * Makefile.in (STYLESRC): Add style/minted.el.
+
* latex.el (LaTeX-env-args): Bind exit-mark if its not bound
already.
(LaTeX-verbatim-regexp): Make variable obsolete.
diff --git a/Makefile.in b/Makefile.in
index a132c1c..998e730 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -142,7 +142,7 @@ STYLESRC = style/prosper.el \
   style/XCharter.el  style/zlmtt.el style/ifluatex.el \
   style/luatextra.el style/erewhon.el   style/baskervaldx.el \
   style/fbb.el   style/newtxmath.el style/newtxsf.el \
-  style/newtxtext.el style/newtxttt.el
+  style/newtxtext.el style/newtxttt.el  style/minted.el
 STYLEELC = $(STYLESRC:.el=.elc)
 
 ifeq (@preview_enabled@,yes)
diff --git a/style/minted.el b/style/minted.el
new file mode 100644
index 000..b5733c3
--- /dev/null
+++ b/style/minted.el
@@ -0,0 +1,212 @@
+;;; minted.el --- AUCTeX style for `minted.sty'
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; Author: Tassilo Horn 
+;; Maintainer: auctex-de...@gnu.org
+;; Created: 2014-12-19
+;; 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 `minted.sty'.
+
+;;; Code:
+
+(require 'tex)
+
+(defvar LaTeX-minted-key-val-options
+  '(("autogobble" ("true" "false"))
+("baselinestretch" ("auto"))
+("bgcolor")
+("codetagify")
+("encoding")
+("outencoding")
+("firstline")
+("firstnumber" ("auto"))
+("fontfamily" ("tt" "courier" "helvetica"))
+("fontseries" ("auto"))
+("fontsize" ("auto" "\\tiny" "\\large" "\\scriptsize" "\\Large"
+"\\footnotesize" "\\LARGE" "\\small" "\\huge"
+"\\normalsize" "\\Huge"))
+("fontshape" ("auto"))
+("formatcom")
+("frame" ("none" "leftline" "topline" "bottomline" "lines" "single"))
+("framerule")
+("framesep")
+("funcnamehighlighting" ("true" "false"))
+("gobble")
+("keywordcase" ("lower" "upper" "capitalize"))
+("label")
+("labelposition" ("none" "topline" "bottomline" "all"))
+("lastline")
+("linenos" ("true" "false"))
+("numbers" ("left" "right"))
+("mathescape" ("true" "false"))
+("numberblanklines" ("true" "false"))
+("numbersep")
+("obeytabs" ("true" "false"))
+("python3" ("true" "false"))
+("resetmargins" ("true" "false"))
+("rulecolor")
+("samepage" ("true" "false"))
+("showspaces" ("true" "false"))
+("showtabs" ("true" "false"))
+("startinline" ("true" "false"))
+("style")
+("stepnumber")
+("stripnl")
+("tabsize")
+("texcl" ("true" "false"))
+("texcomments" ("true" "false"))
+("xleftmargin")
+("xrightmargin"))
+  "Key=value options for minted macros and environments.")
+
+(defvar LaTeX-minted-pygmentize-program (executable-find "pygmentize"))
+
+(defvar LaTeX-minted-language-list nil)
+
+(defun LaTeX-minted-language-list (&rest _ignored)
+  (or LaTeX-minted-language-list
+  (when LaTeX-minted-pygmentize-program
+   (with-temp-buffer
+ (shell-command (concat LaTeX-minted-pygmentize-program " -L lexers")
+(current-buffer))
+ (goto-char (point-min))
+ (let (languages)
+   (while (re-search-forward "^\\*[[:space:]]\\([^:]+\\):" nil t)
+ (dolist (lang (split-string (match-string 1) "[[:space:],]" t))
+   (push lang languages)))
+   languages)
+
+(defun LaTeX-arg-minted-language (optional &optional prompt)
+  (TeX-argument-insert
+   (completing-read (TeX-argument-prompt optional prompt "Language")
+   (LaTeX-minted-language-list))
+   optional

[elpa] branch elpa created (now d9126ba)

2015-01-27 Thread Tassilo Horn
tsdh pushed a change to branch elpa.

at  d9126ba   Fix merge commits

This branch includes the following new commits:

   new  6bfd4c8   Add new styles.
   new  8c6a5ae   [Fix #19301] Fix closing bracket in style/mathtools.el.
   new  49ee91a   Fix byte-compile warnings.
   new  8dd1455   Fix in style/babel.el.
   new  c7e1e47   [Fix #19281]  Allow moodifying environments with macros 
in their names.
   new  fc9a240   Fix bug#19398 in TeX-evince-sync-view
   new  0cc29f9   Fix void-variable error.
   new  63bcbcd   Obsolete LaTeX-verbatim-regexp defcustom
   new  6e94ea0   Add (start of an) minted style.
   new  ff1f544   Fix encoding file:// uri.
   new  ddd6b97   Improve minted style.
   new  d3d05d4   Make some buffer-local vars document-local.
   new  df97f94   Improve minted style.
   new  fff9412   Add hva file assoc to auto-mode-alist (bug#19426)
   new  2487022   Update changes.texi
   new  b54c26a   Fix doc build
   new  18ee3e9   Add `Form' environment needed for PDF and HTML forms.
   new  5734441   Add new styles.
   new  f3cf79d   Fix a typo.
   new  e2d6210   Fix in minted style.
   new  5154e91   Remove already resolved FIXME.
   new  8cd2b07   Fix indentation in auto files.
   new  53838b3   Fix bug#19675
   new  81512a2   Fix bug#19673
   new  4b43c80   Fix bug#19673 (cont.)
   new  d9126ba   Fix merge commits




[elpa] elpa fff9412 14/26: Add hva file assoc to auto-mode-alist (bug#19426)

2015-01-27 Thread Tassilo Horn
branch: elpa
commit fff941295dfe2b1b26bd5674be5366878230fb88
Author: Tassilo Horn 
Commit: Tassilo Horn 

Add hva file assoc to auto-mode-alist (bug#19426)

* latex.el (auto-mode-alist): Add latex-mode association for HeVeA
files.
---
 ChangeLog |5 +
 latex.el  |4 
 2 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 429c6af..285d073 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-22  Tassilo Horn  
+
+   * latex.el (auto-mode-alist): Add latex-mode association for HeVeA
+   files.
+
 2014-12-21  Tassilo Horn  
 
* tex.el (TeX-parse-macro): Enclose arg in
diff --git a/latex.el b/latex.el
index 8b19c8b..0da018e 100644
--- a/latex.el
+++ b/latex.el
@@ -5701,6 +5701,10 @@ This happens when \\left is inserted."
 ;;;###autoload
 (add-to-list 'auto-mode-alist '("\\.drv\\'" . latex-mode))
 
+;; HeVeA files (LaTeX -> HTML converter: http://hevea.inria.fr/)
+;;;###autoload
+(add-to-list 'auto-mode-alist '("\\.hva\\'" . latex-mode))
+
 ;;;###autoload
 (defun TeX-latex-mode ()
   "Major mode in AUCTeX for editing LaTeX files.



[elpa] elpa ff1f544 10/26: Fix encoding file:// uri.

2015-01-27 Thread Tassilo Horn
branch: elpa
commit ff1f544645c7b0f334b097bb8a9b1441fbf61b3e
Author: Tassilo Horn 
Commit: Tassilo Horn 

Fix encoding file:// uri.

* tex.el (TeX-evince-sync-view): Encode URI with `url-encode-url'.
---
 ChangeLog |4 
 tex.el|8 +++-
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 402416e..5bf02de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-12-20  Tassilo Horn  
+
+   * tex.el (TeX-evince-sync-view): Encode URI with `url-encode-url'.
+
 2014-12-19  Tassilo Horn  
 
* style/minted.el: New style.
diff --git a/tex.el b/tex.el
index af02663..0ef5399 100644
--- a/tex.el
+++ b/tex.el
@@ -1104,11 +1104,9 @@ of point in emacs by using Evince's DBUS API.  Used by 
default
 for the Evince viewer entry in `TeX-view-program-list-builtin' if
 the requirements are met."
   (require 'url-util)
-  (let* ((uri (concat "file://" (let ((url-unreserved-chars
-  (cons ?, (cons ?/ 
url-unreserved-chars
- (url-hexify-string
-  (expand-file-name
-   (concat file "." 
(TeX-output-extension)))
+  (let* ((uri (concat "file://" (url-encode-url
+(expand-file-name
+ (concat file "." (TeX-output-extension))
 (owner (dbus-call-method
 :session "org.gnome.evince.Daemon"
 "/org/gnome/evince/Daemon"



[elpa] elpa 18ee3e9 17/26: Add `Form' environment needed for PDF and HTML forms.

2015-01-27 Thread Tassilo Horn
branch: elpa
commit 18ee3e9bfd0f35a2b7789ebc5dca405a9dd3f062
Author: Arash Esbati 
Commit: Mosè Giordano 

Add `Form' environment needed for PDF and HTML forms.

* style/hyperref.el ("hyperref"): Add `Form' environment needed
for PDF and HTML forms.
(LaTeX-hyperref-forms-options): New variable for key-val options
used in form related macros (`TextField', `CheckBox',
`ChoiceMenu', `PushButton', `Submit', `Reset').

Signed-off-by: Mosè Giordano 
---
 ChangeLog |8 +
 style/hyperref.el |   81 
 2 files changed, 82 insertions(+), 7 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d874f66..72dbba8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2014-12-30  Arash Esbati  
+
+   * style/hyperref.el ("hyperref"): Add `Form' environment needed
+   for PDF and HTML forms.
+   (LaTeX-hyperref-forms-options): New variable for key-val options
+   used in form related macros (`TextField', `CheckBox',
+   `ChoiceMenu', `PushButton', `Submit', `Reset').
+
 2014-12-22  Tassilo Horn  
 
* doc/changes.texi: Document addition of LaTeX-command-section and
diff --git a/style/hyperref.el b/style/hyperref.el
index ad1c628..a1eee7c 100644
--- a/style/hyperref.el
+++ b/style/hyperref.el
@@ -1,6 +1,6 @@
 ;;; hyperref.el --- AUCTeX style for `hyperref.sty' v6.83m
 
-;; Copyright (C) 2008, 2013 Free Software Foundation, Inc.
+;; Copyright (C) 2008, 2013, 2014 Free Software Foundation, Inc.
 
 ;; Author: Ralf Angeli 
 ;; Maintainer: auctex-de...@gnu.org
@@ -153,6 +153,64 @@
 ("nextactionraw"))
   "Key=value options for href macro of the hyperref package.")
 
+;; See http://www.tug.org/applications/hyperref/ftp/doc/manual.html#x1-220006.2
+
+(defvar LaTeX-hyperref-forms-options
+  '(("accesskey")
+("align"  ("0" "1" "2"))
+("altname")
+("backgroundcolor")
+("bordercolor")
+("bordersep")
+("borderwidth")
+;; "borderstyle" is not mentioned in the original hyperref-doc, it
+;; can be seen in action in
+;; http://mirrors.ctan.org/macros/latex/contrib/hyperref/test/testform.tex
+;; S=Solid (default), D=Dashed, B=Beveled, I=Inset, U=Underline
+("borderstyle"("S" "D" "B" "I" "U"))
+("calculate")
+("charsize")
+("checkboxsymbol" ("true" "false"))
+("checked")
+("color")
+("combo"  ("true" "false"))
+("default")
+("disabled"   ("true" "false"))
+("format")
+("height")
+("hidden" ("true" "false"))
+("keystroke")
+("mappingname")
+("maxlen")
+("menulength")
+("multiline"  ("true" "false"))
+("name")
+("onblur")
+("onchange")
+("onclick")
+("ondblclick")
+("onfocus")
+("onkeydown")
+("onkeypress")
+("onkeyup")
+("onmousedown")
+("onmousemove")
+("onmouseout")
+("onmouseover")
+("onmouseup")
+("onselect")
+("password"   ("true" "false"))
+("popdown"("true" "false"))
+("radio"  ("true" "false"))
+("radiosymbol")
+("readonly"   ("true" "false"))
+("rotation")
+("tabkey")
+("validate")
+("value")
+("width"))
+  "Key=value options for Forms related macros of the hyperref package.")
+
 (TeX-add-style-hook
  "hyperref"
  (lambda ()
@@ -184,12 +242,15 @@
 '("texorpdfstring" "TeX string" "PDF string")
 '("hypercalcbp" t)
 '("Acrobatmenu" "Menu option" "Text")
-'("TextField" ["Parameters"] "Label")
-'("CheckBox" ["Parameters"] "Label")
-'("ChoiceMenu" ["Parameters"] "Label" "Choices")
-'("PushButton" ["Parameters"] "Label")
-'("Submit" ["Parameters"] "Label")
-'("Reset" ["Parameters"] "Label")
+;; The next 6 macros take Key-vals defined in
+;; "LaTeX-hyperref-forms-options".  For an example, see
+;; http://mirrors.ctan.org/macros/latex/contrib/hyperref/test/testform.tex
+'("TextField"  [ (TeX-arg-key-val LaTeX-hyperref-forms-options) ] "Label")
+'("CheckBox"   [ (TeX-arg-key-val LaTeX-hyperref-forms-options) ] "Label")
+'("ChoiceMenu" [ (TeX-arg-key-val LaTeX-hyperref-forms-options) ] "Label" 
"Choices")
+'("PushButton" [ (TeX-arg-key-val LaTeX-hyperref-forms-options) ] "Label")
+'("Submit" [ (TeX-arg-key-val LaTeX-hyperref-forms-options) ] "Label")
+'("Reset"  [ (TeX-arg-key-val LaTeX-hyperref-forms-options) ] "Label")
 '("LayoutTextField" "Label" "Field")
 '("LayoutChoiceField" "Label" "Field")
 '("LayoutCheckField" "Label" "Field")
@@ -199,6 +260,12 @@
 '("MakeChoiceField" "Width" "Height")
 '("MakeButtonField" "Text"))
 
+   ;; Form fields must be inside a "Form"-env, one per file is allowed, cf.
+   ;; http://www.tug.org/applications/hyperref/ftp/doc/manual.html#x1-26
+   ;; It is up to user to insert [] after \begin{Form}
+   (LaTeX-add-environments
+'("Form"))
+
(add-to-list 'LaTeX-verbatim-macros-with-braces-local "nolinkurl")
   

[elpa] elpa 2487022 15/26: Update changes.texi

2015-01-27 Thread Tassilo Horn
branch: elpa
commit 24870220966396d656d8b0337fec3e969ad1fde8
Author: Tassilo Horn 
Commit: Tassilo Horn 

Update changes.texi

* doc/changes.texi: Document addition of LaTeX-command-section and
forward/backward search enhancements with Evince.
---
 ChangeLog|3 +++
 doc/changes.texi |   10 ++
 2 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 285d073..d874f66 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2014-12-22  Tassilo Horn  
 
+   * doc/changes.texi: Document addition of LaTeX-command-section and
+   forward/backward search enhancements with Evince.
+
* latex.el (auto-mode-alist): Add latex-mode association for HeVeA
files.
 
diff --git a/doc/changes.texi b/doc/changes.texi
index a4b2e76..17a5683 100644
--- a/doc/changes.texi
+++ b/doc/changes.texi
@@ -12,6 +12,16 @@
 
 @itemize @bullet
 @item
+Commands such as LaTeX and View can now be executed conveniently on the
+current section (or part, chapter, subsection, etc).  See
+@code{LaTeX-command-section}, @code{LaTeX-command-section-change-level},
+and @xref{Starting a Command}.
+
+@item
+Forward and backward search with Evince now also work when only a region
+of the document is compiled/viewed.
+
+@item
 New option @code{TeX-file-line-error} allows to select file:line:error
 style for error messages.
 



[elpa] elpa ddd6b97 11/26: Improve minted style.

2015-01-27 Thread Tassilo Horn
branch: elpa
commit ddd6b97c8c18cc797762224023753a66863e0deb
Author: Tassilo Horn 
Commit: Tassilo Horn 

Improve minted style.

* style/minted.el (LaTeX-minted-auto-cleanup): Recognize macros
generated by \newmint, \newmintinline, and \newmintedfile, too.
---
 ChangeLog   |3 +++
 style/minted.el |   19 ---
 2 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5bf02de..142694c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2014-12-20  Tassilo Horn  
 
+   * style/minted.el (LaTeX-minted-auto-cleanup): Recognize macros
+   generated by \newmint, \newmintinline, and \newmintedfile, too.
+
* tex.el (TeX-evince-sync-view): Encode URI with `url-encode-url'.
 
 2014-12-19  Tassilo Horn  
diff --git a/style/minted.el b/style/minted.el
index b5733c3..dce725b 100644
--- a/style/minted.el
+++ b/style/minted.el
@@ -129,13 +129,7 @@
LaTeX-minted-auto-newmintedfile nil))
 
 (defun LaTeX-minted-auto-cleanup ()
-  ;; (message "1: %s\n2: %s\n3: %s\n4: %s"
-  ;;  LaTeX-minted-auto-newminted
-  ;;  LaTeX-minted-auto-newmint
-  ;;  LaTeX-minted-auto-newmintinline
-  ;;  LaTeX-minted-auto-newmintedfile)
-  ;; Every \newminted{lang}{opts} defines a new langcode and a new langcode*
-  ;; env.  The starred version has mandatory args.
+  ;; \newminted{lang}{opts} => new langcode and langcode* envs.
   (dolist (lang LaTeX-minted-auto-newminted)
 (let* ((env (concat lang "code"))
   (env* (concat env "*")))
@@ -147,6 +141,17 @@
   (add-to-list 'LaTeX-indent-environment-list `(,env* current-indentation))
   (add-to-list 'LaTeX-verbatim-environments-local env)
   (add-to-list 'LaTeX-verbatim-environments-local env*)))
+  ;; \newmint{foo}{opts} => \foo|code|
+  (dolist (lang LaTeX-minted-auto-newmint)
+(add-to-list 'TeX-auto-symbol lang)
+(add-to-list 'LaTeX-verbatim-macros-with-delims-local lang))
+  ;; \newmintinline{foo}{opts} => \fooinline|code|
+  (dolist (lang LaTeX-minted-auto-newmintinline)
+(add-to-list 'TeX-auto-symbol lang)
+(add-to-list 'LaTeX-verbatim-macros-with-delims-local (concat lang 
"inline")))
+  ;; \newmintedfile{foo}{opts} => \foofile{file-name}
+  (dolist (lang LaTeX-minted-auto-newmintedfile)
+(add-to-list 'TeX-auto-symbol (list lang 'TeX-arg-file)))
   (when (and (fboundp 'font-latex-add-keywords)
 (fboundp 'font-latex-set-syntactic-keywords)
 (eq TeX-install-font-lock 'font-latex-setup))



[elpa] elpa c7e1e47 05/26: [Fix #19281] Allow moodifying environments with macros in their names.

2015-01-27 Thread Tassilo Horn
branch: elpa
commit c7e1e47e8d7668cb63c531416d6c7f7dd5b3aa35
Author: Mosè Giordano 
Commit: Mosè Giordano 

[Fix #19281]  Allow moodifying environments with macros in their names.

* latex.el (LaTeX-environment-name-regexp): New function.
(LaTeX-modify-environment): Use it.
(LaTeX-find-matching-end): Use `TeX-grop' instead of the
hard-coded "{".  Search for the closing of the environment with
`re-search-forward' instead of `search-forward' and use
`LaTeX-environment-name-regexp': this allows to consider
environments with macros in their names.  (Bug#19281)
(LaTeX-find-matching-begin): Use `TeX-grop' instead of the
hard-coded "{".
---
 ChangeLog |   12 
 latex.el  |   20 +++-
 2 files changed, 27 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d0c1160..10063c3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2014-12-12  Mos� Giordano  
+
+   * latex.el (LaTeX-environment-name-regexp): New function.
+   (LaTeX-modify-environment): Use it.
+   (LaTeX-find-matching-end): Use `TeX-grop' instead of the
+   hard-coded "{".  Search for the closing of the environment with
+   `re-search-forward' instead of `search-forward' and use
+   `LaTeX-environment-name-regexp': this allows to consider
+   environments with macros in their names.  (Bug#19281)
+   (LaTeX-find-matching-begin): Use `TeX-grop' instead of the
+   hard-coded "{".
+
 2014-12-09  Mos� Giordano  
 
* style/babel.el (LaTeX-babel-active-languages): Move `nreverse'
diff --git a/latex.el b/latex.el
index 0022ae2..477ef66 100644
--- a/latex.el
+++ b/latex.el
@@ -729,6 +729,15 @@ environment just inserted, the buffer position just before
 (run-hook-with-args 'LaTeX-after-insert-env-hooks
environment env-start env-end)))
 
+(defun LaTeX-environment-name-regexp ()
+  "Return the regexp matching the name of a LaTeX environment.
+This matches everything different from a TeX closing brace but
+allowing one level of TeX group braces."
+  (concat "\\([^" (regexp-quote TeX-grcl) (regexp-quote TeX-grop) "]*\\("
+ (regexp-quote TeX-grop) "[^" (regexp-quote TeX-grcl)
+ (regexp-quote TeX-grop) "]*" (regexp-quote TeX-grcl) "\\)*[^"
+ (regexp-quote TeX-grcl) (regexp-quote TeX-grop) "]*\\)"))
+
 (defun LaTeX-modify-environment (environment)
   "Modify current ENVIRONMENT."
   (save-excursion
@@ -736,7 +745,7 @@ environment just inserted, the buffer position just before
 (re-search-backward (concat (regexp-quote TeX-esc)
"end"
(regexp-quote TeX-grop)
-   " *\\([a-zA-Z*]*\\)"
+   (LaTeX-environment-name-regexp)
(regexp-quote TeX-grcl))
(save-excursion (beginning-of-line 1) (point)))
 (replace-match (concat TeX-esc "end" TeX-grop environment TeX-grcl) t t)
@@ -745,7 +754,7 @@ environment just inserted, the buffer position just before
 (re-search-forward (concat (regexp-quote TeX-esc)
   "begin"
   (regexp-quote TeX-grop)
-  " *\\([a-zA-Z*]*\\)"
+  (LaTeX-environment-name-regexp)
   (regexp-quote TeX-grcl))
   (save-excursion (end-of-line 1) (point)))
 (replace-match (concat TeX-esc "begin" TeX-grop environment TeX-grcl) t 
t)))
@@ -4124,7 +4133,7 @@ environment in commented regions with the same comment 
prefix."
 (comment-prefix (and in-comment (TeX-comment-prefix)))
 (case-fold-search nil))
 (save-excursion
-  (skip-chars-backward "a-zA-Z \t{")
+  (skip-chars-backward (concat "a-zA-Z \t" (regexp-quote TeX-grop)))
   (unless (bolp)
(backward-char 1)
(and (looking-at regexp)
@@ -4143,7 +4152,8 @@ environment in commented regions with the same comment 
prefix."
(setq level (1+ level))
  (setq level (1- level)
 (if (= level 0)
-   (search-forward "}")
+   (re-search-forward
+(concat TeX-grop (LaTeX-environment-name-regexp) TeX-grcl))
   (error "Can't locate end of current environment"
 
 (defun LaTeX-find-matching-begin ()
@@ -4158,7 +4168,7 @@ environment in commented regions with the same comment 
prefix."
 (in-comment (TeX-in-commented-line))
 (comment-prefix (and in-comment (TeX-comment-prefix)))
 (case-fold-search nil))
-(skip-chars-backward "a-zA-Z \t{")
+(skip-chars-backward (concat "a-zA-Z \t" (regexp-quote TeX-grop)))
 (unless (bolp)
   (backward-char 1)
   (and (looking-at regexp)



[elpa] elpa 8dd1455 04/26: Fix in style/babel.el.

2015-01-27 Thread Tassilo Horn
branch: elpa
commit 8dd14550e632d8128314c7235ded9a8979d0379a
Author: Mosè Giordano 
Commit: Mosè Giordano 

Fix in style/babel.el.

* style/babel.el (LaTeX-babel-active-languages): Move `nreverse'
call inside `let'.
---
 ChangeLog  |5 +
 style/babel.el |4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index dd76553..d0c1160 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-09  Mos� Giordano  
+
+   * style/babel.el (LaTeX-babel-active-languages): Move `nreverse'
+   call inside `let'.
+
 2014-12-08  Stefan Monnier  
 
* tex.el (TeX-mode-specific-command-menu): Remove Emacs 20
diff --git a/style/babel.el b/style/babel.el
index e35177b..c1119b9 100644
--- a/style/babel.el
+++ b/style/babel.el
@@ -111,8 +111,8 @@
;; except if it is set with the `main' option.
(pushnew elt active-languages :test #'equal
 (if main-language
-(pushnew main-language active-languages :test #'equal)))
-  (nreverse active-languages))
+(pushnew main-language active-languages :test #'equal))
+(nreverse active-languages)))
 
 (defun TeX-arg-babel-lang (_optional &optional _prompt)
   "Prompt for a language with completion and insert it as an argument."



[elpa] elpa fc9a240 06/26: Fix bug#19398 in TeX-evince-sync-view

2015-01-27 Thread Tassilo Horn
branch: elpa
commit fc9a240dccd5e328142c821fb4ed0dbe34bd76c7
Author: Tassilo Horn 
Commit: Tassilo Horn 

Fix bug#19398 in TeX-evince-sync-view

* tex.el (TeX-evince-sync-view): Don't URL-encode commas in the
file name (bug#19398).
---
 ChangeLog |5 +
 tex.el|3 ++-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 10063c3..869e8c9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-18  Tassilo Horn  
+
+   * tex.el (TeX-evince-sync-view): Don't URL-encode commas in the
+   file name (bug#19398).
+
 2014-12-12  Mos� Giordano  
 
* latex.el (LaTeX-environment-name-regexp): New function.
diff --git a/tex.el b/tex.el
index df312a0..af02663 100644
--- a/tex.el
+++ b/tex.el
@@ -1104,7 +1104,8 @@ of point in emacs by using Evince's DBUS API.  Used by 
default
 for the Evince viewer entry in `TeX-view-program-list-builtin' if
 the requirements are met."
   (require 'url-util)
-  (let* ((uri (concat "file://" (let ((url-unreserved-chars (cons ?/ 
url-unreserved-chars)))
+  (let* ((uri (concat "file://" (let ((url-unreserved-chars
+  (cons ?, (cons ?/ 
url-unreserved-chars
  (url-hexify-string
   (expand-file-name
(concat file "." 
(TeX-output-extension)))



[elpa] elpa 49ee91a 03/26: Fix byte-compile warnings.

2015-01-27 Thread Tassilo Horn
branch: elpa
commit 49ee91aae14c271eb959d0696c1cb8b7405ed9d5
Author: Stefan Monnier 
Commit: Tassilo Horn 

Fix byte-compile warnings.

* tex.el (TeX-mode-specific-command-menu): Remove Emacs 20
compatibility code.

* style/shortvrb.el ("shortvrb"): Use mapcar instead of
dolist/add-to-list.

* style/pstricks.el (LaTeX-pst-point-in-parens)
(LaTeX-pst-macro-psarc, LaTeX-pst-macro-pscircle)
(LaTeX-pst-macro-rput, LaTeX-pst-macro-uput)
(LaTeX-pst-macro-multirputps, LaTeX-pst-macro-psline)
(LaTeX-pst-macro-psdots, LaTeX-pst-macro-parabola)
(LaTeX-pst-macro-pnt-twolen, LaTeX-pst-macro-psbezier)
(LaTeX-pst-macro-pspolygon, LaTeX-pst-macro-psframe)
(LaTeX-pst-macro-psgrid, LaTeX-pst-macro-newpsobject): Rename
unused arg to silence the byte-compiler.
(LaTeX-pst-parameters-add): Remove unused var beg.

* style/pst-plot.el (LaTeX-pst-macro-psaxes): Rename unused arg to
silence the byte-compiler and fix indentation.
("pst-plot"): Use mapc instead of mapcar for side-effects only.

* style/pst-node.el (LaTeX-pstnode-macro-nput)
(LaTeX-pstnode-macro-cnodeput, LaTeX-pstnode-macro-nc)
(LaTeX-pstnode-macro-pc, LaTeX-pstnode-macro-tnabcput): Rename
unused arg to silence the byte-compiler.

* style/psfig.el (TeX-arg-psfig, LaTeX-env-psfigure): Rename
unused arg to silence the byte-compiler.

* style/prosper.el: Fix comment style.
(LaTeX-prosper-insert-title, LaTeX-prosper-arg-pdftransition)
(LaTeX-prosper-insert-options, LaTeX-prosper-insert-slide): Rename
unused arg to silence the byte-compiler.

* style/pdfsync.el (LaTeX-pdfsync-output-page): Remove unused
sync-line variable.

* style/natbib.el (natbib-note-args): Rename unused arg to silence
the byte-compiler.

* style/inputenc.el (LaTeX-arg-inputenc-inputenc): Rename unused
arg to silence the byte-compiler.

* style/harvard.el (LaTeX-env-harvardbib): Rename unused arg to
silence the byte-compiler.

* style/graphicx.el (LaTeX-arg-includegraphics): Rename unused arg
to silence the byte-compiler.

* style/fancyref.el (TeX-arg-fancyref-format): Rename unused arg
to silence the byte-compiler.

* style/epsf.el (TeX-arg-epsfsize): Rename unused arg to silence
the byte-compiler.

* style/emp.el (LaTeX-env-empfile): Rename unused arg to silence
the byte-compiler.

* style/dinbrief.el (LaTeX-dinbrief-sender): Add a FIXME.

* style/bigstrut.el (TeX-arg-bigstrut): Rename unused arg to
silence the byte-compiler.

* style/beamer.el
(LaTeX-beamer-after-insert-env, TeX-arg-beamer-overlay-spec)
(TeX-arg-beamer-frametitle, TeX-arg-beamer-note)
(LaTeX-arg-beamer-theme, LaTeX-arg-beamer-inner-theme)
(LaTeX-arg-beamer-outer-theme, LaTeX-arg-beamer-color-theme)
(LaTeX-arg-beamer-font-theme): Rename unused arg to silence the
byte-compiler.

* style/babel.el (require): Require cl at compile-time.
(LaTeX-babel-active-languages): Use pushnew/nreverse instead of
add-to-list.

* bib-cite.el (bib-cite--kind): New function.
(bib-display, bib-find): Use it.
(featurep): Use with-current-buffer instead of set-buffer.
(bib-cite--fontify-help): New function.
(bib-cite-fontify-help-as-bibtex, bib-cite-fontify-help-as-latex):
Use it.
(bib-highlight-mouse, bib-label-help): Make comment conform to the
commenting conventions.
(bib-label-prompt-map): Derive from
minibuffer-local-completion-map instead of copying that.
(bib-display-this-environment): Fix comment.
(bib-document-TeX-files): Don't doubly-declare the-file.

Signed-off-by: Tassilo Horn 
---
 ChangeLog |   90 
 bib-cite.el   |  198 +
 style/babel.el|   10 ++-
 style/beamer.el   |   18 +++---
 style/bigstrut.el |9 ++-
 style/dinbrief.el |4 +-
 style/emp.el  |2 +-
 style/epsf.el |2 +-
 style/fancyref.el |4 +-
 style/graphicx.el |2 +-
 style/harvard.el  |  164 ++--
 style/inputenc.el |2 +-
 style/natbib.el   |2 +-
 style/pdfsync.el  |4 +-
 style/prosper.el  |   20 +++---
 style/psfig.el|4 +-
 style/pst-node.el |   15 ++--
 style/pst-plot.el |   24 +++---
 style/pstricks.el |   32 
 style/shortvrb.el |9 +--
 tex.el|   12 +--
 21 files changed, 352 insertions(+), 275 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index af4b4f9..dd76553 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,93 @@
+2014-12-08  Stefan Monnier  
+
+   * tex.el (TeX-mode-specific-command-menu): Remove Emacs 20
+   compatibility code.
+
+   * style/shortvrb.el ("shortvrb"): Use mapcar instead of
+   dolist/add-to-list.
+
+   * style/pstricks.el (LaTeX-pst-point-in-parens)
+   (LaTeX-pst-macro-psarc

[elpa] elpa b54c26a 16/26: Fix doc build

2015-01-27 Thread Tassilo Horn
branch: elpa
commit b54c26abd81ae83780fd326a8d1831c291a76475
Author: Tassilo Horn 
Commit: Tassilo Horn 

Fix doc build

Don't reference info node when generating CHANGES.
---
 doc/changes.texi |7 +--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/doc/changes.texi b/doc/changes.texi
index 17a5683..5483c84 100644
--- a/doc/changes.texi
+++ b/doc/changes.texi
@@ -14,8 +14,11 @@
 @item
 Commands such as LaTeX and View can now be executed conveniently on the
 current section (or part, chapter, subsection, etc).  See
-@code{LaTeX-command-section}, @code{LaTeX-command-section-change-level},
-and @xref{Starting a Command}.
+@code{LaTeX-command-section} and
+@code{LaTeX-command-section-change-level}.
+@ifclear rawfile
+Also see the documentation at @xref{Starting a Command}.
+@end ifclear
 
 @item
 Forward and backward search with Evince now also work when only a region



[elpa] elpa 63bcbcd 08/26: Obsolete LaTeX-verbatim-regexp defcustom

2015-01-27 Thread Tassilo Horn
branch: elpa
commit 63bcbcd1f6aae29b8c53d7a703fb0e5f92be0701
Author: Tassilo Horn 
Commit: Tassilo Horn 

Obsolete LaTeX-verbatim-regexp defcustom

* latex.el (LaTeX-verbatim-regexp): Make variable obsolete.
(LaTeX-verbatim-regexp): New function which computes a regexp of
verbatim environments from LaTeX-verbatim-environments.
(LaTeX-indent-calculate, LaTeX-indent-calculate-last): Use the
function LaTeX-verbatim-regexp instead of the variable.

* style/listings.el ("listings"): Don't modify the now obsolete
LaTeX-verbatim-regexp.

* style/fancyvrb.el ("fancyvrb"): Don't modify the now obsolete
LaTeX-verbatim-regexp.

* style/beamer.el ("beamer"): Don't modify the now obsolete
LaTeX-verbatim-regexp.

* style/alltt.el ("alltt"): Don't modify the now obsolete
LaTeX-verbatim-regexp.
---
 ChangeLog |   17 +
 latex.el  |   14 ++
 style/alltt.el|2 --
 style/beamer.el   |4 +---
 style/fancyvrb.el |6 +-
 style/listings.el |4 +---
 6 files changed, 30 insertions(+), 17 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9bd0dae..735d8d0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,23 @@
 
* latex.el (LaTeX-env-args): Bind exit-mark if its not bound
already.
+   (LaTeX-verbatim-regexp): Make variable obsolete.
+   (LaTeX-verbatim-regexp): New function which computes a regexp of
+   verbatim environments from LaTeX-verbatim-environments.
+   (LaTeX-indent-calculate, LaTeX-indent-calculate-last): Use the
+   function LaTeX-verbatim-regexp instead of the variable.
+
+   * style/listings.el ("listings"): Don't modify the now obsolete
+   LaTeX-verbatim-regexp.
+
+   * style/fancyvrb.el ("fancyvrb"): Don't modify the now obsolete
+   LaTeX-verbatim-regexp.
+
+   * style/beamer.el ("beamer"): Don't modify the now obsolete
+   LaTeX-verbatim-regexp.
+
+   * style/alltt.el ("alltt"): Don't modify the now obsolete
+   LaTeX-verbatim-regexp.
 
 2014-12-18  Tassilo Horn  
 
diff --git a/latex.el b/latex.el
index 1098601..8b19c8b 100644
--- a/latex.el
+++ b/latex.el
@@ -2914,6 +2914,8 @@ indentation level in columns."
   "*Regexp matching environments with indentation at col 0 for begin/end."
   :group 'LaTeX-indentation
   :type 'regexp)
+(make-obsolete-variable 'LaTeX-verbatim-regexp 
'LaTeX-verbatim-environments-local
+   "2014-12-19")
 
 (defcustom LaTeX-begin-regexp "begin\\b"
   "*Regexp matching macros considered begins."
@@ -3045,6 +3047,10 @@ Lines starting with an item is given an extra 
indentation of
   (delete-region (line-beginning-position) (point))
   (indent-to outer-indent))
 
+(defun LaTeX-verbatim-regexp ()
+  "Calculate the verbatim env regex from `LaTeX-verbatim-environments'."
+  (regexp-opt (LaTeX-verbatim-environments)))
+
 (defun LaTeX-indent-calculate (&optional force-type)
   "Return the indentation of a line of LaTeX source.
 FORCE-TYPE can be used to force the calculation of an inner or
@@ -3076,7 +3082,7 @@ outer indentation in case of a commented line.  The 
symbols
   (nth 1 entry)))
((looking-at (concat (regexp-quote TeX-esc)
 "\\(begin\\|end\\){\\("
-LaTeX-verbatim-regexp
+(LaTeX-verbatim-regexp)
 "\\)}"))
 ;; \end{verbatim} must be flush left, otherwise an unwanted
 ;; empty line appears in LaTeX's output.
@@ -3208,19 +3214,19 @@ outer indentation in case of a commented line.  The 
symbols
   0)
  ((looking-at (concat (regexp-quote TeX-esc)
   "begin *{\\("
-  LaTeX-verbatim-regexp
+  (LaTeX-verbatim-regexp)
   "\\)}"))
   0)
  ((looking-at (concat (regexp-quote TeX-esc)
   "end *{\\("
-  LaTeX-verbatim-regexp
+  (LaTeX-verbatim-regexp)
   "\\)}"))
   ;; If I see an \end{verbatim} in the previous line I skip
   ;; back to the preceding \begin{verbatim}.
   (save-excursion
 (if (re-search-backward (concat (regexp-quote TeX-esc)
 "begin *{\\("
-LaTeX-verbatim-regexp
+(LaTeX-verbatim-regexp)
 "\\)}") 0 t)
 (LaTeX-indent-calculate-last force-type)
   0)))
diff --git a/style/alltt.el b/style/alltt.el
index e5c5684..86b4993 100644
--- a/style/alltt.el
+++ b/style/alltt.el
@@ -37,8 +37,6 @@
(make-local-variable 'LaTeX-indent-environment-list)
(add-to-list 'LaTeX-indent-environment-list

[elpa] elpa 81512a2 24/26: Fix bug#19673

2015-01-27 Thread Tassilo Horn
branch: elpa
commit 81512a2275707731b64e769576f35360a7518ff7
Author: Tassilo Horn 
Commit: Tassilo Horn 

Fix bug#19673

* tex.el (TeX-view-program-list-builtin): Remove "start" as
executable entry because it's no executable but a Windows system
command.
---
 ChangeLog |6 ++
 tex.el|2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4aa8dfd..608d02c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-01-27  Tassilo Horn  
+
+   * tex.el (TeX-view-program-list-builtin): Remove "start" as
+   executable entry because it's no executable but a Windows system
+   command.
+
 2015-01-25  Tassilo Horn  
 
* latex.el (LaTeX-section-heading): Use default parameter of
diff --git a/tex.el b/tex.el
index e64af2a..31b77f0 100644
--- a/tex.el
+++ b/tex.el
@@ -1133,7 +1133,7 @@ the requirements are met."
((eq system-type 'windows-nt)
 '(("Yap" ("yap -1" (mode-io-correlate " -s %n%b") " %o") "yap")
   ("dvips and start" "dvips %d -o && start \"\" %f" ,(list "dvips" 
"start"))
-  ("start" "start \"\" %o" "start")))
+  ("start" "start \"\" %o")))
((eq system-type 'darwin)
 '(("Preview.app" "open -a Preview.app %o" "open")
   ("Skim" "open -a Skim.app %o" "open")



[elpa] elpa 8c6a5ae 02/26: [Fix #19301] Fix closing bracket in style/mathtools.el.

2015-01-27 Thread Tassilo Horn
branch: elpa
commit 8c6a5ae93babb05bad22581d7338bf3c7099c762
Author: Mosè Giordano 
Commit: Mosè Giordano 

[Fix #19301] Fix closing bracket in style/mathtools.el.

* style/mathtools.el ("mathtools"): Fix closing bracket
placement.  (Bug#19301)
---
 ChangeLog  |5 +
 style/mathtools.el |   30 +++---
 2 files changed, 20 insertions(+), 15 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 96a2179..af4b4f9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-08  Mos� Giordano  
+
+   * style/mathtools.el ("mathtools"): Fix closing bracket
+   placement.  (Bug#19301)
+
 2014-12-08  Arash Esbati  
 
* Makefile.in (STYLESRC): Add new styles.
diff --git a/style/mathtools.el b/style/mathtools.el
index 04ecc0d..0890ce6 100644
--- a/style/mathtools.el
+++ b/style/mathtools.el
@@ -148,25 +148,25 @@
 '("splitdfrac" 2))
 
(setq LaTeX-item-list
-(append '(("multlined". LaTeX-item-equation)
-  ("lgathered" . LaTeX-item-equation)
-  ("rgathered" . LaTeX-item-equation)
+(append '(("multlined"   . LaTeX-item-equation)
+  ("lgathered"   . LaTeX-item-equation)
+  ("rgathered"   . LaTeX-item-equation)
   ("spreadlines" . LaTeX-item-equation)
-  ("matrix*" .  LaTeX-item-equation)
-  ("pmatrix*" .  LaTeX-item-equation)
-  ("bmatrix*" .  LaTeX-item-equation)
-  ("Bmatrix*" .  LaTeX-item-equation)
-  ("vmatrix*" .  LaTeX-item-equation)
-  ("Vmatrix*" .  LaTeX-item-equation)
-  ("dcases". LaTeX-item-equation)
-  ("dcases*". LaTeX-item-equation))
+  ("matrix*" . LaTeX-item-equation)
+  ("pmatrix*". LaTeX-item-equation)
+  ("bmatrix*". LaTeX-item-equation)
+  ("Bmatrix*". LaTeX-item-equation)
+  ("vmatrix*". LaTeX-item-equation)
+  ("Vmatrix*". LaTeX-item-equation)
+  ("dcases"  . LaTeX-item-equation)
+  ("dcases*" . LaTeX-item-equation))
 LaTeX-item-list))
 
(setq LaTeX-label-alist
-(append '(("lgathered". LaTeX-amsmath-label)
-  ("rgathered"   . LaTeX-amsmath-label)
-  ("multlined". LaTeX-amsmath-label)
-  LaTeX-label-alist
+(append '(("lgathered" . LaTeX-amsmath-label)
+  ("rgathered" . LaTeX-amsmath-label)
+  ("multlined" . LaTeX-amsmath-label))
+LaTeX-label-alist)))
  LaTeX-dialect)
 
 (defun LaTeX-mathtools-env-matrix-starred (env)



[elpa] elpa 0cc29f9 07/26: Fix void-variable error.

2015-01-27 Thread Tassilo Horn
branch: elpa
commit 0cc29f909de3f1febd9d958e96007493a2f9b69c
Author: Tassilo Horn 
Commit: Tassilo Horn 

Fix void-variable error.

* latex.el (LaTeX-env-args): Bind exit-mark if its not bound
already.
---
 ChangeLog |5 +
 latex.el  |5 -
 2 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 869e8c9..9bd0dae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-19  Tassilo Horn  
+
+   * latex.el (LaTeX-env-args): Bind exit-mark if its not bound
+   already.
+
 2014-12-18  Tassilo Horn  
 
* tex.el (TeX-evince-sync-view): Don't URL-encode commas in the
diff --git a/latex.el b/latex.el
index 477ef66..1098601 100644
--- a/latex.el
+++ b/latex.el
@@ -1182,7 +1182,10 @@ Just like array and tabular."
   (save-excursion
 (LaTeX-find-matching-begin)
 (end-of-line)
-(TeX-parse-arguments args)))
+(let ((exit-mark (if (boundp 'exit-mark)
+exit-mark
+  (make-marker
+  (TeX-parse-arguments args
 
 ;;; Item hooks
 



[elpa] elpa 6bfd4c8 01/26: Add new styles.

2015-01-27 Thread Tassilo Horn
branch: elpa
commit 6bfd4c8698120b399d041ba3cd44684c56245c1f
Author: Arash Esbati 
Commit: Mosè Giordano 

Add new styles.

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

* style/newtxttt.el: New file.

* style/newtxtext.el: New file.

* style/newtxsf.el: New file.

* style/newtxmath.el: New file.

* style/fbb.el: New file.

* style/erewhon.el: New file.

* style/baskervaldx.el: New file.

Signed-off-by: Mosè Giordano 
---
 ChangeLog|   18 +++
 Makefile.in  |4 ++-
 style/baskervaldx.el |   73 +++
 style/erewhon.el |   79 +++
 style/fbb.el |   71 ++
 style/newtxmath.el   |   84 ++
 style/newtxsf.el |   57 ++
 style/newtxtext.el   |   50 +
 style/newtxttt.el|   62 +
 9 files changed, 497 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5171a72..96a2179 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,21 @@
+2014-12-08  Arash Esbati  
+
+   * Makefile.in (STYLESRC): Add new styles.
+
+   * style/newtxttt.el: New file.
+
+   * style/newtxtext.el: New file.
+
+   * style/newtxsf.el: New file.
+
+   * style/newtxmath.el: New file.
+
+   * style/fbb.el: New file.
+
+   * style/erewhon.el: New file.
+
+   * style/baskervaldx.el: New file.
+
 2014-12-04  Mos� Giordano  
 
* tex.el (TeX-Omega-command): Add aleph and omega choices.
diff --git a/Makefile.in b/Makefile.in
index 60e21dc..a132c1c 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -140,7 +140,9 @@ STYLESRC = style/prosper.el \
   style/eso-pic.el   style/fontaxes.el  style/AnonymousPro.el \
   style/mdsymbol.el  style/MyriadPro.el style/textcomp.el \
   style/XCharter.el  style/zlmtt.el style/ifluatex.el \
-  style/luatextra.el
+  style/luatextra.el style/erewhon.el   style/baskervaldx.el \
+  style/fbb.el   style/newtxmath.el style/newtxsf.el \
+  style/newtxtext.el style/newtxttt.el
 STYLEELC = $(STYLESRC:.el=.elc)
 
 ifeq (@preview_enabled@,yes)
diff --git a/style/baskervaldx.el b/style/baskervaldx.el
new file mode 100644
index 000..692e632
--- /dev/null
+++ b/style/baskervaldx.el
@@ -0,0 +1,73 @@
+;;; baskervaldx.el --- AUCTeX style for `baskervaldx.sty' (v1.04)
+
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
+;; Author: Arash Esbati 
+;; Maintainer: auctex-de...@gnu.org
+;; Created: 2014-11-18
+;; 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 `baskervaldx.sty' (v1.04) from 2014/04/27.
+;; `baskervaldx.sty' is part of TeXLive.
+
+;;; Code:
+
+(TeX-add-style-hook
+ "baskervaldx"
+ (lambda ()
+
+   ;; Run style hook for various packages loaded by baskervaldx
+   (TeX-run-style-hooks "textcomp" "fontaxes")
+
+   ;; New symbols
+   (TeX-add-symbols
+
+;; Only preamble commands
+'("useosf"  0)
+
+;; Text commands
+'("textlf" t)   ; proportional lining figures
+'("texttlf"t)   ; tabular lining figures
+'("textosf"t)   ; proportional oldstyle figures
+'("texttosf"   t)   ; tabular oldstyle figures
+'("textsu" t)   ; superior figures
+'("swshape"   -1))  ; italic shape with ligatures activated
+
+   ;; Fontification
+   (when (and (featurep 'font-latex)
+ (eq TeX-install-font-lock 'font-latex-setup))
+ (font-latex-add-keywords '(("textlf""{")
+   ("texttlf"   "{")
+   ("textosf"   "{")
+   ("texttosf"  "{")
+   ("textsu""{"))
+ 'type-command)
+ (font-latex-add-keywords '(("swshape"   ""))
+ 'bold-declaration)))
+ LaTeX-dialect)
+
+(defvar LaTeX-baskervaldx-package-options
+  '("lining" "lf" "oldstyle" "osf" "tabular" "proportional"
+"scale" "scaled" "sups" "swash")
+  "Package options for the baskervaldx package.")
+
+;;; baskervaldx.

[elpa] externals/auctex c3d465d: Release AUCTeX 11.88.2.

2015-01-27 Thread Tassilo Horn
branch: externals/auctex
commit c3d465d46f9fe9274ad58d54c6c389533fe0ca54
Author: Tassilo Horn 
Commit: Tassilo Horn 

Release AUCTeX 11.88.2.

* Version 11.88.2 released.
---
 ChangeLog |2 ++
 auctex.el |2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 08b51a5..7d47bcd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2015-01-27  Tassilo Horn  
 
+   * Version 11.88.2 released.
+
* tex.el (TeX-view-program-list-builtin): Remove "start" as
executable entry because it's no executable but a Windows system
command.
diff --git a/auctex.el b/auctex.el
index 327426b..dd0c701 100644
--- a/auctex.el
+++ b/auctex.el
@@ -2,7 +2,7 @@
 
 ;; Copyright (C) 2014, 2015 Free Software Foundation, Inc.
 
-;; Version: 11.88.1
+;; Version: 11.88.2
 ;; URL: http://www.gnu.org/software/auctex/
 ;; Maintainer: auctex-de...@gnu.org
 



[elpa] master updated (7b78b37 -> 0d834ff)

2015-01-27 Thread Matthew Carter
ahungry pushed a change to branch master.

  from  7b78b37   Merge commit '440c41cc3f5137d694211719abaa38c0193a08a2' 
from hydra
   new  1583a82   Squashed 'packages/ahungry-theme/' content from commit 
57e4bc8
   new  0d834ff   Merge commit '1583a82fdcd387de95d27c384ec590e714d24c6a' 
as 'packages/ahungry-theme'


Summary of changes:
 COPYING => packages/ahungry-theme/LICENSE.md  |0
 packages/ahungry-theme/README.md  |   59 
 packages/ahungry-theme/ahungry-theme.el   |  184 
 packages/ahungry-theme/color-theme-ahungry.el |  187 +
 4 files changed, 430 insertions(+), 0 deletions(-)
 copy COPYING => packages/ahungry-theme/LICENSE.md (100%)
 create mode 100644 packages/ahungry-theme/README.md
 create mode 100644 packages/ahungry-theme/ahungry-theme.el
 create mode 100644 packages/ahungry-theme/color-theme-ahungry.el



[elpa] master 0d834ff 2/2: Merge commit '1583a82fdcd387de95d27c384ec590e714d24c6a' as 'packages/ahungry-theme'

2015-01-27 Thread Matthew Carter
branch: master
commit 0d834ff627ae024cd1edfb21023f506737139f24
Merge: 7b78b37 1583a82
Author: Matthew Carter 
Commit: Matthew Carter 

Merge commit '1583a82fdcd387de95d27c384ec590e714d24c6a' as 
'packages/ahungry-theme'
---
 packages/ahungry-theme/LICENSE.md |  674 +
 packages/ahungry-theme/README.md  |   59 +++
 packages/ahungry-theme/ahungry-theme.el   |  184 +++
 packages/ahungry-theme/color-theme-ahungry.el |  187 +++
 4 files changed, 1104 insertions(+), 0 deletions(-)

diff --git a/packages/ahungry-theme/LICENSE.md 
b/packages/ahungry-theme/LICENSE.md
new file mode 100644
index 000..94a9ed0
--- /dev/null
+++ b/packages/ahungry-theme/LICENSE.md
@@ -0,0 +1,674 @@
+GNU GENERAL PUBLIC LICENSE
+   Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. 
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+Preamble
+
+  The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+  The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works.  By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users.  We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors.  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+  To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights.  Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received.  You must make sure that they, too, receive
+or can get the source code.  And you must show them these terms so they
+know their rights.
+
+  Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+  For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software.  For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+  Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so.  This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software.  The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable.  Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products.  If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+  Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary.  To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+   TERMS AND CONDITIONS
+
+  0. Definitions.
+
+  "This License" refers to version 3 of the GNU General Public License.
+
+  "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+  "The Program" refers to any copyrightable work licensed under this
+License.  Each licensee is addressed as "you".  "Licensees" and
+"recipients" may be individuals or organizations.
+
+  To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permis

[elpa] master 1583a82 1/2: Squashed 'packages/ahungry-theme/' content from commit 57e4bc8

2015-01-27 Thread Matthew Carter
branch: master
commit 1583a82fdcd387de95d27c384ec590e714d24c6a
Author: Matthew Carter 
Commit: Matthew Carter 

Squashed 'packages/ahungry-theme/' content from commit 57e4bc8

git-subtree-dir: packages/ahungry-theme
git-subtree-split: 57e4bc8d5725a4820999b69734b69ea53cb9de76
---
 LICENSE.md |  674 
 README.md  |   59 +
 ahungry-theme.el   |  184 +
 color-theme-ahungry.el |  187 +
 4 files changed, 1104 insertions(+), 0 deletions(-)

diff --git a/LICENSE.md b/LICENSE.md
new file mode 100644
index 000..94a9ed0
--- /dev/null
+++ b/LICENSE.md
@@ -0,0 +1,674 @@
+GNU GENERAL PUBLIC LICENSE
+   Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. 
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+Preamble
+
+  The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+  The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works.  By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users.  We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors.  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+  To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights.  Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received.  You must make sure that they, too, receive
+or can get the source code.  And you must show them these terms so they
+know their rights.
+
+  Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+  For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software.  For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+  Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so.  This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software.  The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable.  Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products.  If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+  Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary.  To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+   TERMS AND CONDITIONS
+
+  0. Definitions.
+
+  "This License" refers to version 3 of the GNU General Public License.
+
+  "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+  "The Program" refers to any copyrightable work licensed under this
+License.  Each licensee is addressed as "you".  "Licensees" and
+"recipients" may be individuals or organizations.
+
+  To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy.  The resul

[elpa] externals/auctex 8c89edf: Regenerate version info

2015-01-27 Thread Tassilo Horn
branch: externals/auctex
commit 8c89edf0b882697ac276260acc62b481a4350ee0
Author: Tassilo Horn 
Commit: Tassilo Horn 

Regenerate version info
---
 auctex.info|   46 +++---
 preview-latex.info |4 ++--
 2 files changed, 29 insertions(+), 21 deletions(-)

diff --git a/auctex.info b/auctex.info
index d145d0e..87c2269 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.1 from 2015-01-20), a
+This manual is for AUCTeX (version 11.88.2 from 2015-01-27), a
 sophisticated TeX environment for Emacs.
 
Copyright (C) 1992-1995, 2001, 2002, 2004-2014 Free Software
@@ -5333,7 +5333,7 @@ A.1 Copying this Manual
 
 The copyright notice for this manual is:
 
-   This manual is for AUCTeX (version 11.88.1 from 2015-01-20), a
+   This manual is for AUCTeX (version 11.88.2 from 2015-01-27), a
 sophisticated TeX environment for Emacs.
 
Copyright (C) 1992-1995, 2001, 2002, 2004-2014 Free Software
@@ -5843,6 +5843,14 @@ A.2 Changes and New Features
 News since 11.88
 
 
+   * Commands such as LaTeX and View can now be executed conveniently on
+ the current section (or part, chapter, subsection, etc).  See
+ 'LaTeX-command-section' and 'LaTeX-command-section-change-level'.
+ Also see the documentation at *Note Starting a Command::.
+
+   * Forward and backward search with Evince now also work when only a
+ region of the document is compiled/viewed.
+
* New option 'TeX-file-line-error' allows to select file:line:error
  style for error messages.
 
@@ -7741,7 +7749,7 @@ Concept Index
   (line   6)
 * ASCII pTeX <1>:Japanese.(line   6)
 * 'auctex.el':   Loading the package. (line  14)
-* 'auctex.el' <1>:   Changes. (line 283)
+* 'auctex.el' <1>:   Changes. (line 291)
 * 'auto' directories.:   Automatic.   (line   6)
 * Auto-Reveal:   Folding. (line   6)
 * Automatic: Automatic.   (line   6)
@@ -8040,7 +8048,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 283)
+* 'tex-site.el' <2>: Changes. (line 291)
 * tool bar, toolbar: Processing.  (line  11)
 * Trailer:   Commands.(line   6)
 * Underfull boxes:   Debugging.   (line   6)
@@ -8138,20 +8146,20 @@ Node: Appendices225056
 Node: Copying this Manual225440
 Node: GNU Free Documentation License226324
 Node: Changes251443
-Node: Development280374
-Node: Mid-term Goals281020
-Node: Wishlist282237
-Node: Bugs288194
-Node: FAQ289724
-Node: Texinfo mode295897
-Node: Exploiting297033
-Node: Superseding297853
-Node: Mapping302057
-Node: Unbinding303886
-Node: Indices304707
-Node: Key Index304932
-Node: Function Index310964
-Node: Variable Index321409
-Node: Concept Index342013
+Node: Development280769
+Node: Mid-term Goals281415
+Node: Wishlist282632
+Node: Bugs288589
+Node: FAQ290119
+Node: Texinfo mode296292
+Node: Exploiting297428
+Node: Superseding298248
+Node: Mapping302452
+Node: Unbinding304281
+Node: Indices305102
+Node: Key Index305327
+Node: Function Index311359
+Node: Variable Index321804
+Node: Concept Index342408
 
 End Tag Table
diff --git a/preview-latex.info b/preview-latex.info
index 0b52bf8..641d46b 100644
--- a/preview-latex.info
+++ b/preview-latex.info
@@ -2,7 +2,7 @@ This is preview-latex.info, produced by makeinfo version 5.2 
from
 preview-latex.texi.
 
 This manual is for preview-latex, a LaTeX preview mode for AUCTeX
-(version 11.88.1 from 2015-01-20).
+(version 11.88.2 from 2015-01-27).
 
Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software
 Foundation, Inc.
@@ -1900,7 +1900,7 @@ Appendix C Copying this Manual
 The copyright notice for this manual is:
 
This manual is for preview-latex, a LaTeX preview mode for AUCTeX
-(version 11.88.1 from 2015-01-20).
+(version 11.88.2 from 2015-01-27).
 
Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software
 Foundation, Inc.