[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AUCTeX doesn't build with latest Emacs master
From: |
Arash Esbati |
Subject: |
Re: AUCTeX doesn't build with latest Emacs master |
Date: |
Mon, 15 Aug 2022 12:13:47 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 |
Arash Esbati <arash@gnu.org> writes:
> Tassilo Horn <tsdh@gnu.org> writes:
>
> Already did, bug#57144.
The issue should be now fixed in Emacs master with ead4b914ca.
>> You could as well ask about the suggested upgrade path for packages
>> that used the now obsolete autoloads.el as we did.
Have a look at bug#57200. `update-directory-autoloads' is back again in
97da8eeb7c, but one can also (require 'autoload) by hand.
My suggestion is now apply the following change:
--8<---------------cut here---------------start------------->8---
diff --git a/Makefile.in b/Makefile.in
index d62644f9..b5611070 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -52,14 +52,25 @@ PACKAGE=auctex
PACKAGE_INFO=auctex preview-latex
EMACS=@EMACS@
ELCC=$(EMACS) -batch -q -no-site-file -no-init-file -l lpath.el
-AUTOLOAD=--eval '(let ((autoload-file (expand-file-name "$@"))) \
- (mapcar (lambda (file) \
- (update-file-autoloads file nil autoload-file)) \
- command-line-args-left) \
+AUTOLOAD=--eval '\
+(let* ((autoload-file (expand-file-name "$@")) \
+ (autoload-file-dir (file-name-directory autoload-file))) \
+ (if (fboundp (quote loaddefs-generate)) \
+ (loaddefs-generate autoload-file-dir autoload-file \
+ (list "preview.el" "tex-wizard.el")) \
+ (mapcar (lambda (file) \
+ (update-file-autoloads file nil autoload-file)) \
+ command-line-args-left)) \
(save-buffers-kill-emacs t))'
-PREVIEW_AUTOLOAD=--eval '(let ((autoload-file (expand-file-name "$@"))) \
- (update-file-autoloads "preview.el" nil autoload-file) \
+PREVIEW_AUTOLOAD=--eval '\
+(let* ((autoload-file (expand-file-name "$@")) \
+ (autoload-file-dir (file-name-directory autoload-file))) \
+ (if (fboundp (quote loaddefs-generate)) \
+ (loaddefs-generate autoload-file-dir autoload-file \
+ (mapcar (function symbol-name) \
+ (quote ($(AUCSRC) tex-wizard.el)))) \
+ (update-file-autoloads "preview.el" nil autoload-file)) \
(save-buffers-kill-emacs t))'
# Files and directories excluded from distributed tar ball.
@@ -257,6 +268,8 @@ tex-site.el: tex-site.el.out auto-loads.el Makefile
cat auto-loads.el >>$@
echo "(provide 'tex-site)" >>$@ ; \
echo ";;; tex-site.el ends here" >>$@
+ sed -i -e "/^(provide 'auto-loads)/d" \
+ -e "/^;;; auto-loads.el ends here/d" $@
tex-site.el.out: tex-site.el.in Makefile config.status
./config.status
--8<---------------cut here---------------end--------------->8---
which doesn't emit a warning about obsolete autoload.el. That should
bring us to the current state of files with Emacs 29. There is only
difference that the parts
echo ";; Auto-generated preview-latex.el" > $@
from preview-latex.el rule and
echo ";; Auto-generated part of tex-site.el" > $@
from auto-loads.el rule don't work. I couldn't figure out why. Maybe
others?
Best, Arash
- AUCTeX doesn't build with latest Emacs master, Arash Esbati, 2022/08/09
- Re: AUCTeX doesn't build with latest Emacs master, Tassilo Horn, 2022/08/09
- Re: AUCTeX doesn't build with latest Emacs master, Arash Esbati, 2022/08/09
- Re: AUCTeX doesn't build with latest Emacs master, Ikumi Keita, 2022/08/09
- Re: AUCTeX doesn't build with latest Emacs master, Tassilo Horn, 2022/08/10
- Re: AUCTeX doesn't build with latest Emacs master, Arash Esbati, 2022/08/11
- Re: AUCTeX doesn't build with latest Emacs master, Tassilo Horn, 2022/08/12
- Re: AUCTeX doesn't build with latest Emacs master, Arash Esbati, 2022/08/12
- Re: AUCTeX doesn't build with latest Emacs master,
Arash Esbati <=
- Re: AUCTeX doesn't build with latest Emacs master, Ikumi Keita, 2022/08/28
- Re: AUCTeX doesn't build with latest Emacs master, Arash Esbati, 2022/08/29
- Re: AUCTeX doesn't build with latest Emacs master, Ikumi Keita, 2022/08/29
- Re: AUCTeX doesn't build with latest Emacs master, Arash Esbati, 2022/08/29
- New ELPA Release (was: AUCTeX doesn't build with latest Emacs master), Tassilo Horn, 2022/08/26
- Re: AUCTeX doesn't build with latest Emacs master, Tassilo Horn, 2022/08/10
- Re: AUCTeX doesn't build with latest Emacs master, Arash Esbati, 2022/08/11