home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / gnu / emacs / help / 5155 < prev    next >
Encoding:
Text File  |  1992-12-22  |  1.3 KB  |  40 lines

  1. Path: sparky!uunet!cs.utexas.edu!geraldo.cc.utexas.edu!slcs.slb.com!leo.asc.slb.com!leo.asc.slb.com!gray
  2. From: gray@snow.scr.slb.com (Douglas Gray Stephens)
  3. Newsgroups: gnu.emacs.help
  4. Subject: Re: Setting screen size
  5. Date: 22 Dec 92 09:57:19
  6. Organization: Schlumberger Cambridge Research
  7. Lines: 26
  8. Distribution: usa
  9. Message-ID: <GRAY.92Dec22095719@snow.scr.slb.com>
  10. References: <1992Dec22.012534.22729@times.aux.apple.com>
  11. NNTP-Posting-Host: snow.scr.slb.com
  12. In-reply-to: roger@photog.aux.apple.com's message of 22 Dec 92 01:25:34 GMT
  13.  
  14.  
  15. Roger Warner writes:-
  16.  
  17. >  Is there a way inside of emacs to change the number of lines emacs
  18. >  believes is on the screen?
  19.  
  20.  
  21. The function set-screen-height can be used to force the screen size.
  22. Alternatively define an interactive function in your ~/.emacs, e.g.:-
  23.  
  24. ;;  screen any size
  25. (defun screen-size (linum)
  26.   "Set the screen size"
  27.         (interactive "nScreen size: ")
  28.     (set-screen-height linum)
  29.    )
  30.  
  31.  
  32. Douglas
  33.  
  34. --
  35. ----------------------------------------------------------------------------
  36. Dr. Douglas GRAY STEPHENS                e-mail : gray@scr.slb.com   
  37. Schlumberger Cambridge Research          Tel/fax: 0223-325303 / 0223-311830
  38. P.O.Box 153, Cambridge CB3 0HG, England  (International prefix for UK: 44)
  39. ============================================================================
  40.