[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-commit] GNU AUCTeX branch, master, updated. 7606a49da2b1c22c9eba
From: |
Ikumi Keita |
Subject: |
[AUCTeX-commit] GNU AUCTeX branch, master, updated. 7606a49da2b1c22c9ebaeb734e77b4504c91b451 |
Date: |
Wed, 24 Mar 2021 22:02:44 -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 7606a49da2b1c22c9ebaeb734e77b4504c91b451 (commit)
via 6ca79102471a715cab87765658f42b5a720bea4a (commit)
via 2852adff623c3ad60f72c2288c8b86036b436b9b (commit)
via d7bdc79cafa1bca2a0da5caa9aa7911393175366 (commit)
via 00ef5975113bbb31a2dd9837d276260cbd5878bd (commit)
via 7a684085261992852b3b03c30e12d42e43154df5 (commit)
via e6910bb7c5357a6fe6d3919602a46aea41f480f1 (commit)
via 8de4670e3446976b53e95c4ca957f0cefdd99e03 (commit)
via 1d188f59c3c413e4dec4bd34ce0dd320ba3a7fb8 (commit)
via 7d896288610577f1a9a5b76c3a6aa0211d5d2249 (commit)
via 7c2f403f5c39a314bc0b2d9e1e7c1507f55983d1 (commit)
from c037cac4163c29776d78f795812d706f67609193 (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 7606a49da2b1c22c9ebaeb734e77b4504c91b451
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Date: Mon Mar 22 22:56:59 2021 -0400
Use UTF-8 for all ELisp files
UTF-8 is the default encoding used for ELisp files nowadays, so
convert the few remaining exceptions.
* tests/japanese/preview-latex.el:
* tex-jp.el: Remove `coding:` cookie and re-encode into utf-8.
commit 6ca79102471a715cab87765658f42b5a720bea4a
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Date: Mon Mar 22 22:53:55 2021 -0400
Prefer lexical closures over hand-built lambda forms
now that we have lexical-binding, we can use closures, which have the
advantage over `(lambda ...) of allowing the byte-compiler to compile
the code, and also makes it possible to Edebug it.
* preview.el (preview-gs-close, preview-gs-flag-error)
(preview-scale-from-face, preview-gs-flag-error)
(preview-scale-from-face, preview-disabled-string)
(preview-buffer-restore, preview-place-preview)
(preview-reinstate-preview, preview-cache-preamble)
(preview-generate-preview, preview-report-bug):
* toolbar-x.el (toolbarx-emacs-mount-popup-menu):
* tex.el (TeX-mode-specific-command-menu): Replace `(lambda...) with
closures.
commit 2852adff623c3ad60f72c2288c8b86036b436b9b
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Date: Mon Mar 22 22:36:40 2021 -0400
Activate lexical-binding everywhere
Also, add an underscore at the beginning of unused arguments to
silence warnings.
* bib-cite.el (bib-highlight-mouse): Remove unused vars `extent`
and `local-extent-list`.
* latex.el (LaTeX-label): Remove unused var `label`.
(LaTeX-math-mode-map): Move before first use.
* preview.el.in (preview-start-dvipng, preview-start-dvips):
Remove unused var `file`.
* tex-fold.el (TeX-fold-macro-nth-arg): Remove unused var `close-string`.
(TeX-fold-hide-item): Remove unused var `face`.
* tex-font.el (tex-font-lock-keywords-2): Remove unused var `type`.
* tex-info.el (Texinfo-mark-section): Rework to avoid relying on
dynamic scoping to access local vars.
* toolbar-x.el (toolbarx-test-toolbar-type): Remove unused vars
`all-but-def-opts` and `all-opts`; remove always-t var `good-jobs`.
commit d7bdc79cafa1bca2a0da5caa9aa7911393175366
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Date: Tue Mar 23 11:28:12 2021 -0400
Expose the body of advice to the compiler
While at it, use `advice-add` when available.
We can drop `defadvice` completely when we bump the required version
to Emacs-24.4, or if/when we add `nadvice` as a required package.
* context.el (ConTeXt--invalidate-menu): New function.
(ConTeXt-add-environments): Advise with it.
* latex.el (LaTeX-add-bibliographies): Advise with `TeX-run-style-hooks`.
(LaTeX--invalidate-menus): New function.
(LaTeX-add-environments): Advise with it.
* preview.el.in (preview--open-for-replace): New function.
(replace-highlight): Advise with it.
* tex.el (tex--call-minor-mode): New function.
(hack-one-local-variable): Advise with it.
commit 00ef5975113bbb31a2dd9837d276260cbd5878bd
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Date: Mon Mar 22 22:20:25 2021 -0400
Miscellaneous minor changes
Move to the next line arguments that are easy to misread.
Fix some commenting style to obey `outline-minor-mode`.
* auctex.el.in: Don't require `cl-lib` since it's bundled with Emacs-24.3.
* README: Prefer HTTPS over HTTP/FTP for gnu.org sites.
* bib-cite.el (bib-find-next): Simplify.
* latex.el: Use a non-nil default value for `LaTeX-label-function`
so RefTeX can override it with `add-function`.
(LaTeX-label--default): New function, extracted from `LaTeX-label`.
(LaTeX-label): Use it.
(LaTeX-label-function): Use it as default value.
* toolbar-x.el (toolbarx-emacs-mount-popup-menu): Make the control&data
flow a bit simpler.
(toolbarx-test-image-type, toolbarx-process-dropdown-group):
Use `car-safe` and strength-reduce `eval` to `symbol-value`.
* style/dinbrief.el: Remove redundant comment.
* style/kpfonts.el (<toplevel>): Simplify.
* style/latexinfo.el (LaTeXinfo-mode-map): Move initialization into
the declaration.
* style/url.el (TeX-arg-urlstyle):
* style/prosper.el (LaTeX-prosper-slide-style-prompt):
Completion tables can be lists of strings.
* style/tikz.el (TeX-TikZ-single-macro-arg): Strength-reduce `eval` to
`apply`.
More misc changes
commit 7a684085261992852b3b03c30e12d42e43154df5
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Date: Mon Mar 22 21:58:01 2021 -0400
Remove some XEmacs and old-Emacs code
Remove uses of `easy-menu-add` and `easy-menu-remove` which have
always been no-op in Emacs and are declared obsolete in Emacs-28.
* bib-cite.el (bib-cite-setup-highlight-mouse-keymap): Remove Emacs-19 code.
* tex-buf.el (TeX-region-create): Remove use of variable
`font-lock-maximum-size` declared obsolete in Emacs-24.
* toolbar-x.el: Remove left over code from XEmacs compatibility.
Remove XEmacs-only `:toolbar` and `:dropdown-toolbar` as well
`:insert` which was only used to select Emacs-only or XEmacs-only entries.
(toolbarx-default-toolbar-meaning-alist): Replace all uses of
`[Emacs-only XEmacs-only]` vectors with the `Emacs-only` form.
commit e6910bb7c5357a6fe6d3919602a46aea41f480f1
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Date: Mon Mar 22 21:14:57 2021 -0400
Don't quote `lambda`
commit 8de4670e3446976b53e95c4ca957f0cefdd99e03
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Date: Mon Mar 22 21:12:21 2021 -0400
Remove some redundant `:group` arguments
commit 1d188f59c3c413e4dec4bd34ce0dd320ba3a7fb8
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Date: Mon Mar 22 19:22:48 2021 -0400
Use #' rather than ' to quote functions
This helps track down typos, references to functions which don't exist
any more, as well as references to obsolete functions.
commit 7d896288610577f1a9a5b76c3a6aa0211d5d2249
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Date: Mon Mar 22 18:55:12 2021 -0400
* font-latex.el (font-latex-make-built-in-keywords): Make it a macro
This lets us expose the code it generates to the compiler without
having to call `byte-compile` explicitly. It also reduces the reliance
on `eval`, saving the souls of many kitten along the way.
(font-latex-built-in-keyword-classes): Define it at compile-time as well.
(font-latex-keywords-1, font-latex-keywords-2):
Move their definition to `font-latex-make-built-in-keywords`.
(font-latex-keyword-matcher): Define it at compile-time as well.
(font-latex--make-match-defun): Rename from `font-latex-make-match-defun`.
Define it at compile-time as well. Return the function definition (as
the docstring suggests) rather than evaluating it.
(font-latex-make-user-keywords): Adjust call to it.
(<toplevel>): Don't manually call the byte-compiler.
commit 7c2f403f5c39a314bc0b2d9e1e7c1507f55983d1
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Date: Mon Mar 22 18:41:56 2021 -0400
* font-latex.el (font-latex-make-built-in-keywords): Reorder defs
Move definition of `font-latex-match-*-make` after the `defvar`s of
the vars it uses.
-----------------------------------------------------------------------
Summary of changes:
auctex.el.in | 4 +-
bib-cite.el | 86 ++---
context-en.el | 2 +-
context-nl.el | 2 +-
context.el | 47 +--
font-latex.el | 221 ++++++-------
latex.el | 246 +++++++--------
lpath.el | 4 +-
multi-prompt.el | 8 +-
plain-tex.el | 10 +-
preview.el.in | 214 +++++++------
style/CJK.el | 4 +-
style/array.el | 4 +-
style/babel.el | 4 +-
style/beamer.el | 14 +-
style/biblatex.el | 14 +-
style/dinbrief.el | 6 +-
style/dk-bib.el | 4 +-
style/doc.el | 4 +-
style/foils.el | 4 +-
style/fontenc.el | 7 +-
style/inputenc.el | 4 +-
style/jurabib.el | 4 +-
style/kpfonts.el | 15 +-
style/latexinfo.el | 22 +-
style/ntheorem.el | 12 +-
style/pdfsync.el | 4 +-
style/polyglossia.el | 8 +-
style/prosper.el | 6 +-
style/pst-node.el | 4 +-
style/pstricks.el | 11 +-
style/siunitx.el | 4 +-
style/theorem.el | 6 +-
style/tikz.el | 18 +-
style/ulem.el | 7 +-
style/url.el | 4 +-
tests/context/context-test.el | 4 +-
tests/japanese/error-parsing.el | 4 +-
tests/japanese/parse-timing.el | 4 +-
tests/japanese/preview-latex.el | 26 +-
tests/latex/font-latex-test.el | 4 +-
tests/latex/latex-test.el | 4 +-
tests/latex/preview-latex-test.el | 4 +-
tests/latex/texmathp-test.el | 4 +-
tests/tex/command-expansion.el | 4 +-
tests/tex/error-parsing.el | 4 +-
tests/tex/navigation.el | 4 +-
tests/tex/path-expansion.el | 4 +-
tex-bar.el | 16 +-
tex-buf.el | 49 ++-
tex-fold.el | 86 +++--
tex-font.el | 10 +-
tex-info.el | 93 +++---
tex-jp.el | 645 +++++++++++++++++++-------------------
tex-mik.el | 4 +-
tex-site.el.in | 9 +-
tex-style.el | 48 +--
tex-wizard.el | 14 +-
tex.el | 194 ++++++------
texmathp.el | 7 +-
toolbar-x.el | 381 +++++++++-------------
61 files changed, 1242 insertions(+), 1422 deletions(-)
hooks/post-receive
--
GNU AUCTeX
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [AUCTeX-commit] GNU AUCTeX branch, master, updated. 7606a49da2b1c22c9ebaeb734e77b4504c91b451,
Ikumi Keita <=