home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / languages / elisp / epoch / tek-epoch-stuff / INSTALL < prev    next >
Encoding:
Text File  |  1991-12-11  |  2.3 KB  |  76 lines

  1.  Installation instructions for the tek-epoch-stuff group of packages.
  2.  ====================================================================
  3.  
  4. You only need to do 4 or 5 things to install these packages:
  5.  
  6.  
  7. 1) If you are using epoch version 3.2 then apply the patch in
  8. get-font.patch to your epoch sources and rebuild epoch. This bug has
  9. been fixed in version 4.0.
  10.  
  11.  
  12. 2) Byte compile each of the .el files and put them somewhere in your
  13. load path.
  14.  
  15.  
  16. 3) Set the value of the variable tek-highlight-use-attributes, based
  17. on whether you are using epoch version 3.2 or 4. See the file
  18. tek-style-utils.el for details. I recommend that you set this variable
  19. in your .emacs, rather than editing tek-style-utils.el . This way you
  20. will be able to upgrade to new versions of this package more easily.
  21.  
  22.  
  23. 4) Add the following lines to your .emacs:
  24.  
  25.  
  26. ; Set up an autoload for syntax decoding stuff.
  27. (autoload 'decode-syntax-table "syntax-decode" "autoloadable function" t)
  28.  
  29. ; Set up autoload of new manual browser
  30. (require 'tek-man-setup)
  31.  
  32. ; Set up autoload of new info browser
  33. (require 'tek-info-setup)
  34.  
  35. ; Highlight comments in source code
  36. (require 'tek-src-hilite-setup)
  37.  
  38. ; Customise the mouse drag style
  39. (require 'tek-motion-setup)
  40.  
  41. ; Set up for highlighting in gnus.
  42. (require 'tek-gnus-hilite-setup)
  43.  
  44. ; Set up for highlighting in VM.
  45. (require 'tek-vm-hilite-setup)
  46.  
  47. ; Set up for highlighting under mh-e.
  48. (require 'tek-mh-e-hilite-setup)
  49.  
  50.  
  51. Obviously you can load just some of the packages and not others. The
  52. syntax-decode package is used by tek-src-hilite, so you must include
  53. the above autoload command if you are highlighting your comments.
  54.  
  55. It seems unlikely that you would want to use both VM and mh-e, so you
  56. only need to load the setup for one of these.
  57.  
  58.  
  59. 5) If you want to use highlighting under mh-e you will need to install
  60. the patched version of mh-e.el in your .../epoch/lisp directory. If
  61. you have made local mods to this file, you can instead apply the
  62. patches in mh-e.patch. These are based on the version distributed with
  63. epoch 4.0 .
  64.  
  65.  
  66. All the .el files will byte compile under emacs as well as under
  67. epoch. We use make and "emacs -batch -f batch-byte-compile" to release
  68. byte compiled elisp files across our different machines.
  69.  
  70. The above packages all do something sensible when loaded under emacs,
  71. so you don't need to worry about different .emacs'es for emacs and
  72. epoch.
  73.  
  74.  
  75.                === The End ===
  76.