Re: tex-site.elc generation on main branch
> Arash Esbati writes: > Uwe Brauer writes: >> Ok, the compilation takes awfully long. Tassilo explained why, but it >> is really annoying and makes testing a bit cumbersome . > Do you run make with the '-j' switch? I tried building AUCTeX on my old > Windows box with 'time make -j8' and it took around 2:20 minutes. The > same process takes 0:22 minutes on my Macbook Air M2. I agree, it takes > longer than it used to, but there are reasons to do so. >> But it works! >> tex-site.elc is generated >> >> So I think your patch provides a working solution. > Thanks for testing, I also think Keita's patch is good. Thank you both. I pushed the fix. Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine #Gaza #StopMassiveKilling #CeasefireNOW
Re: tex-site.elc generation on main branch
Uwe Brauer writes: > Ok, the compilation takes awfully long. Tassilo explained why, but it > is really annoying and makes testing a bit cumbersome . Do you run make with the '-j' switch? I tried building AUCTeX on my old Windows box with 'time make -j8' and it took around 2:20 minutes. The same process takes 0:22 minutes on my Macbook Air M2. I agree, it takes longer than it used to, but there are reasons to do so. > But it works! > tex-site.elc is generated > > So I think your patch provides a working solution. Thanks for testing, I also think Keita's patch is good. Best, Arash
Re: tex-site.elc generation on main branch
>>> "IK" == Ikumi Keita writes: >> Uwe Brauer writes: >> Difficult to say, because there is no attached patch > Sorry! Ok, the compilation takes awfully long. Tassilo explained why, but it is really annoying and makes testing a bit cumbersome . But it works! tex-site.elc is generated So I think your patch provides a working solution. -- I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel I strongly condemn Putin's war of aggression against Ukraine. I support to deliver weapons to Ukraine's military. I support the EU and NATO membership of Ukraine. smime.p7s Description: S/MIME cryptographic signature
Re: tex-site.elc generation on main branch
> Uwe Brauer writes: > Difficult to say, because there is no attached patch Sorry! Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine #Gaza #StopMassiveKilling #CeasefireNOW >From 6b1c1f6da312fc113a80bedabf703f8cff5cd6d6 Mon Sep 17 00:00:00 2001 From: Ikumi Keita Date: Sat, 27 Apr 2024 18:23:45 +0900 Subject: [PATCH] Tune byte compile condition * lpath.el: Add appropriate file local variables section to suppress spurious byte compile. * GNUmakefile: Make sure that tex-site.elc is generated. --- GNUmakefile | 2 +- lpath.el| 6 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index 4f90cd07..73bdeace 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -42,7 +42,7 @@ ALL_GENERATED_FILES=$(MAIN_GENERATED_FILES) \ # Generate & compile everything including the manuals below doc/. all: $(ALL_GENERATED_FILES) compile auctex-autoloads.el -compile: $(patsubst %.el,%.elc,$(wildcard *.el style/*.el)) +compile: $(patsubst %.el,%.elc,$(wildcard *.el style/*.el)) tex-site.elc # If we were depending on emacs 29.1, we could simply use # loaddefs-generate. If we were depending on 28.1, we could still use diff --git a/lpath.el b/lpath.el index f43a9841..021ed463 100644 --- a/lpath.el +++ b/lpath.el @@ -11,3 +11,9 @@ (add-to-list 'load-path (expand-file-name "style" auctex-dir)) (setq TeX-lisp-directory "" TeX-auto-global "")) + +;; Local Variables: +;; no-byte-compile: t +;; no-update-autoloads: t +;; no-native-compile: t +;; End: -- 2.44.0
Re: tex-site.elc generation on main branch
>>> "IK" == Ikumi Keita writes: > Hi all, > On the main branch, tex-site.elc isn't generated at the first "make" > after "make clean" because expansion of $(wildcard *.el style/*.el) in > GNUmakefile doesn't include tex-site.el which doesn't exist yet when we > issue the "make". I love to check this. > Does it make sense to apply the attached patch for the reproducibility? > (It includes addition to lpath.el to suppress spurious generation of > lpath.elc as well.) Difficult to say, because there is no attached patch > Regards, > Ikumi Keita > #StandWithUkraine #StopWarInUkraine > #Gaza #StopMassiveKilling #CeasefireNOW -- I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel I strongly condemn Putin's war of aggression against Ukraine. I support to deliver weapons to Ukraine's military. I support the EU and NATO membership of Ukraine. smime.p7s Description: S/MIME cryptographic signature
tex-site.elc generation on main branch
Hi all, On the main branch, tex-site.elc isn't generated at the first "make" after "make clean" because expansion of $(wildcard *.el style/*.el) in GNUmakefile doesn't include tex-site.el which doesn't exist yet when we issue the "make". Does it make sense to apply the attached patch for the reproducibility? (It includes addition to lpath.el to suppress spurious generation of lpath.elc as well.) Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine #Gaza #StopMassiveKilling #CeasefireNOW