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. 70a31c5e17cf7f761e9f9


From: Ikumi Keita
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 70a31c5e17cf7f761e9f920c602fdbe19f9fcd2a
Date: Sun, 2 Dec 2018 07:15:29 -0500 (EST)

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  70a31c5e17cf7f761e9f920c602fdbe19f9fcd2a (commit)
       via  0a05b39d4bc5a91ce5335c5b2b4d7e7a2fd7ba9f (commit)
       via  ff75757434eddd68f75530a174ec4e0a90ffd379 (commit)
       via  866eae16f9a01ab928f7ebb5e6b78a7263f751cb (commit)
       via  fd53670de669d55bdb1e3d574427b8ba2a77f605 (commit)
      from  12f7a21de2cbdb650efecd839f3a5727e4228bb4 (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 70a31c5e17cf7f761e9f920c602fdbe19f9fcd2a
Author: Ikumi Keita <address@hidden>
Date:   Tue Nov 27 03:16:35 2018 +0900

    Remove compatibility codes for older emacsen
    
    * tex-info.el (when, TeX-texinfo-mode):
    * tex.el (TeX-documentation-texdoc):
    * plain-tex.el (TeX-plain-tex-mode):
    * preview.el.in (preview-counter-find):
    Remove compatibility codes for older emacsen.

diff --git a/plain-tex.el b/plain-tex.el
index 4c26abf..b881516 100644
--- a/plain-tex.el
+++ b/plain-tex.el
@@ -137,9 +137,7 @@ of `plain-TeX-mode-hook'."
   (setq TeX-command-default "TeX")
   (setq TeX-sentinel-default-function 'TeX-TeX-sentinel)
   (add-hook 'tool-bar-mode-on-hook 'plain-TeX-maybe-install-toolbar nil t)
-  (when (if (featurep 'xemacs)
-           (featurep 'toolbar)
-         (and (boundp 'tool-bar-mode) tool-bar-mode))
+  (when (and (boundp 'tool-bar-mode) tool-bar-mode)
     (plain-TeX-maybe-install-toolbar))
   (TeX-run-mode-hooks 'text-mode-hook 'TeX-mode-hook 'plain-TeX-mode-hook)
   (TeX-set-mode-name))
diff --git a/preview.el.in b/preview.el.in
index cfb3300..e6eceeb 100644
--- a/preview.el.in
+++ b/preview.el.in
@@ -2037,9 +2037,6 @@ to the close hook."
   "Fetch the next preceding or next preview-counters property.
 Factored out because of compatibility macros XEmacs would
 not use in advice."
-  ;; The following two lines are bug workaround for Emacs < 22.1.
-  (if (markerp begin)
-      (setq begin (marker-position begin)))
   (or (car (get-char-property begin 'preview-counters))
       (cdr (get-char-property (max (point-min)
                                   (1- begin))
diff --git a/tex-info.el b/tex-info.el
index f986b3f..52d01be 100644
--- a/tex-info.el
+++ b/tex-info.el
@@ -31,11 +31,6 @@
 (require 'tex)
 
 (require 'texinfo)
-;; Make sure the Texinfo mode of AUCTeX is still used after loading
-;; texinfo.el.  (This is only an issue on Emacs 21.)
-(when (and (boundp 'TeX-modes)
-          (memq 'texinfo-mode TeX-modes))
-  (defalias 'texinfo-mode 'TeX-texinfo-mode))
 
 ;;; Environments:
 (defvar Texinfo-environment-list
@@ -657,15 +652,7 @@ value of `Texinfo-mode-hook'."
        texinfo-imenu-generic-expression)
 
   (set (make-local-variable 'font-lock-defaults)
-       ;; COMPATIBILITY for Emacs 20
-       (if (boundp 'texinfo-font-lock-syntactic-keywords)
-           '(texinfo-font-lock-keywords
-             nil nil nil backward-paragraph
-             (font-lock-syntactic-keywords
-              . texinfo-font-lock-syntactic-keywords))
-         ;; This is for Emacs >= 23.3, when
-         ;; `texinfo-font-lock-syntactic-keywords' was removed.
-         '(texinfo-font-lock-keywords nil nil nil backward-paragraph)))
+       '(texinfo-font-lock-keywords nil nil nil backward-paragraph))
 
   ;; Outline settings.
   (set (make-local-variable 'outline-regexp)
diff --git a/tex.el b/tex.el
index ec86213..f5493a6 100644
--- a/tex.el
+++ b/tex.el
@@ -6343,12 +6343,9 @@ the number of the file to view, anything else to skip: 
") list)))
                    ;; Exit gently if a `quit' signal is thrown.
                    (quit nil)))
                 (t (message "No documentation found for %s" pkg)))
-             ;; In any case quit-and-kill the window.  XXX: XEmacs doesn't have
-             ;; `quit-window', just kill the buffer in that case.
+             ;; In any case quit-and-kill the window.
              (when (get-buffer-window buffer)
-               (if (fboundp 'quit-window)
-                   (quit-window t (get-buffer-window buffer))
-                 (kill-buffer buffer)))))
+               (quit-window t (get-buffer-window buffer)))))
        ;; Called without prefix argument: just run "texdoc --view <pkg>" and
        ;; show the output, so that the user is warned in case it doesn't find
        ;; the documentation or "texdoc" is not available.

commit 0a05b39d4bc5a91ce5335c5b2b4d7e7a2fd7ba9f
Author: Ikumi Keita <address@hidden>
Date:   Tue Nov 27 03:11:19 2018 +0900

    Use `declare-function' without `fboundp' test
    
    * latex.el:
    * tex-info.el:
    Use `declare-function' without `fboundp' test.

diff --git a/latex.el b/latex.el
index ec36e0b..2b4749b 100644
--- a/latex.el
+++ b/latex.el
@@ -5900,8 +5900,7 @@ This happens when \\left is inserted."
 ;;;###autoload
 (add-to-list 'auto-mode-alist '("\\.hva\\'" . latex-mode))
 
-(when (fboundp 'declare-function)
-  (declare-function LaTeX-preview-setup "preview"))
+(declare-function LaTeX-preview-setup "preview")
 
 ;;;###autoload
 (defun TeX-latex-mode ()
diff --git a/tex-info.el b/tex-info.el
index f990f0f..f986b3f 100644
--- a/tex-info.el
+++ b/tex-info.el
@@ -1,7 +1,7 @@
 ;;; tex-info.el --- Support for editing Texinfo source.
 
 ;; Copyright (C) 1993, 1994, 1997, 2000, 2001, 2004, 2005, 2006,
-;;               2011-2015, 2017  Free Software Foundation, Inc.
+;;               2011-2015, 2017, 2018  Free Software Foundation, Inc.
 
 ;; Maintainer: address@hidden
 ;; Keywords: tex
@@ -443,12 +443,10 @@ is assumed by default."
 (defvar reftex-label-menu-flags)
 (defvar reftex-tables-dirty)
 
-(eval-when-compile
-  (when (fboundp 'declare-function)
-    (declare-function reftex-match-string "reftex" (n))
-    (declare-function reftex-section-number "reftex-parse" (&optional level 
star))
-    (declare-function reftex-nicify-text "reftex" (text))
-    (declare-function reftex-ensure-compiled-variables "reftex" ())))
+(declare-function reftex-match-string "reftex" (n))
+(declare-function reftex-section-number "reftex-parse" (&optional level star))
+(declare-function reftex-nicify-text "reftex" (text))
+(declare-function reftex-ensure-compiled-variables "reftex" ())
 
 (defun Texinfo-reftex-section-info (file)
   ;; Return a section entry for the current match.

commit ff75757434eddd68f75530a174ec4e0a90ffd379
Author: Ikumi Keita <address@hidden>
Date:   Tue Nov 27 03:06:30 2018 +0900

    Remove references to older emacsens in comments and doc strings
    
    * bib-cite.el:
    * font-latex.el:
    * tex-fold.el:
    * tex-style.el:
    * style/graphicx.el
    Remove references on older emacsens in comments and doc strings

diff --git a/bib-cite.el b/bib-cite.el
index 2a7e74c..d871cb0 100644
--- a/bib-cite.el
+++ b/bib-cite.el
@@ -7,7 +7,7 @@
 ;; Author:    Peter S. Galbraith <address@hidden>
 ;; Created:   06 July 1994
 ;; Version:   3.28  (Feb 23 2005)
-;; Keywords:  bibtex, cite, auctex, emacs, xemacs
+;; Keywords:  bibtex, cite, auctex, emacs
 
 ;;; This file is not part of GNU Emacs.
 
diff --git a/font-latex.el b/font-latex.el
index b3ab6f7..61157b9 100644
--- a/font-latex.el
+++ b/font-latex.el
@@ -201,7 +201,6 @@ this variable directly does not take effect unless you call
 Switching from `color' to a number or vice versa does not take
 effect unless you call \\[font-lock-fontify-buffer] or restart
 Emacs."
-  ;; Possibly add some words about XEmacs here. :-(
   :type '(choice (number :tag "Scale factor")
                 (const color))
   :initialize 'custom-initialize-default
@@ -675,7 +674,7 @@ also specify two alternative arguments by prefixing them 
with
 \"*|{\\=\\[[{\".
 
 The face argument can either be an existing face or a face
-attribute.  (The latter option is not available in XEmacs.)
+attribute.
 
 There are three alternatives for the class type:
 
@@ -835,7 +834,6 @@ locking machinery will be triggered."
 
 (defcustom font-latex-fontify-script t
   "If non-nil, fontify subscript and superscript strings.
-This feature does not work in XEmacs.
 
 By default, super/subscripts are raised/lowered if this variable
 is non-nil.  This fontification only affects one level of
@@ -1511,8 +1509,7 @@ In docTeX mode \"%\" at the start of a line will be 
treated as whitespace."
 The text property is used to find the start or end of a multiline
 construct when unfontifying a region.  Emacs adds such a text
 property automatically if `font-lock-multiline' is set to t and
-extends the region to be unfontified automatically as well.
-XEmacs does not do this at the time of this writing."
+extends the region to be unfontified automatically as well."
   (unless (boundp 'font-lock-multiline)
     (put-text-property beg end 'font-latex-multiline t)))
 
@@ -2067,8 +2064,7 @@ END marks boundaries for searching for quotation ends."
     ;; `font-lock-apply-highlight' in CVS Emacsen since 2001-10-28.
     ;; With the introduction of this feature the variable
     ;; `font-lock-extra-managed-props' was introduced and serves here
-    ;; for feature checking.  XEmacs (CVS and 21.4.15) currently
-    ;; (2004-08-18) does not support this feature.
+    ;; for feature checking.
     (let ((extra-props-flag (boundp 'font-lock-extra-managed-props)))
       (if (eq (char-after pos) ?_)
          (if extra-props-flag
diff --git a/style/graphicx.el b/style/graphicx.el
index 76c9f18..2a6b77a 100644
--- a/style/graphicx.el
+++ b/style/graphicx.el
@@ -198,14 +198,11 @@ Offers all graphic files found in the TeX search path.  
See
   "Read image file for \\includegraphics.
 
 Lists all graphic files in the master directory and its
-subdirectories and inserts the relative file name.  This option
-doesn't works with Emacs 21.3 or XEmacs.  See
+subdirectories and inserts the relative file name.  See
 `LaTeX-includegraphics-read-file' for more."
   (file-relative-name
    (read-file-name
     "Image file: " nil nil nil nil
-    ;; FIXME: Emacs 21.3 and XEmacs 21.4.15 don't have PREDICATE as the sixth
-    ;; argument (Emacs 21.3: five args; XEmacs 21.4.15: sixth is HISTORY).
     (lambda (fname)
       (or (file-directory-p fname)
          (string-match (LaTeX-includegraphics-extensions) fname))))
diff --git a/tex-fold.el b/tex-fold.el
index 82b6ca8..8a54570 100644
--- a/tex-fold.el
+++ b/tex-fold.el
@@ -1,6 +1,6 @@
 ;;; tex-fold.el --- Fold TeX macros.
 
-;; Copyright (C) 2004-2008, 2011-2012, 2014, 2017
+;; Copyright (C) 2004-2008, 2011-2012, 2014, 2017, 2018
 ;;   Free Software Foundation, Inc.
 
 ;; Author: Ralf Angeli <address@hidden>
@@ -595,11 +595,8 @@ opening and closing syntax as defined in
 `TeX-search-syntax-table'.
 
 The first item in the returned list is the string specified in
-the argument, the second item may be a face if the argument
-string was fontified.  In Emacs the string holds text properties
-as well, so the second item is always nil.  In XEmacs the string
-does not enclose any faces, so these are given in the second item
-of the resulting list."
+the argument, with text properties.  The second item is for
+backward compatibility and always nil."
   (save-excursion
     (let* ((macro-end (or macro-end
                          (save-excursion (goto-char macro-start)
diff --git a/tex-style.el b/tex-style.el
index b523d8c..5971c9e 100644
--- a/tex-style.el
+++ b/tex-style.el
@@ -347,8 +347,7 @@ found in the TeX search path.
 
 `LaTeX-includegraphics-read-file-relative' lists all graphic files
 in the master directory and its subdirectories and inserts the
-relative file name.  This option does not work with Emacs 21 or
-XEmacs.
+relative file name.
 
 The custom option `simple' works as
 `LaTeX-includegraphics-read-file-relative' but it lists all kind of

commit 866eae16f9a01ab928f7ebb5e6b78a7263f751cb
Author: Ikumi Keita <address@hidden>
Date:   Tue Nov 27 02:54:37 2018 +0900

    Remove references to XEmacs from the manual
    
    * RELEASE (): Delete the words "or XEmacs" and fill the paragraph.
    * doc/install.texi (Configure): Delete redundant line and words.

diff --git a/RELEASE b/RELEASE
index c64bf1f..763957e 100644
--- a/RELEASE
+++ b/RELEASE
@@ -3,15 +3,15 @@ Release notes for AUCTeX 12.1 with preview-latex
 
 AUCTeX provides by far the most wide-spread and sophisticated
 environment for editing LaTeX, TeX, ConTeXt and Texinfo documents with
-Emacs or XEmacs.  Combined with packages like RefTeX, flyspell and
-others it is pretty much without peer as a comprehensive authoring
-solution for a large variety of operating system platforms and TeX
-distributions.  It supports document-dependent completion and syntax
-highlighting, easily accessible menus, jumping to error locations in
-the source file, a number of editing shortcuts, intelligent
-indentation and filling of text during entry, and WYSIWYG previews of
-graphical elements like math formulas right in the Emacs source
-buffer, by virtue of its preview-latex component.
+Emacs.  Combined with packages like RefTeX, flyspell and others it is
+pretty much without peer as a comprehensive authoring solution for a
+large variety of operating system platforms and TeX distributions.  It
+supports document-dependent completion and syntax highlighting, easily
+accessible menus, jumping to error locations in the source file, a
+number of editing shortcuts, intelligent indentation and filling of
+text during entry, and WYSIWYG previews of graphical elements like
+math formulas right in the Emacs source buffer, by virtue of its
+preview-latex component.
 
 One part of the preview-latex subsystem is the central `preview.sty'
 file that is independently useful for a number of applications and is
diff --git a/doc/install.texi b/doc/install.texi
index e39fd52..1940d9d 100644
--- a/doc/install.texi
+++ b/doc/install.texi
@@ -191,10 +191,8 @@ If you are using a pretest which isn't in your 
@code{$PATH}, or
 @command{configure} is not finding the right Emacs executable, you can
 specify it with this option.
 
-The Emacs installation scheme has the following options:
-
 @item address@hidden/dir}
-This Emacs-only option specifies the location of the @file{site-lisp}
+This option specifies the location of the @file{site-lisp}
 directory within @samp{load-path} under which the files will get
 installed (the bulk will get installed in a subdirectory).
 @file{./configure} should figure this out by itself.

commit fd53670de669d55bdb1e3d574427b8ba2a77f605
Author: Ikumi Keita <address@hidden>
Date:   Tue Nov 27 02:48:32 2018 +0900

    Clean up remnants of previous removal of compatibility codes
    
    * tex.el (TeX-mode-specific-command-menu): Delete irrelevant comment.
    * latex.el (LaTeX-indent-line): Clear out unused lines.

diff --git a/latex.el b/latex.el
index a7be8de..ec36e0b 100644
--- a/latex.el
+++ b/latex.el
@@ -3265,8 +3265,7 @@ Lines starting with an item is given an extra indentation 
of
                 (beginning-of-line)
                 (looking-at
                  (concat "\\([ \t]*" TeX-comment-start-regexp "+\\)+"))
-                (concat (match-string 0) (TeX-comment-padding-string)))))
-        ol-specs)
+                (concat (match-string 0) (TeX-comment-padding-string))))))
     (save-excursion
       (cond ((and fill-prefix
                  (TeX-in-line-comment)
@@ -3294,9 +3293,6 @@ Lines starting with an item is given an extra indentation 
of
             (let ((outer-indent (LaTeX-indent-calculate 'outer)))
               (when (/= (LaTeX-current-indentation 'outer) outer-indent)
                   (LaTeX-indent-outer-do outer-indent))))))
-    ;; Make the overlays invisible again.
-    (dolist (ol-spec ol-specs)
-      (set-extent-property (car ol-spec) 'invisible (cadr ol-spec)))
     (when (< (current-column) (save-excursion
                                (LaTeX-back-to-indentation) (current-column)))
       (LaTeX-back-to-indentation))))
diff --git a/tex.el b/tex.el
index 4bf2f79..ec86213 100644
--- a/tex.el
+++ b/tex.el
@@ -5020,7 +5020,6 @@ Brace insertion is only done if point is in a math 
construct and
 
 (defun TeX-mode-specific-command-menu (mode)
   "Return a Command menu specific to the major MODE."
-  ;; COMPATIBILITY for Emacs < 21
   (list TeX-command-menu-name
         :filter `(lambda (&rest ignored)
                    (TeX-mode-specific-command-menu-entries ',mode))

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

Summary of changes:
 RELEASE           | 18 +++++++++---------
 bib-cite.el       |  2 +-
 doc/install.texi  |  4 +---
 font-latex.el     | 10 +++-------
 latex.el          |  9 ++-------
 plain-tex.el      |  4 +---
 preview.el.in     |  3 ---
 style/graphicx.el |  5 +----
 tex-fold.el       |  9 +++------
 tex-info.el       | 27 ++++++---------------------
 tex-style.el      |  3 +--
 tex.el            |  8 ++------
 12 files changed, 30 insertions(+), 72 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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