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


From: Mosè Giordano
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. e19f8bd008cf1ef8c48e64963b0300c72c403ff7
Date: Mon, 9 May 2016 20:34:22 +0000 (UTC)

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  e19f8bd008cf1ef8c48e64963b0300c72c403ff7 (commit)
       via  9613bddb44b4eb8558c988fae02d2927bd614a90 (commit)
       via  e092f72c436b6d97e99e53eda391d353da0bb1b0 (commit)
      from  e90e050804ceb97518239c262f37541e61ecf163 (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 e19f8bd008cf1ef8c48e64963b0300c72c403ff7
Author: Mosè Giordano <address@hidden>
Date:   Mon May 9 22:33:07 2016 +0200

    Do not check TeX engine with ifluatex package
    
    * style/ifluatex.el ("ifluatex"): Set `TeX-check-engine-list' to nil so
      that the engine is not checked when this package is loaded.

diff --git a/style/ifluatex.el b/style/ifluatex.el
index 48e1bd6..cddd9fd 100644
--- a/style/ifluatex.el
+++ b/style/ifluatex.el
@@ -1,6 +1,6 @@
 ;;; ifluatex.el --- AUCTeX style for `ifluatex.sty' version 1.3.
 
-;; Copyright (C) 2014 Free Software Foundation, Inc.
+;; Copyright (C) 2014, 2016 Free Software Foundation, Inc.
 
 ;; Author: Davide G. M. Salvetti <address@hidden>
 ;; Maintainer: address@hidden
@@ -43,11 +43,15 @@
        (TeX-arg-literal "\n\\else%\n\\fi%"))
      '("luatexversion" 0)
      '("luatexrevision" 0))
-
     (TeX-declare-expert-macros
      "ifluatex"
      "ifluatex" "luatexversion" "luatexrevision")
 
+    ;; This package is used to make it possible to compile a document with both
+    ;; LuaTeX and base TeX engines.  By setting `TeX-check-engine-list' to nil
+    ;; we ignore engine restrictions posed by other packages.
+    (setq TeX-check-engine-list nil)
+
     (when (and (featurep 'font-latex)
               (eq TeX-install-font-lock 'font-latex-setup))
       (font-latex-add-keywords '(("luatexversion")

commit 9613bddb44b4eb8558c988fae02d2927bd614a90
Author: Mosè Giordano <address@hidden>
Date:   Mon May 9 22:28:02 2016 +0200

    Check TeX engine only once
    
    * tex-buf.el (TeX-check-engine): If user does not want to change engine,
      do not ask again.  Suggested by Joost Kremers.

diff --git a/tex-buf.el b/tex-buf.el
index 92d3dea..b55f2d4 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -432,7 +432,7 @@ to be run."
 Do you want to use this engine?" (cdr (assoc engine name-alist)))))
          ;; More than one engine is allowed.
          ((> length 1)
-          (if (y-or-n-p (format "%s are required to build this document.
+          (if (y-or-n-p (format "It appears %s are required to build this 
document.
 Do you want to select one of these engines?"
                                 (mapconcat
                                  (lambda (elt) (cdr (assoc elt name-alist)))
@@ -448,7 +448,12 @@ Do you want to select one of these engines?"
                            (mapcar
                             (lambda (elt) (cdr (assoc elt name-alist)))
                             TeX-check-engine-list))
-                          name-alist))))))
+                          name-alist)))
+            ;; Don't keep asking.  If user doesn't want to change engine,
+            ;; probably has a good reason.  In order to do so, without adding
+            ;; yet another variable we just hack `TeX-check-engine-list' and
+            ;; make it nil.
+            (setq TeX-check-engine-list nil))))
        (TeX-engine-set engine)
        (when (and (fboundp 'add-file-local-variable)
                  (y-or-n-p "Do you want to remember the choice?"))

commit e092f72c436b6d97e99e53eda391d353da0bb1b0
Author: Mosè Giordano <address@hidden>
Date:   Mon May 9 22:26:06 2016 +0200

    Use commit date to determine package date
    
    * autogen.sh (AUCTEXDATE): Use commit date, rather than author date, to
      determine package date.

diff --git a/autogen.sh b/autogen.sh
index 1bed156..ae22c80 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -32,7 +32,7 @@ ${AUTOCONF} || { echo "Error running ${AUTOCONF} in ." >&2 ; 
exit 1; }
 rm -rf autom4te.cache
 if test "x${AUCTEXDATE}" = x
 then
-    AUCTEXDATE=`git log -1 --date=short --format=%ad 2> /dev/null`
+    AUCTEXDATE=`git log -1 --date=short --format=%cd 2> /dev/null`
     if test "X${AUCTEXDATE}" = X
     then
        echo "Can't find date with git, trying with ChangeLog.1..." >&2

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

Summary of changes:
 autogen.sh        |    2 +-
 style/ifluatex.el |    8 ++++++--
 tex-buf.el        |    9 +++++++--
 3 files changed, 14 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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