Re: tex-site.elc generation on main branch

2024-05-25 Thread Ikumi Keita
> 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



main 6b1c1f6d: Tune byte compile condition

2024-05-25 Thread Ikumi Keita
branch: main
commit 6b1c1f6da312fc113a80bedabf703f8cff5cd6d6
Author: Ikumi Keita 
Commit: Ikumi Keita 

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:



Re: master 45ee2f9e 3/3: Update documentaion on changes related to delete-selection

2024-05-25 Thread Arash Esbati
Hi Keita,

Ikumi Keita  writes:

> Ah, I think so. I just pushed the fix. Thanks for spotting this.

Thanks, I tracked your change in our NEWS.org.

Best, Arash



Re: tex-site.elc generation on main branch

2024-05-25 Thread Arash Esbati
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



master 06801482: ; * NEWS.org (Fixed): Track last change in changes.texi.

2024-05-25 Thread Arash Esbati
branch: master
commit 06801482839fa811dfe5a4a829e901b16900debc
Author: Arash Esbati 
Commit: Arash Esbati 

; * NEWS.org (Fixed): Track last change in changes.texi.
---
 NEWS.org | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/NEWS.org b/NEWS.org
index 169cca83..28c70289 100644
--- a/NEWS.org
+++ b/NEWS.org
@@ -32,8 +32,8 @@
 while it inserts =\(= and =\)= when ~TeX-electric-math~ is
 =("\(" . "\)")=.
   - When ~TeX-electric-math~ is a pair of dollars and the point is in
-inline math without active region, =$= inserts two dollars, not one
-dollar which just closes the math mode.
+inline math (without active region), =$= inserts two dollars, not
+one dollar which just closes the math mode.
 
 * [14.0.5] - 2024-05-19
 



Re: tex-site.elc generation on main branch

2024-05-25 Thread Uwe Brauer
>>> "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

2024-05-25 Thread Ikumi Keita
> 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

2024-05-25 Thread Uwe Brauer
>>> "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

2024-05-25 Thread Ikumi Keita
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