Hi Arash,

>>>>> Arash Esbati <ar...@gnu.org> writes:
> My only concern is why AUCTeX should recommend users to pass other
> package names to `use-package' instead of auctex which can be confusing?
> So things like

>   (use-package auctex
>     :config
>     (require 'tex))

> would also work, right?

Yes, I think so.

>> Hmm, it would be better for local Git repo users who still have
>> (load "~/Development/auctex/auctex.el nil t t)

> Does this form work at all?  I tried that in my init file, restarted
> Emacs, opened a .tex file and get:

>   File mode specification error: (void-function LaTeX-mode)

Indeed. I suppose that loading in
,----
| (unless (or (fboundp 'TeX-modes-set)     ;Avoid inf-looping.
| ...
|   (load "auctex-autoloads" 'noerror 'nomessage))
`----
fails due to lack of arrangement of `load-path', without emitting error
by 'noerror argument.

Then I can't think of cases where
    (require 'tex-site (expand-file-name "tex-site.el"
                        (file-name-directory load-file-name))
is useful. Do you have any?

Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine
#Gaza #StopMassiveKilling #CeasefireNOW

Reply via email to