home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / gnu / emacs / help / 4111 < prev    next >
Encoding:
Internet Message Format  |  1992-09-13  |  1.6 KB

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!mlb.semi.harris.com!uflorida!travis!grouper!jimbo
  2. From: jimbo@rcx1.ssd.csd.harris.com (Jim Winters)
  3. Newsgroups: gnu.emacs.help
  4. Subject: Re: another .emacs problem
  5. Message-ID: <JIMBO.92Sep2124901@rcx1.ssd.csd.harris.com>
  6. Date: 2 Sep 92 17:49:01 GMT
  7. References: <1992Sep1.182617.15356@engage.pko.dec.com>
  8. Sender: news@travis.csd.harris.com
  9. Organization: Harris Computer Systems Division
  10. Lines: 24
  11. In-reply-to: eje@irenaeus.mlo.dec.com's message of 1 Sep 92 18:26:17 GMT
  12.  
  13. Eric> I can even load emacs with -q, ignoring .emacs, and then load
  14. Eric> .emacs, evalute it, and everything is hunky-dory.  And I can
  15. Eric> find nothing particularly wrong with my .emacs file.  I have
  16. Eric> some mouse stuff in there; I think that's what's causing the
  17. Eric> problems, short functions that do nifty things when you drag the
  18. Eric> mouse.  They behave fine whenever I execute them on their own as
  19. Eric> you might guess.  They just don't work in the .emacs file.
  20.  
  21. I had similar problems when I was experimenting with mousey things.
  22.  
  23. Some things are done AFTER the .emacs is called.  Your code may be
  24. depending on those things.  See startup.el.  I'm sorry I'm not being
  25. very explicit; I'm not an expert.
  26.  
  27. I wound up writing an ugly hack so that I could delay the execution
  28. of some of my code until startup.el was finished.
  29.  
  30. If you can know whether you will be on a window system or a terminal,
  31. then you may be able to use the respective hooks to delay your code.
  32. --
  33.  
  34. --
  35. Jim Winters    jimbo@ssd.csd.harris.com
  36. ]O    See through science part of a backdoor.  A door made up of doors...
  37.