Hi Tassilo,

>>>>> Tassilo Horn <t...@gnu.org> writes:
> See (info "(emacs) Package Files"):
>    In addition to =E2=80=98package-user-dir=E2=80=99, Emacs looks for insta=
> lled packages
> in the directories listed in =E2=80=98package-directory-list=E2=80=99.  The=
> se
> directories are meant for system administrators to make Emacs packages
> available system-wide; Emacs itself never installs packages there.  The
> package subdirectories for =E2=80=98package-directory-list=E2=80=99 are lai=
> d out in the
> same way as in =E2=80=98package-user-dir=E2=80=99.

I didn't know this feature and there arises a question.

When there is a site-wide AUCTeX installation, a user who want to disable
AUCTeX can achieve that by (unload-feature 'tex-site) under
configure&make installation. But it seems that prescription doesn't work
for site-wide ELPA AUCTeX installation; emacs refuses to unload
`tex-site' saying:
,----
| unload-feature: Loaded libraries ("c:/Program 
Files/Emacs/emacs-29.2/share/emacs/site-lisp/elpa/auctex-14.0.6/auctex-autoloads.el")
 depend on c:/Program 
Files/Emacs/emacs-29.2/share/emacs/site-lisp/elpa/auctex-14.0.6/tex-site.elc
`----

Should we arrange the main branch so that (unload-feature 'tex-site)
works for site-wide ELPA AUCTeX installation as documented? Or should we
announce other way? (To cusomize `TeX-modes' to nil? To add '(auctex
nil)' to `package-load-list'? Or something else? Maybe to have both
(unload-feature 'autex-autoloads') and (unload-feature 'tex-site) ?)

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

Reply via email to