home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / editors / 3204 < prev    next >
Encoding:
Text File  |  1993-01-12  |  2.3 KB  |  58 lines

  1. Newsgroups: comp.editors
  2. Path: sparky!uunet!cs.utexas.edu!geraldo.cc.utexas.edu!slcs.slb.com!aa.cad.slb.com!bl.cad.slb.com!nntpserver!shibuya
  3. From: shibuya@bl.applicon.slb.com (Hiroto Shibuya)
  4. Subject: Re: scroll up/down
  5. In-Reply-To: shibuya@bl.applicon.slb.com's message of Fri, 8 Jan 1993 00:58:20 GMT
  6. Message-ID: <SHIBUYA.93Jan11195252@chute.bl.applicon.slb.com>
  7. Sender: usenet@mailhost.bl.cad.slb.com (USENET Administrator)
  8. Reply-To: shibuya@bl.applicon.slb.com
  9. Organization: Applicon; Billerica, MA (USA)
  10. References: <SHIBUYA.93Jan7195820@chute.bl.applicon.slb.com>
  11. Date: Tue, 12 Jan 1993 00:52:52 GMT
  12. Lines: 44
  13.  
  14. Following is a discussion found in Emacs Lisp Manual (thanks to
  15. petonic@hal.com for pointing it out) which clearly state the existance
  16. of two different way to look at the direction of scroll up/down, and
  17. the reason for the choice made by Emacs.
  18.  
  19. ------------------------------------------------
  20.  
  21. Vertical Scrolling
  22. ==================
  23.  
  24.    Vertical scrolling means moving the text up or down in a window.
  25. It works by changing the value of the window's display-start
  26. location.  It may also change the value of `window-point' to keep it
  27. on the screen.
  28.  
  29.    In the commands `scroll-up' and `scroll-down', the directions "up"
  30. and "down" refer to the motion of the text in the buffer at which you
  31. are looking through the window.  Imagine that the text is written on
  32. a long roll of paper and that the scrolling commands move the paper
  33. up and down.  Thus, if you are looking at text in the middle of a
  34. buffer and repeatedly call `scroll-down', you will eventually see the
  35. beginning of the buffer.
  36.  
  37.    Some people have urged that the opposite convention be used: they
  38. imagine that the window moves over text that remains in place.  Then
  39. "down" commands would take you to the end of the buffer.  This view
  40. is more consistent with the actual relationship between windows and
  41. the text in the buffer, but it is less like what the user sees.  The
  42. position of a window on the terminal does not move, and short
  43. scrolling commands clearly move the text up or down on the screen.
  44. We have chosen names that fit the user's point of view.
  45.  
  46. ------------------------------------------------
  47.  
  48. I'm still curious which choice other editors are making.
  49.  
  50.                     Hiroto Shibuya
  51.             
  52.                     Applicon Inc.
  53.                     Billerica, MA
  54.                     U.S.A.
  55.  
  56.  
  57.  
  58.