Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package emacs-auctex for openSUSE:Factory checked in at 2023-08-03 17:30:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/emacs-auctex (Old) and /work/SRC/openSUSE:Factory/.emacs-auctex.new.22712 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "emacs-auctex" Thu Aug 3 17:30:47 2023 rev:43 rq:1102168 version:13.2 Changes: -------- --- /work/SRC/openSUSE:Factory/emacs-auctex/emacs-auctex.changes 2023-04-13 14:11:30.548558953 +0200 +++ /work/SRC/openSUSE:Factory/.emacs-auctex.new.22712/emacs-auctex.changes 2023-08-03 17:31:02.776222079 +0200 @@ -1,0 +2,70 @@ +Thu Aug 3 11:31:29 UTC 2023 - Dr. Werner Fink <[email protected]> + +- Run TeX-auto-generate-global in emacs only once if auctex or + TeXLive becomes updated to generate all auto lisp files. + +------------------------------------------------------------------- +Wed Aug 2 11:11:34 UTC 2023 - Dr. Werner Fink <[email protected]> + +- Update to 13.2 + ⢠AUCTeX no longer refuses to insert dollar sign when you type â$â at + point where AUCTeX thinks the current math mode didnât start with + dollar(s). AUCTeX assumes the user knows that it isnât in math + mode actually. + You can keep the former behavior by enabling the new customize + option âTeX-refuse-unmatched-dollarâ. + * AUCTeX supports completion-at-point of macro and environment + arguments in LaTeX buffers. The responsible function recognizes + the argument position and extracts the corresponding candidates + from the variables âTeX-symbol-listâ and âLaTeX-environment-listâ. + * AUCTeX underlines the argument of macros which produce underlined + text in the final product with âfont-latex-underline-faceâ. The + corresponding keyword class is called âunderline-commandâ. See the + section for fontification of macros if you dislike this feature and + wish to deactivate it. + * Support for the Sioyek document viewer is added. + * AUCTeX now requires GNU Emacs 25.1 or higher. + * AUCTeX tracks the change in Emacs where initial inputs in the + minibuffer during queries are getting phased out. Queries for the + mandatory arguments of macros and environments are adjusted where + applicable. The value which will be used after hitting âRETâ + without other input is shown in the prompt in parentheses prefixed + with âdefaultâ. For this change the signature of the function + âTeX-arg-lengthâ is altered. The old argument list was: + (defun TeX-arg-length (optional &optional prompt + initial-input definition default) + whereas the new one is: + (defun TeX-arg-length (optional &optional prompt + default initial-input definition) + Note the position change of âDEFAULTâ. + * Indenting of conditionals is improved. Code inside constructs like + â\ifx . \else . \fiâ is correctly indented. An interface for style + files is also introduced which can add their macros to the + indentation engine. Check the file âalgpseudocode.elâ for an + example. + * You can optionally enable indent inside square brackets â[]â by new + user options âTeX-indent-open-delimitersâ and + âTeX-indent-close-delimitersâ. + * Now âtex-buf.elâ is merged into âtex.elâ and no longer exists. If + your personal code has â(require 'tex-buf)â, one of the following + prescriptions would serve. + 1. Remove â(require 'tex-buf)â. + 2. Replace it with â(require 'tex)â. + 3. Replace it with â(require 'latex)â. + * When you edit a document divided into multiple files, auto parsed + information for all sub files are saved under âautoâ subdirectory + at master directory when âTeX-parse-selfâ and âTeX-auto-saveâ + options are enabled. Now you can have support â.elâ file saved + under âautoâ subdirectory of each directory of the sub file when + the sub files arenât located at the master directory. + To achieve that, set new user option âTeX-auto-save-aggregateâ to + ânilâ. + * There was another hook where former dynamic free variables could be + used. The usage was invalidated at version 13.1, by introduction + of lexical binding over AUCTeX. + The functions in âTeX-region-hookâ could access the free variables + âmaster-bufferâ and âorig-bufferâ. Those are now named + âTeX-region-master-bufferâ and âTeX-region-orig-bufferâ, + respectively. + +------------------------------------------------------------------- Old: ---- auctex-13.1.tar.gz auctex-13.1.tar.gz.sig New: ---- auctex-13.2-auto-TL-2023.tar.xz auctex-13.2.tar.gz auctex-13.2.tar.gz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ emacs-auctex.spec ++++++ --- /var/tmp/diff_new_pack.xWspeH/_old 2023-08-03 17:31:03.928229050 +0200 +++ /var/tmp/diff_new_pack.xWspeH/_new 2023-08-03 17:31:03.932229074 +0200 @@ -16,11 +16,13 @@ # +%bcond_with tex4auto +%define tlversion 2023 +%if %{undefined ext_el} +%define ext_el .gz +%endif + Name: emacs-auctex -BuildRequires: emacs-x11 -BuildRequires: ghostscript_any -BuildRequires: texlive -BuildRequires: texlive-latex Obsoletes: ge_auc Provides: auc-tex Provides: auctex @@ -29,12 +31,18 @@ Requires: texlive-latex Requires: texlive-tools Supplements: (texlive and emacs) +BuildRequires: emacs-x11 BuildRequires: makeinfo BuildRequires: texinfo +%if %{with tex4auto} +BuildRequires: ghostscript_any +BuildRequires: texlive BuildRequires: texlive-collection-latexextra +BuildRequires: texlive-latex BuildRequires: texlive-tex BuildRequires: texlive-texinfo -Version: 13.1 +%endif +Version: 13.2 Release: 0 Summary: AUC TeX: An Emacs Extension License: GPL-3.0-or-later @@ -42,6 +50,7 @@ Source0: https://ftp.gnu.org/pub/gnu/auctex/auctex-%{version}.tar.gz Source1: https://ftp.gnu.org/pub/gnu/auctex/auctex-%{version}.tar.gz.sig Source2: auctex.keyring +Source3: auctex-%{version}-auto-TL-%{tlversion}.tar.xz URL: https://www.gnu.org/software/auctex # Allows to select printer instance # PATCH-FEATURE-UPSTREAM dvips.patch @@ -65,6 +74,7 @@ %define _sitedir %{_datadir}/emacs/site-lisp %define _aucdir %{_sitedir}/auctex +%define _smp_mflags -j1 %prep %setup -n auctex-%{version} @@ -87,7 +97,7 @@ --with-texmf-dir=%{_datadir}/texmf \ --with-doc-dir=/tmp/auctex/doc/preview \ --with-tex-dir=/tmp/auctex/latex/preview - find , -name '*.elc' | xargs -r rm -f + find . -name '*.elc' | xargs -r rm -f %make_build %{__make} %{_make_output_sync} -C doc clean %{__make} %{_make_output_sync} -C doc %{?_smp_mflags} @@ -98,15 +108,28 @@ export LC_CTYPE=ISO-8859-1 mkdir -p %{buildroot}%{_sitedir}/site-start.d %make_install DESTDIR=%{buildroot} - rm -rf %{buildroot}%{_aucdir}/auto - pushd %{buildroot}%{_aucdir}/ - emacs --no-site -batch -L %{buildroot}%{_sitedir}/auctex \ + pushd %{buildroot}%{_aucdir}/auto/ +%if %{with tex4auto} + cwd + echo "Run the command TeX-auto-generate-global in mini buffer" + emacs-gtk --no-site -L %{buildroot}%{_sitedir}/auctex \ --eval '(setq TeX-lisp-directory "%{buildroot}%{_aucdir}")' \ --eval '(setq TeX-auto-global "%{buildroot}%{_aucdir}/auto")' \ - -l %{buildroot}%{_sitedir}/tex-site.el -f TeX-auto-generate-global - popd + -l %{buildroot}%{_sitedir}/tex-site.el + exit 1 +%else + TLVERSION=$(rpm -q --qf '%%{VERSION}' -f /etc/texmf) + if test %{tlversion} -eq ${TLVERSION%%%%.*} + then + tar --use-compress-program=xz -xf %{S:3} touch %{buildroot}%{_aucdir}/auto/.nosearch - find %{buildroot}%{_aucdir}/auto/ -name '*.elc' | xargs -r rm -f + else + echo Rerun with %%bcond_without tex4auto to generate new + echo auctex-%{version}-auto-TL-${TLVERSION%%%%.*}.tar.xz + exit 1 + fi +%endif + popd cat <<-EOF > %{buildroot}%{_sitedir}/suse-start-auctex.el ;;; suse-start-auctex.el ;; @@ -155,7 +178,9 @@ %doc %{_infodir}/*.info*.gz %{_aucdir}/*.el %{_aucdir}/*.elc -%{_aucdir}/auto/*.el +%{_aucdir}/auto/*.el%{ext_el} +%{_aucdir}/auto/*.elc +%{_aucdir}/auto/.nosearch %{_aucdir}/images/*.xpm %{_aucdir}/style/*.el %{_aucdir}/style/*.elc ++++++ auctex-13.1.tar.gz -> auctex-13.2.tar.gz ++++++ ++++ 48659 lines of diff (skipped) ++++++ dvips.patch ++++++ --- /var/tmp/diff_new_pack.xWspeH/_old 2023-08-03 17:31:04.512232584 +0200 +++ /var/tmp/diff_new_pack.xWspeH/_new 2023-08-03 17:31:04.540232754 +0200 @@ -4,7 +4,7 @@ --- tex.el +++ tex.el 2022-09-10 15:13:15.964170324 +0000 -@@ -423,7 +423,7 @@ string." +@@ -429,7 +429,7 @@ string." ;; TeX-print-command. (defcustom TeX-print-command
