auctex-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 107f0bf59572344b84bbb


From: Tassilo Horn
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 107f0bf59572344b84bbb9fbdf29c3205f04b2af
Date: Mon, 10 Feb 2014 07:58:50 +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  107f0bf59572344b84bbb9fbdf29c3205f04b2af (commit)
      from  f4d3f2840e8f448a329b223c081bce556eb6ca67 (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 107f0bf59572344b84bbb9fbdf29c3205f04b2af
Author: Tassilo Horn <address@hidden>
Date:   Mon Feb 10 08:56:53 2014 +0100

    Add an english style.
    
    * style/english.el: New style for english documents so that
    `TeX-language-en-hook' gets run.
    
    * Makefile.in (STYLESRC): Activate it.
    
    * doc/auctex.texi (languages): Document it.

diff --git a/ChangeLog b/ChangeLog
index c33cd2b..f5daeb8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2014-02-10  Tassilo Horn  <address@hidden>
+
+       * style/english.el: New style for english documents so that
+       `TeX-language-en-hook' gets run.
+
+       * Makefile.in (STYLESRC): Activate it.
+
+       * doc/auctex.texi (languages): Document it.
+
 2014-02-04  Tassilo Horn  <address@hidden>
 
        * tex.el (TeX-auto-add-type): Convert to macro.
diff --git a/Makefile.in b/Makefile.in
index 730a3e2..3f463a7 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -133,7 +133,7 @@ STYLESRC = style/prosper.el \
           style/array.el     style/kpfonts.el   style/acro.el \
           style/acronym.el   style/xparse.el    style/fancyvrb.el \
           style/tabulary.el  style/fontspec.el  style/unicode-math.el \
-          style/luacode.el   style/metalogo.el
+          style/luacode.el   style/metalogo.el  style/english.el
 STYLEELC = $(STYLESRC:.el=.elc)
 
 CLEANFILES = $(AUCELC) $(STYLEELC) $(MULEELC)
diff --git a/doc/auctex.texi b/doc/auctex.texi
index aa5387c..ce87075 100644
--- a/doc/auctex.texi
+++ b/doc/auctex.texi
@@ -3687,6 +3687,7 @@ The following style files are recognized:
 @vindex TeX-language-bg-hook
 @vindex TeX-language-cz-hook
 @vindex TeX-language-dk-hook
address@hidden TeX-language-en-hook
 @vindex TeX-language-nl-hook
 @vindex TeX-language-de-hook
 @vindex TeX-language-it-hook
@@ -3699,6 +3700,7 @@ The following style files are recognized:
 @cindex Italian
 @cindex Danish
 @cindex Dutch
address@hidden English
 @cindex German
 @cindex Polish
 @cindex Slovak
@@ -3727,13 +3729,8 @@ in the composing words.
 @item dutch
 Runs style hook @code{TeX-language-nl-hook}.
 
address@hidden german
address@hidden ngerman
-Runs style hook @code{TeX-language-de-hook}.  Gives @samp{"} word
-syntax, makes the @key{"} key insert a literal @samp{"}.  Pressing the
-key twice will give you opening or closing German quotes (@samp{"`} or
address@hidden"'}).  Typing @key{-} twice will insert @samp{"=}, three times
address@hidden
address@hidden english
+Runs style hook @code{TeX-language-en-hook}.
 
 @item frenchb
 @itemx francais
@@ -3742,6 +3739,14 @@ insert @samp{\\og} and @samp{\\fg} depending on context. 
 Note that the
 language name for customizing @code{TeX-quote-language-alist} is
 @samp{french}.
 
address@hidden german
address@hidden ngerman
+Runs style hook @code{TeX-language-de-hook}.  Gives @samp{"} word
+syntax, makes the @key{"} key insert a literal @samp{"}.  Pressing the
+key twice will give you opening or closing German quotes (@samp{"`} or
address@hidden"'}).  Typing @key{-} twice will insert @samp{"=}, three times
address@hidden
+
 @item icelandic
 Runs style hook @code{TeX-language-is-hook}.  Gives @samp{"} word
 syntax, makes the @key{"} key insert a literal @samp{"}.  Typing @key{"}
diff --git a/style/english.el b/style/english.el
new file mode 100644
index 0000000..f385a24
--- /dev/null
+++ b/style/english.el
@@ -0,0 +1,10 @@
+;;; english.el --- Setup AUCTeX for editing English text.
+
+;;; Code:
+
+(TeX-add-style-hook
+ "english"
+ (lambda ()
+   (run-hooks 'TeX-language-en-hook)))
+
+;;; english.el ends here

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog        |    9 +++++++++
 Makefile.in      |    2 +-
 doc/auctex.texi  |   19 ++++++++++++-------
 style/english.el |   10 ++++++++++
 4 files changed, 32 insertions(+), 8 deletions(-)
 create mode 100644 style/english.el


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

[Prev in Thread] Current Thread [Next in Thread]