[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-commit] GNU AUCTeX branch, master, updated. 4f4062e7ff1eaeeeb92a
From: |
Tassilo Horn |
Subject: |
[AUCTeX-commit] GNU AUCTeX branch, master, updated. 4f4062e7ff1eaeeeb92a5c94dbb22116faa596fa |
Date: |
Fri, 12 Sep 2014 19:24:12 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".
The branch, master has been updated
via 4f4062e7ff1eaeeeb92a5c94dbb22116faa596fa (commit)
from 3a16f59c1ccc400e9f32335c5477298035aa6c62 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4f4062e7ff1eaeeeb92a5c94dbb22116faa596fa
Author: Vincent Belaïche <address@hidden>
Date: Fri Sep 12 21:20:16 2014 +0200
Allow applying style hooks only in a certain context.
* doc/changes.texi: Add information about style hook labelling by dialect.
* doc/todo.texi (Bugs): Update Bug #1 about style hook clash.
* style/xspace.el ("xspace"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/xparse.el ("xparse"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/virtex.el ("virtex"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/verbatim.el ("verbatim"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/varioref.el ("varioref"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/url.el ("url"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/units.el ("units"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/unicode-math.el ("unicode-math"): Add LaTeX-dialect to
TeX-add-style-hook call.
* style/ulem.el ("ulem"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/tabulary.el ("tabulary"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/tabularx.el ("tabularx"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/swedish.el ("swedish"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/subfigure.el ("subfigure"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/slovak.el ("slovak"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/slides.el ("slides"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/siunitx.el ("siunitx"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/shortvrb.el ("shortvrb"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/setspace.el ("setspace"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/scrreprt.el ("scrreprt"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/scrpage2.el ("scrpage2"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/scrlttr2.el ("scrlttr2"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/scrbook.el ("scrbook"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/scrbase.el ("scrbase"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/scrartcl.el ("scrartcl"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/ruby.el ("ruby"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/report.el ("report"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/ragged2e.el ("ragged2e"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/pstricks.el ("pstricks"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/pst-slpe.el ("pst-slpe"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/pst-plot.el ("pst-plot"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/pst-node.el ("pst-node"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/pst-grad.el ("pst-grad"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/psfig.el ("psfig"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/prosper.el ("prosper"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/polski.el ("polski"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/polish.el ("polish"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/plhb.el ("plhb"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/plfonts.el ("plfonts"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/plext.el ("plext"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/placeins.el ("placeins"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/pdfsync.el ("pdfsync"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/paralist.el ("paralist"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/nomencl.el ("nomencl"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/nicefrac.el ("nicefrac"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/ngerman.el ("ngerman"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/naustrian.el ("naustrian"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/natbib.el ("natbib"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/nameref.el ("nameref"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/multirow.el ("multirow"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/multind.el ("multind"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/multido.el ("multido"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/multicol.el ("multicol"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/mflogo.el ("mflogo"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/metalogo.el ("metalogo"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/memoir.el ("memoir"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/mdwlist.el ("mdwlist"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/mathtools.el ("mathtools"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/makeidx.el ("makeidx"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/luacode.el ("luacode"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/ltxdoc.el ("ltxdoc"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/ltx-base.el ("ltx-base"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/lscape.el ("lscape"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/longtable.el ("longtable"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/listings.el ("listings"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/lipsum.el ("lipsum"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/lettrine.el ("lettrine"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/letter.el ("letter"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/latexinfo.el ("latexinfo"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/kpfonts.el ("kpfonts"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/kantlipsum.el ("kantlipsum"): Add LaTeX-dialect to
TeX-add-style-hook call.
* style/jurabib.el ("jurabib"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/jura.el ("jura"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/jsbook.el ("jsbook"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/jsarticle.el ("jsarticle"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/jreport.el ("jreport"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/jbook.el ("jbook"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/jarticle.el ("jarticle"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/j-report.el ("j-report"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/j-book.el ("j-book"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/j-article.el ("j-article"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/italian.el ("italian"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/inputenc.el ("inputenc"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/index.el ("index"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/imakeidx.el ("imakeidx"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/icelandic.el ("icelandic"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/hyperref.el ("hyperref"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/harvard.el ("harvard"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/graphicx.el ("graphicx"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/graphics.el ("graphics"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/german.el ("german"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/frenchb.el ("frenchb"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/french.el ("french"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/francais.el ("francais"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/footmisc.el ("footmisc"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/fontspec.el ("fontspec"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/foils.el ("foils"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/flashcards.el ("flashcards"): Add LaTeX-dialect to
TeX-add-style-hook call.
* style/filecontents.el ("filecontents"): Add LaTeX-dialect to
TeX-add-style-hook call.
* style/fancyvrb.el ("fancyvrb"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/fancyref.el ("fancyref"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/fancynum.el ("fancynum"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/fancyhdr.el ("fancyhdr"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/exercise.el ("exercise"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/everysel.el ("everysel"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/epsf.el ("epsf"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/epigraph.el ("epigraph"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/english.el ("english"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/emp.el ("emp"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/dutch.el ("dutch"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/doc.el ("doc"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/dk.el ("dk"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/dinbrief.el ("dinbrief"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/danish.el ("danish"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/czech.el ("czech"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/csquotes.el ("csquotes"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/comment.el ("comment"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/captcont.el ("captcont"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/bulgarian.el ("bulgarian"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/booktabs.el ("booktabs"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/book.el ("book"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/bm.el ("bm"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/bigstrut.el ("bigstrut"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/bigdelim.el ("bigdelim"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/biblatex.el ("biblatex"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/beamer.el ("beamer"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/babel.el ("babel"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/austrian.el ("austrian"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/article.el ("article"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/array.el ("array"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/amsthm.el ("amsthm"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/amstext.el ("amstext"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/amstex.el ("amstex"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/amssymb.el ("amssymb"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/amsopn.el ("amsopn"): Add LaTeX-dialect to
TeX-add-style-hook call. Update header with correct filename.
* style/amsmath.el ("amsmath"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/amsbsy.el ("amsbsy"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/amsbook.el ("amsbook"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/amsart.el ("amsart"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/alphanum.el ("alphanum"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/alltt.el ("alltt"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/afterpage.el ("afterpage"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/acronym.el ("acronym"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/acro.el ("acro"): Add LaTeX-dialect to TeX-add-style-hook call.
* style/MinionPro.el ("MinionPro"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/CJKutf8.el ("CJKutf8"): Add LaTeX-dialect to TeX-add-style-hook
call.
* style/CJK.el ("CJK"): Add LaTeX-dialect to TeX-add-style-hook call.
* bib-cite.el (eval-after-load "bibtex"): Add hook
TeX-bibtex-set-BibTeX-dialect to BibTex mode, this will set
'TeX-style-hook-dialect' to :bibtex for BibTeX files so that
Mosè's problem should be solved.
* latex.el (LaTeX-common-initialization): set
'TeX-style-hook-dialect' to :latex for LaTeX files, and those in
LaTeX derived modes. Add LaTeX-dialect as DIALECT argument to all
calls of TeX-add-style-hook.
* tex.el (TeX-style-hook-list): Update docstring to make clear
that style hooks can also be in the form '[TeX-style-hook HOOK-FUN
DIALECT-SET]'.
(TeX-bibtex-set-BibTeX-dialect): New defun.
(TeX-style-hook-dialect-weight-alist): New defconst.
(TeX-shdex-eval): New defun.
(TeX-shdex-or TeX-shdex-and TeX-shdex-nor TeX-shdex-not)
(TeX-shdex-in-p TeX-shdex-listify): New defsubst.
(TeX-style-hook-dialect): New defvar, used to have style hooks
called only in corresponding context.
(TeX-add-style-hook): Add optional argument context for marking
hooks that must run only in non default (aka nil) dialect.
(TeX-keep-hooks-in-dialect): New defun, used for unloading only
those hooks in a dialect list.
(TeX-unload-style): Add optional argument context-list for
unloading only those hooks marked for contexts in that
context-list.
(TeX-run-style-hooks): Run style hook only when current style hook
context matches context for which hook is marked.
* tex-info.el (Texinfo-environment-list): Add 'html' and 'float'
environments.
(TeX-texinfo-mode): set 'TeX-style-hook-dialect' to :texinfo for
Texinfo files. Add macro '@caption'.
Signed-off-by: Tassilo Horn <address@hidden>
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 334 +++++++++++++++++++++++++++++++++++++++++++++++++
bib-cite.el | 1 +
doc/changes.texi | 6 +
doc/todo.texi | 8 +-
latex.el | 28 +++--
style/CJK.el | 3 +-
style/CJKutf8.el | 3 +-
style/MinionPro.el | 3 +-
style/acro.el | 3 +-
style/acronym.el | 3 +-
style/afterpage.el | 3 +-
style/alltt.el | 3 +-
style/alphanum.el | 3 +-
style/amsart.el | 3 +-
style/amsbook.el | 3 +-
style/amsbsy.el | 3 +-
style/amsmath.el | 3 +-
style/amsopn.el | 6 +-
style/amssymb.el | 3 +-
style/amstex.el | 3 +-
style/amstext.el | 3 +-
style/amsthm.el | 3 +-
style/array.el | 3 +-
style/article.el | 3 +-
style/austrian.el | 3 +-
style/babel.el | 3 +-
style/beamer.el | 3 +-
style/biblatex.el | 3 +-
style/bigdelim.el | 3 +-
style/bigstrut.el | 3 +-
style/bm.el | 3 +-
style/book.el | 3 +-
style/booktabs.el | 3 +-
style/bulgarian.el | 3 +-
style/captcont.el | 3 +-
style/comment.el | 3 +-
style/csquotes.el | 3 +-
style/czech.el | 3 +-
style/danish.el | 3 +-
style/dinbrief.el | 3 +-
style/dk.el | 3 +-
style/doc.el | 3 +-
style/dutch.el | 3 +-
style/emp.el | 3 +-
style/english.el | 3 +-
style/epigraph.el | 3 +-
style/epsf.el | 3 +-
style/everysel.el | 3 +-
style/exercise.el | 3 +-
style/fancyhdr.el | 3 +-
style/fancynum.el | 3 +-
style/fancyref.el | 3 +-
style/fancyvrb.el | 3 +-
style/filecontents.el | 3 +-
style/flashcards.el | 3 +-
style/foils.el | 3 +-
style/fontspec.el | 3 +-
style/footmisc.el | 3 +-
style/francais.el | 3 +-
style/french.el | 3 +-
style/frenchb.el | 3 +-
style/german.el | 3 +-
style/graphics.el | 3 +-
style/graphicx.el | 3 +-
style/harvard.el | 3 +-
style/hyperref.el | 3 +-
style/icelandic.el | 3 +-
style/imakeidx.el | 3 +-
style/index.el | 3 +-
style/inputenc.el | 3 +-
style/italian.el | 3 +-
style/j-article.el | 3 +-
style/j-book.el | 3 +-
style/j-report.el | 3 +-
style/jarticle.el | 3 +-
style/jbook.el | 3 +-
style/jreport.el | 3 +-
style/jsarticle.el | 3 +-
style/jsbook.el | 3 +-
style/jura.el | 3 +-
style/jurabib.el | 3 +-
style/kantlipsum.el | 3 +-
style/kpfonts.el | 3 +-
style/latexinfo.el | 3 +-
style/letter.el | 3 +-
style/lettrine.el | 3 +-
style/lipsum.el | 3 +-
style/listings.el | 3 +-
style/longtable.el | 3 +-
style/lscape.el | 3 +-
style/ltx-base.el | 3 +-
style/ltxdoc.el | 3 +-
style/luacode.el | 3 +-
style/makeidx.el | 3 +-
style/mathtools.el | 3 +-
style/mdwlist.el | 3 +-
style/memoir.el | 3 +-
style/metalogo.el | 3 +-
style/mflogo.el | 3 +-
style/multicol.el | 3 +-
style/multido.el | 3 +-
style/multind.el | 3 +-
style/multirow.el | 3 +-
style/nameref.el | 3 +-
style/natbib.el | 3 +-
style/naustrian.el | 3 +-
style/ngerman.el | 3 +-
style/nicefrac.el | 3 +-
style/nomencl.el | 3 +-
style/paralist.el | 3 +-
style/pdfsync.el | 3 +-
style/placeins.el | 3 +-
style/plext.el | 3 +-
style/plfonts.el | 3 +-
style/plhb.el | 3 +-
style/polish.el | 3 +-
style/polski.el | 3 +-
style/prosper.el | 3 +-
style/psfig.el | 3 +-
style/pst-grad.el | 3 +-
style/pst-node.el | 3 +-
style/pst-plot.el | 3 +-
style/pst-slpe.el | 3 +-
style/pstricks.el | 3 +-
style/ragged2e.el | 3 +-
style/report.el | 3 +-
style/ruby.el | 3 +-
style/scrartcl.el | 3 +-
style/scrbase.el | 3 +-
style/scrbook.el | 3 +-
style/scrlttr2.el | 3 +-
style/scrpage2.el | 3 +-
style/scrreprt.el | 3 +-
style/setspace.el | 3 +-
style/shortvrb.el | 3 +-
style/siunitx.el | 23 ++--
style/slides.el | 3 +-
style/slovak.el | 3 +-
style/subfigure.el | 3 +-
style/swedish.el | 3 +-
style/tabularx.el | 3 +-
style/tabulary.el | 3 +-
style/ulem.el | 3 +-
style/unicode-math.el | 3 +-
style/units.el | 3 +-
style/url.el | 3 +-
style/varioref.el | 3 +-
style/verbatim.el | 3 +-
style/virtex.el | 3 +-
style/xparse.el | 5 +-
style/xspace.el | 3 +-
tex-info.el | 10 +-
tex.el | 183 +++++++++++++++++++++++----
153 files changed, 834 insertions(+), 199 deletions(-)
hooks/post-receive
--
GNU AUCTeX
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [AUCTeX-commit] GNU AUCTeX branch, master, updated. 4f4062e7ff1eaeeeb92a5c94dbb22116faa596fa,
Tassilo Horn <=