home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / alt / lucidem / help / 414 < prev    next >
Encoding:
Text File  |  1992-09-11  |  4.4 KB  |  219 lines

  1. Newsgroups: alt.lucid-emacs.help
  2. Path: sparky!uunet!spool.mu.edu!agate!boulder!news!grunwald
  3. From: grunwald@mumble.cs.colorado.edu (Dirk Grunwald)
  4. Subject: Changes for DECstation
  5. Message-ID: <GRUNWALD.92Sep11160539@mumble.cs.colorado.edu>
  6. Sender: news@colorado.edu (The Daily Planet)
  7. Nntp-Posting-Host: mumble.cs.colorado.edu
  8. Reply-To: grunwald@foobar.cs.colorado.edu
  9. Organization: University of Colorado at Boulder
  10. Date: 11 Sep 92 16:05:39
  11. Lines: 206
  12.  
  13.  
  14. I changed m-pmax.h to be...
  15.  
  16. -----------------------------------------------------------------------------
  17. #include "m-mips.h"
  18.  
  19. #undef BIG_ENDIAN
  20. #define LIBS_DEBUG
  21.  
  22. /* Supposedly the following will overcome a kernel bug.  */
  23. #undef LD_SWITCH_MACHINE
  24. #undef DATA_START
  25. #define DATA_START 0x10000000
  26. #define DATA_SEG_BITS 0x10000000
  27.  
  28. #define BROKEN_O_NONBLOCK
  29.  
  30. #define NEED_STRDUP
  31. #define NEED_REALPATH
  32. #define HAVE_DREM 
  33. -----------------------------------------------------------------------------
  34.  
  35.  
  36. ..it's the last 3 that are useful.
  37.  
  38. Also, I had numerous problems preloading packages. I found the
  39. following to be useful.
  40.  
  41. + Reporting of error messages on loadup is broken. See appended
  42.   site-load for an (unsatisfying) work-around [thanks to JWZ]
  43.     
  44.  
  45. + in loadup.el, move the load of "site-load" to be after the version
  46.   increment. Some packages use the emacs-version string to decide
  47.   between Lucid and normal emacs behaviors.
  48.  
  49.     (load "version.el")
  50.     (load "bytecomp-runtime")
  51.     (if (load "site-load" t)
  52.         (garbage-collect))
  53.  
  54. + Here's the site-load I'm using..
  55.  
  56. ;;
  57. ;;    site-load.el for SRL lucid emacs
  58. ;;
  59. (defun loadup::load-list (doit list)
  60.   (if doit
  61.       (if (not (null list))
  62.       (let
  63.         ;;
  64.         ;; this makes 'print' work on loadup. Error still
  65.         ;; causes problems.
  66.         ;;
  67.           ((standard-output 'external-debugging-output))
  68.         (while list
  69.           (load (car list))
  70.           (print pure-bytes-used)
  71.           (setq list (cdr list))
  72.           )
  73.         (garbage-collect)
  74.         )
  75.     )
  76.     )
  77. )
  78.  
  79. ;;
  80. ;; Tree Dired - works fine with Ange-ftp
  81. ;;
  82. (loadup::load-list 't
  83.     '( "dired" "ange-ftp")
  84. ; "dired" "dired-cd" "dired-cwd"
  85. ;"dired-link" "dired-num"  "dired-rcs" "dired-trns"
  86.  
  87. )
  88.  
  89. (loadup::load-list 't
  90.  '(
  91.    "gnus" "gnusmail" "gnusmisc" "gnuspost"
  92.    "nntp"  "gnus-lucid" "rnewspost"
  93.  
  94. ;   "gnus-mark" "gnus-hide-quote"
  95. ) ; timezone 
  96.  )
  97.  
  98. (loadup::load-list 't
  99. '( 
  100.   "vm-lucid" "vm-delete" "vm-edit" "vm-folder" "vm-group" 
  101.    "vm-mark" "vm-message" "vm-misc" "vm-motion" "vm-page" "vm-save"
  102.    "vm-search" "vm-summary" "vm-undo" "vm-vars" "vm-window"
  103.  )
  104. )
  105.  
  106. (loadup::load-list 't
  107.            '( 
  108.              "bbdb"
  109.              "bbdb-lucid"
  110.              "bbdb-com"
  111.              "bbdb-gnus"
  112.              "bbdb-vm"
  113.              "bbdb-mhe"
  114.              "sendmail"
  115.              "bbdb-lucid"
  116.              "mail-abbrevs"
  117.              "mail-extr"
  118.            )
  119. )
  120.  
  121.  
  122.  
  123. ;;
  124. ;; CMU shell
  125. (loadup::load-list 't
  126.  '( "comint" "shell" )
  127.  )
  128.  
  129. (loadup::load-list 't
  130.            '( "bytecomp" "bytecomp-runtime" "byte-optimize")
  131. )
  132.  
  133. ;;
  134. ;; built-ins we use a lot...
  135. ;;
  136. (loadup::load-list 't
  137.            '( 
  138.              ;;
  139.              ;; modes
  140.              ;;
  141.              "dabbrev"
  142.              "c++-mode" "c-style"
  143.              ;;
  144.              ;; Packages
  145.              ;;
  146.              "webster" "compile" "info"  "man"  
  147.              "apropos" "edebug" "info" "mh-e"
  148.              "font-lock"
  149.              ;;
  150.              ;; from prim
  151.              ;;
  152.              "rect"
  153.                     ; "timer" -- Can't load timer
  154.              ;;
  155.              ;; utils
  156.              ;;
  157.              "backquote"
  158.              )
  159.            )
  160.  
  161. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  162. ;; Localisms...
  163. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  164.  
  165. (setq old-load-path load-path)
  166.  
  167. (defun loadup::add (path)
  168.   (setq load-path (cons path load-path))
  169.   )
  170.  
  171. (let* ((local-gnu "/srl/Lucid19/local"))
  172.   (loadup::add (concat local-gnu "/VorTeX/"))
  173.   (loadup::add (concat local-gnu "/SC-2.2/"))
  174.   (loadup::add local-gnu)
  175.   )
  176.  
  177. ;;
  178. ;; VorTeX -- Load first because it used to define fill-paragraph
  179. ;; and we want to over-ride that with filladapt.elc
  180. ;;
  181. (loadup::load-list 't
  182.  '( 
  183.    "TeX-mode" "TeX-custom" "TeX-misc" "TeX-match" "TeX-spell" 
  184.    ;;    "BibTeX-abv" "BibTeX-misc" "BibTeX-mode" "BibTeX-ops"
  185.    ;;    "TeX-bib"
  186.    )
  187.  )
  188.  
  189. ;;
  190. ;; Supercite
  191. ;;
  192. (loadup::load-list 't
  193.  '( "sc" "sc-alist" "sc-electric" )
  194.  )
  195.  
  196. ;;
  197. ;; Random shit
  198. ;;
  199. (loadup::load-list 't
  200.  '( "crypt" "electric-minibuffer" "filladapt" ;  "ps-mode"
  201.     )
  202.  )
  203.  
  204. ;;
  205. ;; Clean up after ourselves..
  206. ;;
  207.  
  208. (setq load-path old-load-path)
  209.  
  210. (makunbound 'old-load-path)
  211. (fmakunbound 'loadup::load-list)
  212. (fmakunbound 'loadup::add)
  213. (garbage-collect)
  214. (print pure-bytes-used 'external-debugging-output)
  215. (garbage-collect)
  216.  
  217.  
  218.  
  219.