home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / lucid / bug-lucid-emacs / text0233.txt < prev    next >
Encoding:
Text File  |  1993-07-04  |  1.2 KB  |  32 lines

  1. "lmdrsm@lmd.ericsson.se (LMD/T/AM Roar Smith)" pointed out that the
  2. (sit-for 120) in startup.el will not terminate when the user selects a
  3. menu item.  If the user selects a menu item while the startup message
  4. is shown, nothing will happen.
  5.  
  6. This is the documentation of sit-for:
  7.  
  8.   sit-for: (n &optional nodisp)
  9.     -- a built-in function.
  10.   Perform redisplay, then wait for ARG seconds or until user input is
  11.   available.  ARG may be a float, meaning a fractional part of a second.
  12.   Optional second arg non-nil means don't redisplay, just wait for input.
  13.   Redisplay is preempted as always if user input arrives, and does not
  14.   happen if input is available before it starts.
  15.   Value is t if waited the full time with no input arriving.
  16.  
  17. To me, selecting a menu *is* a user input.  (If it isn't, which
  18. function should be used instead of sit-for?)
  19.  
  20. BTW: Why does the info page (lemacs)Bugs not mention
  21. alt.lucid-emacs.help and alt.lucid-emacs.bug?  In fact, they are not
  22. mentioned in the info pages at all.
  23.  
  24. Regards,
  25.         Thorbjoern
  26.         
  27. -- 
  28. ThH, Thorbjoern Hansen, hansen@forwiss.uni-passau.de, thansen@diku.dk
  29. You may write in German, Spanish, Swedish, Danish or even English.
  30. I collect emacs lisp files.  Mail me (the name of) your favorite.
  31.  
  32.