auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/3] Let it byte compile even with GNU Emacs 29.3


From: Arash Esbati
Subject: Re: [PATCH 1/3] Let it byte compile even with GNU Emacs 29.3
Date: Tue, 14 May 2024 20:49:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

(Resend this time with auctex-devel in CC)

Hi Werner,

> "Dr. Werner Fink" <werner@suse.de> writes:

>> Hmmm ... for me this is a service for the users and customers.  If
>> this really does not work I suggest to drop this feature.  I had done
>> this now appr. 30 year, means longer than I worked here at SUSE.

I think dropping the feature from AUCTeX isn't necessary; one should be
careful how to use it.  At any rate, I think I have an opinion about
rifling this function through a texmf-tree, but of course I leave the
final decision to the distros.

>> SUSE as well openSUSE is an rpm based system and this is part of the rpm
>> package emacs-auctex.

Thanks for the clarification.

>> I've a log file with 21 examples and there are more I guess but to catch
>> them one have to run emacs in batch mode with TeX-auto-generate-global
>> and remove afterwards the TeX file. See log1.xz in the attachment.
>> The main error is
>>
>>   Error: error ("Font-lock trying to use keywords before setting them up")

Thanks, that reminds me of an issue we had in our test suite, but before
looking at that, have you tried to run your setup with font-latex
disabled?  So something like this:

--8<---------------cut here---------------start------------->8---
%if %{with tex4auto}
        pwd
        echo "Run the command TeX-auto-generate-global in mini buffer"
        emacs-gtk -batch -Q -L %{buildroot}%{_sitedir}/auctex             \
            --eval '(setq TeX-lisp-directory "%{buildroot}%{_aucdir}")'   \
            --eval "(setq TeX-install-font-lock #'ignore)"                \     
   
            --eval '(setq TeX-auto-global "%{buildroot}%{_aucdir}/auto")' \
            -l %{buildroot}%{_sitedir}/tex-site.el -f TeX-auto-generate-global
        exit 1
%else
--8<---------------cut here---------------end--------------->8---

Maybe that helps.

>> The feaure of this dinbrief.el I'd like not to remove as it enables
>> even a novice to write from scratch a german letter accordingly to
>> the legal norm.  I use this at my own therefore I stumbled over the
>> bug above :)

Ok, thanks.

Best, Arash



reply via email to

[Prev in Thread] Current Thread [Next in Thread]