emacs-devel
[Top][All Lists]
Advanced

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

Re: Removing unloaded functions from auto-mode-alist.


From: Stefan Monnier
Subject: Re: Removing unloaded functions from auto-mode-alist.
Date: Tue, 19 Apr 2005 13:44:17 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> Does anybody see any problems with that approach apart from the fact
> that it is crazy as anything?

Well, for one thing, it's crazy as anything.

What about the following:

- make all auctex thingies use the TeX- and LaTeX- prefix (i.e. no conflict
  at all with the other tex-mode), with autoload cookies and stuff.

- make a `auctex-override.el' file which does:

     (defalias 'tex-mode 'TeX-mode)
     (defalias 'latex-mode 'LaTeX-mode)
     ...
     (provide 'auctex-override.el)

Then (require 'auctex-override) makes AUCTeX the default, and hopefully an
(unload-feature 'auctex-override) will restore the default autloads for the
other tex-mode.  Completely untested, of course.


        Stefan




reply via email to

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