home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / text / tex / 10512 < prev    next >
Encoding:
Text File  |  1992-08-25  |  1.2 KB  |  32 lines

  1. Path: sparky!uunet!sun-barr!sh.wide!hitwide!hinocgw!hrlgw92!hrlgw!ibjgw!mech.ibaraki.ac.jp!kondo
  2. From: kondo@mech.ibaraki.ac.jp (Ryou Kondo)
  3. Newsgroups: comp.text.tex
  4. Subject: How to modify LaTeX-environment-alist of auc-tex
  5. Keywords: auc-tex
  6. Message-ID: <KONDO.92Aug23184725@kurenai.mech.ibaraki.ac.jp>
  7. Date: 23 Aug 92 18:47:25 GMT
  8. Sender: kondo@mech.ibaraki.ac.jp
  9. Distribution: comp
  10. Organization: Dept. of Mechanical Eng., Ibaraki University
  11. Lines: 19
  12.  
  13. I installed auc-tex a few weeks ago. I tried to add my local
  14. environment to LaTeX-environment-alist as written in the documents.
  15. So I add the following lines to `.emacs'.
  16. (setq LaTeX-mode-hook '(lambda ()
  17.     (setq LaTeX-environment-alist
  18.     (cons '("myenv" . LaTeX-array-hook) LaTeX-environment-alist))))
  19.  
  20. But this did not work at all. 
  21.  
  22. LaTeX-mode-hook is called when I open a tex source file.  However,
  23. LaTeX-environment does not exist yet. It is created when I first type C-c
  24. C-c to enter a environment and `ltx-env.el' is autoloaded.
  25.  
  26. Are there any way to solve this problem without giving up auto-loading? 
  27.  
  28. Ryou Kondo (kondo@mech.ibaraki.ac.jp)
  29.  
  30. --
  31. $@6aF#(J $@NI(J  Email: kondo@mech.ibaraki.ac.jp  : $@0q>kBg3X5!3#9)3X2J(J 
  32.