Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!mit-eddie!bbn!gateway!dsys.ncsl.nist.GOV!rbj From: rbj@dsys.ncsl.nist.GOV (Root Boy Jim) Newsgroups: comp.emacs Subject: loadst dies Message-ID: <8906051517.AA01192@dsys.ncsl.nist.gov> Date: 5 Jun 89 15:17:38 GMT Sender: news@bbn.COM Organization: National Institute of Standards and Technology formerly National Bureau of Standards Lines: 46 ? From: att!mcdchg!rave!lynn@cis.ohio-state.edu (Lynn D. Newton) ? I never had any problem with this before. I can't absolutely ? guarantee that I didn't do something inadvertent to change ? something related in the course of making the upgrade. I did a ? lot of work on my .emacs (248 lines -- too long to quote). ? Any ideas anyone? Yes, but not specifically on your problem. I merely wish to point out that 248 lines in your .emacs is too much. Remember that .emacs is not byte compiled, it is much more efficient to put only (load)'s in there, plus maybe a few variable settings. Put function definitions in your lisp directory and byte compile them. Here is my .emacs: (set-input-mode nil t) (setq debug-on-error t) (setq inhibit-startup-message t) (setq load-path (list (expand-file-name "~rbj/gnu") "/gnu/lisp")) (load "vars") ; setq only (load "fns") ; defun, fset, autoload only ;(load "keys") ; def-key only (load "bondage") ; def-key only (load "term-hook") ; {sun,vt[12]00,tvi950}-hook (load "i-search") ; new isearch (load "find-files") (load-library "ehelp") ; electric help (fset 'help-command ehelp-map) ; plug it in (setq debug-on-error nil) (put 'eval-expression 'disabled nil) (put 'narrow-to-region 'disabled nil) (put 'narrow-to-page 'disabled nil) Note also the (put ... 'disabled nil)'s, which was added by emacs itself. To debug my .emacs, I do `emacs -q .emacs' followed by sequences of ESC ^X ^N, which executes (eval-defun) and (next-line). Note also the division between setq's, defun's, and key-bindings. ? ================================================================= ? Lynn D. Newton | System Test ? Motorola MCD, Tempe, AZ | (Department of Heuristic Methodology) ? (602) 437-3739 | "The bug stops here!" ? lynn@rave.phx.mcd.mot.com | Root Boy Jim is what I am Are you what you are or what?