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. 3750d1a6e1316ff487cbf


From: Ikumi Keita
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 3750d1a6e1316ff487cbf4fdb6067d4f3ba9f10e
Date: Thu, 1 Apr 2021 06:33:20 -0400 (EDT)

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  3750d1a6e1316ff487cbf4fdb6067d4f3ba9f10e (commit)
       via  b2383d560d31e81d24f2438004f3e29d8b589200 (commit)
      from  dda49328337a847629e615d483d7b712bea85016 (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 3750d1a6e1316ff487cbf4fdb6067d4f3ba9f10e
Author: Ikumi Keita <ikumi@ikumi.que.jp>
Date:   Wed Mar 31 20:15:15 2021 +0900

    Resolve unnecassary back quote
    
    * font-latex.el (font-latex-user-keyword-classes,
    (font-latex-slide-title-face):
    * tex-fold.el (TeX-fold-macro-spec-list):
    Turn unnecassary back quote into forward quote.
    Fix typo in doc string.

diff --git a/font-latex.el b/font-latex.el
index 6755f8d..ae19c38 100644
--- a/font-latex.el
+++ b/font-latex.el
@@ -772,13 +772,13 @@ specified.
 Setting this variable directly does not take effect;
 restart Emacs."
   :group 'font-latex-keywords
-  :type `(repeat (list (string :tag "Name")
+  :type '(repeat (list (string :tag "Name")
                        (choice (repeat :tag "Keywords" (string :tag "Keyword"))
                                (repeat
                                 :tag "Keywords with specs"
                                 (group (string :tag "Keyword")
                                        (string :tag "Format specifier"))))
-                       ,'(choice (face :tag "Face name")
+                       (choice (face :tag "Face name")
                                  (custom-face-edit :tag "Face attributes"))
                        (choice :tag "Type"
                                ;; Maps to
@@ -1225,9 +1225,8 @@ have changed."
   :group 'font-latex-highlighting-faces)
 
 (defface font-latex-slide-title-face
-  (let* ((scale 1.2))
-    `((t (:inherit (variable-pitch font-lock-type-face)
-                   :weight bold :height ,scale))))
+  '((t (:inherit (variable-pitch font-lock-type-face)
+                   :weight bold :height 1.2)))
   "Face for slide titles."
   :group 'font-latex-highlighting-faces)
 
diff --git a/tex-fold.el b/tex-fold.el
index 2cf320e..b5b19f7 100644
--- a/tex-fold.el
+++ b/tex-fold.el
@@ -70,7 +70,7 @@ macros, 'math for math macros and 'comment for comments."
               (const :tag "Comments" comment)))
 
 (defcustom TeX-fold-macro-spec-list
-  `(("[f]" ("footnote" "marginpar"))
+  '(("[f]" ("footnote" "marginpar"))
     ("[c]" ("cite"))
     ("[l]" ("label"))
     ("[r]" ("ref" "pageref" "eqref"))
@@ -89,7 +89,7 @@ macros, 'math for math macros and 'comment for comments."
   "List of replacement specifiers and macros to fold.
 
 The first element of each item can be a string, an integer or a
-function symbol.  The second element is a list of macros two fold
+function symbol.  The second element is a list of macros to fold
 without the leading backslash.
 
 If the first element is a string, it will be used as a display

commit b2383d560d31e81d24f2438004f3e29d8b589200
Author: Ikumi Keita <ikumi@ikumi.que.jp>
Date:   Thu Apr 1 09:49:06 2021 +0900

    Remove xemacs compat elements
    
    * tex-bar.el (TeX-bar-TeX-buttons, TeX-bar-LaTeX-buttons):
    Don't use vector as element.
    * toolbar-x.el (toolbarx-install-toolbar): Fix doc string.
    Partially revert the comments removed recently which are still
    valid.

diff --git a/tex-bar.el b/tex-bar.el
index abec658..06f767a 100644
--- a/tex-bar.el
+++ b/tex-bar.el
@@ -83,7 +83,7 @@ If there is no help, the empty string is returned."
 
 (defcustom TeX-bar-TeX-buttons
   '(new-file open-file dired kill-buffer save-buffer cut copy paste undo
-             [separator nil] tex next-error view bibtex spell)
+             separator tex next-error view bibtex spell)
   "List of buttons available in `tex-mode'.
 It should be a list in the same format of the BUTTONS parameter
 in function `toolbarx-install-toolbar', often a symbol that
@@ -107,7 +107,7 @@ alists, see variable `TeX-bar-TeX-all-button-alists'."
                     (const paste)
                     (const search-forward)
                     (const print-buffer)
-                    (const [separator nil])
+                    (const separator)
                     (const tex)
                     (const next-error)
                     (const view)
@@ -224,7 +224,7 @@ format of the argument MEANING-ALIST in the mentioned 
function."
 
 (defcustom TeX-bar-LaTeX-buttons
   '(new-file open-file dired kill-buffer save-buffer cut copy paste undo
-             [separator nil] latex next-error view bibtex spell)
+             separator latex next-error view bibtex spell)
   "List of buttons available in `latex-mode'.
 It should be a list in the same format of the BUTTONS parameter
 in function `toolbarx-install-toolbar', often a symbol that
@@ -248,7 +248,7 @@ alists, see variable `TeX-bar-LaTeX-all-button-alists'."
                     (const paste)
                     (const search-forward)
                     (const print-buffer)
-                    (const [separator nil])
+                    (const separator)
                     (const latex)
                     (const next-error)
                     (const view)
diff --git a/toolbar-x.el b/toolbar-x.el
index a1e15a3..903701c 100644
--- a/toolbar-x.el
+++ b/toolbar-x.el
@@ -36,9 +36,9 @@
 ;; `toolbarx-install-toolbar').
 
 ;; * Supported properties:
-;; - All editors: `:image', `:command', `:help', `:enable',
-;;                `:append-command' and `:prepend-command';
-;; - Emacs only: `:visible' and `:button';
+;; - `:insert', `:image', `:command', `:help', `:enable',
+;;   `:append-command', `:prepend-command',
+;;   `:visible' and `:button';
 ;; For the precise value-type for each property, see documentation of
 ;; the function `toolbarx-install-toolbar'.
 ;; (ps: properties that are particular to an editor are just ignored
@@ -51,6 +51,10 @@
 ;; (ps: this is valid only for properties that *not* have \`form\' as
 ;; value type.)
 
+;; * On `refresh time' (a call `toolbarx-refresh', necessary when the
+;; toolbar should change), the `:insert' property (if present) is
+;; evaluated to decide if button will be displayed.
+
 ;; Properties can be distributed to several buttons, using \`groups\'.
 ;; Example: (foo (bar baz :enable (mytest)) :help "please")
 ;; means that `foo', `bar' and `baz' have `:help "please"' and `bar' and
@@ -255,10 +259,6 @@ command, COMM is returned."
                   (list comm)))
               (when app (list app))))))
 
-;; in Emacs, menus are made of keymaps (vectors are possible, but editors
-;; handle `menu titles' differently) meanwhile in XEmacs, menus are lists of
-;; vectors
-
 (defun toolbarx-emacs-mount-popup-menu
     (strings var type &optional title save)
   "Return an interactive `lambda'-expression that shows a popup menu.
@@ -1274,13 +1274,13 @@ properties are obtained!) are:
  :enable -- a form, evaluated constantly by both editors to
    determine if a button is active (enabled) or not.
 
- :visible -- in Emacs, a form that is evaluated constantly to
+ :visible -- a form that is evaluated constantly to
    determine if a button is visible.
 
- :button -- in Emacs, a cons cell (TYPE .  SELECTED) where the
+ :button -- a cons cell (TYPE .  SELECTED) where the
    TYPE should be `:toggle' or `:radio' and the cdr should be a
    form.  SELECTED is evaluated to determine when the button is
-   selected..
+   selected.
 
  :insert -- a form that is evaluated every time that the toolbar
    is refresh (a call of `toolbarx-refresh') to determine if the
@@ -1409,7 +1409,7 @@ supported properties and their basic type are:
    to determine if the dropdown button is active (enabled) or
    not.
 
- :dropdown-visible -- a form; in Emacs, it is evaluated
+ :dropdown-visible -- a form; it is evaluated
    constantly to determine if the dropdown button is visible.
 
 Also, if the symbol `dropdown' is associted in MEANING-ALIST
@@ -1465,7 +1465,6 @@ line of buttons.  The only property supported for this 
button is
                               (not (eq 'special
                                        (get major-mode 'mode-class)))))
 
-    ;; Emacs only
     (write-file :image "saveas"
                 :command write-file
                 :enable (not
@@ -1499,7 +1498,6 @@ line of buttons.  The only property supported for this 
button is
            :command clipboard-yank
            :visible (not (eq 'special (get major-mode 'mode-class))))
 
-    ;; Emacs only
     (search-forward :command nonincremental-search-forward
                     :help "Search forward for a string"
                     :image "search")
@@ -1513,23 +1511,19 @@ line of buttons.  The only property supported for this 
button is
                   :command print-buffer
                   :help "Print current buffer with page headings")
 
-    ;; Emacs only
     (customize :image "preferences"
                :command customize
                :help "Edit preferences (customize)")
 
-    ;; Emacs only
     (help :image "help"
           :command (lambda () (interactive) (popup-menu menu-bar-help-menu))
           :help "Pop up the Help menu")
 
-    ;; Emacs only
     (kill-buffer :command kill-this-buffer
                  :enable (kill-this-buffer-enabled-p)
                  :help "Discard current buffer"
                  :image "close")
 
-    ;; Emacs only
     (exit-emacs :image "exit"
                 :command save-buffers-kill-emacs
                 :help "Offer to save unsaved buffers, then exit Emacs")
@@ -1547,7 +1541,7 @@ The following buttons are available:
   `open-file', `dired', `save-buffer',
   `undo', `cut', `copy', `paste', `search-replace', `print-buffer',
   `spell-buffer', `info'.
-  `new-file' (Emacs 22+) `write-file', `search-forward',
+  `new-file', `write-file', `search-forward',
   `customize', `help', `kill-buffer', `exit-emacs'.
 
 To reproduce the default toolbar with use as BUTTON

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

Summary of changes:
 font-latex.el |  9 ++++-----
 tex-bar.el    |  8 ++++----
 tex-fold.el   |  4 ++--
 toolbar-x.el  | 30 ++++++++++++------------------
 4 files changed, 22 insertions(+), 29 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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