home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky gnu.emacs.help:3867 comp.text.tex:10612
- Newsgroups: gnu.emacs.help,comp.text.tex
- Path: sparky!uunet!mcsun!sun4nl!alchemy!piet
- From: piet@cs.ruu.nl (Piet van Oostrum)
- Subject: Re: How to modify LaTeX-environment-alist of auc-tex
- Sender: network-news@cs.ruu.nl
- Message-ID: <1992Aug27.140404.159@cs.ruu.nl>
- In-Reply-To: kondo@mech.ibaraki.ac.jp (Ryou Kondo)
- Date: Thu, 27 Aug 1992 14:04:04 GMT
- Distribution: comp
- Reply-To: piet@cs.ruu.nl (Piet van Oostrum)
- References: <KONDO.92Aug23184725@kurenai.mech.ibaraki.ac.jp>
- Organization: Dept of Computer Science, Utrecht University, The Netherlands
- Keywords: auc-tex
- Lines: 29
-
- >>>>> kondo@mech.ibaraki.ac.jp (Ryou Kondo) (RK) writes:
-
- RK> I installed auc-tex a few weeks ago. I tried to add my local
- RK> environment to LaTeX-environment-alist as written in the documents.
- RK> So I add the following lines to `.emacs'.
- RK> (setq LaTeX-mode-hook '(lambda ()
- RK> (setq LaTeX-environment-alist
- RK> (cons '("myenv" . LaTeX-array-hook) LaTeX-environment-alist))))
-
- RK> But this did not work at all.
-
- RK> LaTeX-mode-hook is called when I open a tex source file. However,
- RK> LaTeX-environment does not exist yet. It is created when I first type C-c
- RK> C-c to enter a environment and `ltx-env.el' is autoloaded.
-
- RK> Are there any way to solve this problem without giving up auto-loading?
-
- If you put a (require 'ltx-env) in your LaTeX-mode-hook it should work. In
- this way you give up autoloading partially, but in LaTeX-mode it is rather
- probable that you are going to use ltx-env anyway.
-
- I made a small modification to auc-tex to make it easier to do this kind of
- customization. I tried to contact both the maintainer and the mailing list,
- but my mail bounced. Does anybody know whether the addresses have changed?
- --
- Piet* van Oostrum, Dept of Computer Science, Utrecht University,
- Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands.
- Telephone: +31 30 531806 Uucp: uunet!mcsun!ruuinf!piet
- Telefax: +31 30 513791 Internet: piet@cs.ruu.nl (*`Pete')
-