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. 7c8ec5dcacd0ab73f1265


From: Mosè Giordano
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 7c8ec5dcacd0ab73f1265aa107e651eab13bd91a
Date: Tue, 05 Nov 2013 16:28:57 +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  7c8ec5dcacd0ab73f1265aa107e651eab13bd91a (commit)
       via  a200d4a0b344ab0a1f4fe6d2ada06d621a190fe8 (commit)
       via  cc154b02648099744238d9e984b65fb68faed199 (commit)
      from  830437f088d20184815d95c2f6a70ea50e1a9458 (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 7c8ec5dcacd0ab73f1265aa107e651eab13bd91a
Author: Mosè Giordano <address@hidden>
Date:   Tue Nov 5 17:23:41 2013 +0100

    Document missing folding variables.
    
    * doc/auctex.texi (Folding): Document `TeX-fold-auto' and
    `TeX-fold-unfold-around-mark'.

diff --git a/ChangeLog b/ChangeLog
index 3eba1f0..945802c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2013-11-05  Mosè Giordano  <address@hidden>
 
+       * doc/auctex.texi (Folding): Document `TeX-fold-auto' and
+       `TeX-fold-unfold-around-mark'.
+
        * latex.el (TeX-arg-bibliography): Run style files associated to
        the bibliography database files.
 
diff --git a/doc/auctex.texi b/doc/auctex.texi
index 1af8cdb..3cf7dcb 100644
--- a/doc/auctex.texi
+++ b/doc/auctex.texi
@@ -2187,6 +2187,12 @@ forced fontification by customizing the variable
 @code{TeX-fold-force-fontify}.
 @end defopt
 
address@hidden TeX-fold-auto
+By default, a macro inserted with @code{TeX-insert-macro} (@kbd{C-c
+C-m}) will not be folded.  Set this variable to a non-nil value to
+aumatically fold macros as soon as they are inserted.
address@hidden defopt
+
 @defopt TeX-fold-preserve-comments
 By default items found in comments will be folded.  If your comments
 often contain unfinished code this might lead to problems.  Give this
@@ -2194,6 +2200,11 @@ variable a non-nil value and foldable items in your 
comments will be
 left alone.
 @end defopt
 
address@hidden TeX-fold-unfold-around-mark
+When this variable is non-nil and there is an active regione, text
+around the mark will be kept unfolded.
address@hidden defopt
+
 @deffn Command TeX-fold-region
 @kindex C-c C-o C-r
 (@kbd{C-c C-o C-r}) Hide all configured macros in the marked region.

commit a200d4a0b344ab0a1f4fe6d2ada06d621a190fe8
Author: Mosè Giordano <address@hidden>
Date:   Tue Nov 5 16:41:17 2013 +0100

    Run style files of the bibliography files when inserting bibliography 
macros.
    
    * latex.el (TeX-arg-bibliography): Run style files associated to
    the bibliography database files.
    
    * style/biblatex.el (LaTeX-arg-addbibresource): Run style file
    associated to the bibliography database file.

diff --git a/ChangeLog b/ChangeLog
index 376305c..3eba1f0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,12 @@
 2013-11-05  Mosè Giordano  <address@hidden>
 
+       * latex.el (TeX-arg-bibliography): Run style files associated to
+       the bibliography database files.
+
        * style/biblatex.el ("biblatex"): Do not quote at all
        `TeX-arg-key-val' arguments.
+       (LaTeX-arg-addbibresource): Run style file associated to the
+       bibliography database file.
 
 2013-11-03  Mosè Giordano  <address@hidden>
 
diff --git a/latex.el b/latex.el
index 95b6ab6..095a83c 100644
--- a/latex.el
+++ b/latex.el
@@ -2061,6 +2061,9 @@ string."
                                        'bibinputs 'local t t))
                         BibTeX-global-files))))
     (apply 'LaTeX-add-bibliographies styles)
+    ;; Run style files associated to the bibliography database files in order 
to
+    ;; immediately fill `LaTeX-bibitem-list'.
+    (mapc 'TeX-run-style-hooks styles)
     (TeX-argument-insert (mapconcat 'identity styles ",") optional)))
 
 (defun TeX-arg-corner (optional &optional prompt)
diff --git a/style/biblatex.el b/style/biblatex.el
index f10c571..ce22495 100644
--- a/style/biblatex.el
+++ b/style/biblatex.el
@@ -169,6 +169,10 @@ string."
                                           inputs 'local t nil))
                            (symbol-value files))))
     (LaTeX-add-bibliographies database)
+    ;; Run style file associated to the bibliography database file in order to
+    ;; immediately fill `LaTeX-bibitem-list'.  We need to strip the extension
+    ;; because AUCTeX style files don't use it.
+    (TeX-run-style-hooks (file-name-sans-extension database))
     (TeX-argument-insert database optional)))
 
 ;; Support for multicite commands, see § 3.7.3 of Biblatex reference manual.

commit cc154b02648099744238d9e984b65fb68faed199
Author: Mosè Giordano <address@hidden>
Date:   Tue Nov 5 16:16:06 2013 +0100

    Really fix bug in biblatex style file.
    
    * style/biblatex.el ("biblatex"): Do not quote at all
    `TeX-arg-key-val' arguments.

diff --git a/ChangeLog b/ChangeLog
index 86078c5..376305c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-11-05  Mosè Giordano  <address@hidden>
+
+       * style/biblatex.el ("biblatex"): Do not quote at all
+       `TeX-arg-key-val' arguments.
+
 2013-11-03  Mosè Giordano  <address@hidden>
 
        * style/biblatex.el ("biblatex"): Quote `TeX-arg-key-val'
diff --git a/style/biblatex.el b/style/biblatex.el
index fe8df3d..f10c571 100644
--- a/style/biblatex.el
+++ b/style/biblatex.el
@@ -249,26 +249,26 @@ for citation keys."
       LaTeX-arg-addbibresource)
     ;; The Bibliography
     '("printbibliography"
-      [TeX-arg-key-val (quote (("env") ("heading") ("title") ("prenote") 
("postnote")
-                              ("section") ("segment") ("sorting") ("type") 
("nottype")
-                              ("subtype") ("notsubtype") ("keyword") 
("notkeyword")
-                              ("categoy") ("notcategory") ("filter") ("check")
-                              ("prefixnumbers") ("resetnumbers" ("true" 
"false"))
-                              ("omitnumbers" ("true" "false"))))])
+      [TeX-arg-key-val (("env") ("heading") ("title") ("prenote") ("postnote")
+                       ("section") ("segment") ("sorting") ("type") ("nottype")
+                       ("subtype") ("notsubtype") ("keyword") ("notkeyword")
+                       ("categoy") ("notcategory") ("filter") ("check")
+                       ("prefixnumbers") ("resetnumbers" ("true" "false"))
+                       ("omitnumbers" ("true" "false")))])
     '("bibbysection"
-      [TeX-arg-key-val (quote (("env") ("heading") ("prenote") ("postnote")))])
+      [TeX-arg-key-val (("env") ("heading") ("prenote") ("postnote"))])
     '("bibbysegment"
-      [TeX-arg-key-val (quote (("env") ("heading") ("prenote") ("postnote")))])
+      [TeX-arg-key-val (("env") ("heading") ("prenote") ("postnote"))])
     '("bibbycategory"
-      [TeX-arg-key-val (quote (("env") ("prenote") ("postnote") ("section")))])
+      [TeX-arg-key-val (("env") ("prenote") ("postnote") ("section"))])
     '("printbibheading"
-      [TeX-arg-key-val (quote (("heading") ("title")))])
+      [TeX-arg-key-val (("heading") ("title"))])
     ;; The List of Shorthands
     '("printshorthands"
-      [TeX-arg-key-val (quote (("env") ("heading") ("title") ("prenote") 
("postnote")
-                              ("section") ("segment") ("sorting") ("type") 
("nottype")
-                              ("subtype") ("notsubtype") ("keyword") 
("notkeyword")
-                              ("categoy") ("notcategory") ("filter") 
("check")))])
+      [TeX-arg-key-val (("env") ("heading") ("title") ("prenote") ("postnote")
+                       ("section") ("segment") ("sorting") ("type") ("nottype")
+                       ("subtype") ("notsubtype") ("keyword") ("notkeyword")
+                       ("categoy") ("notcategory") ("filter") ("check"))])
     ;; Bibliography Sections
     '("newrefsection" ["Resources"])
     "endrefsection"

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

Summary of changes:
 ChangeLog         |   13 +++++++++++++
 doc/auctex.texi   |   11 +++++++++++
 latex.el          |    3 +++
 style/biblatex.el |   32 ++++++++++++++++++--------------
 4 files changed, 45 insertions(+), 14 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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