At 2005-07-12T09:08:44+02:00, David Kastrup wrote:

> > You can try `tex-mode' instead of `AUCTeX'.  You can do that an
> > expression like this in your Emacs startup file:
> >
> >   (add-to-list 'auto-mode-alist '("\\.tex\\'" . tex-mode))
> 
> This won't work reliably as AUCTeX aliases tex-mode to TeX-mode.  Once
> AUCTeX is activated, it is not really simple to get rid of it again.

You are right.  I didn't realize that AUCTeX is difficult to
deactivate.  However, putting this at the end of my init file ---
after the AUCTeX customization --- and restarting Emacs does
deactivate AUCTeX in my system:

  (delete 'tex-site features)
  (add-to-list 'auto-mode-alist '("\\.tex\\'" . tex-mode))
  (autoload 'tex-mode "tex-mode"
    "Use standard `tex-mode.el' instead of AUCTeX."
    t nil)

> However, in this case it makes much more sense to figure out what
> the problem is.

I like and use AUCTeX, and agree with you.  I suggested standard
`tex-mode.el' only because the OP wanted a "simple" mode.

Raghavendra.

-- 
N. Raghavendra <[EMAIL PROTECTED]> | See message headers for contact
Harish-Chandra Research Institute   | and OpenPGP details.
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to