home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.editors
- Path: sparky!uunet!cs.utexas.edu!geraldo.cc.utexas.edu!slcs.slb.com!aa.cad.slb.com!bl.cad.slb.com!nntpserver!shibuya
- From: shibuya@bl.applicon.slb.com (Hiroto Shibuya)
- Subject: Re: scroll up/down
- In-Reply-To: shibuya@bl.applicon.slb.com's message of Fri, 8 Jan 1993 00:58:20 GMT
- Message-ID: <SHIBUYA.93Jan11195252@chute.bl.applicon.slb.com>
- Sender: usenet@mailhost.bl.cad.slb.com (USENET Administrator)
- Reply-To: shibuya@bl.applicon.slb.com
- Organization: Applicon; Billerica, MA (USA)
- References: <SHIBUYA.93Jan7195820@chute.bl.applicon.slb.com>
- Date: Tue, 12 Jan 1993 00:52:52 GMT
- Lines: 44
-
- Following is a discussion found in Emacs Lisp Manual (thanks to
- petonic@hal.com for pointing it out) which clearly state the existance
- of two different way to look at the direction of scroll up/down, and
- the reason for the choice made by Emacs.
-
- ------------------------------------------------
-
- Vertical Scrolling
- ==================
-
- Vertical scrolling means moving the text up or down in a window.
- It works by changing the value of the window's display-start
- location. It may also change the value of `window-point' to keep it
- on the screen.
-
- In the commands `scroll-up' and `scroll-down', the directions "up"
- and "down" refer to the motion of the text in the buffer at which you
- are looking through the window. Imagine that the text is written on
- a long roll of paper and that the scrolling commands move the paper
- up and down. Thus, if you are looking at text in the middle of a
- buffer and repeatedly call `scroll-down', you will eventually see the
- beginning of the buffer.
-
- Some people have urged that the opposite convention be used: they
- imagine that the window moves over text that remains in place. Then
- "down" commands would take you to the end of the buffer. This view
- is more consistent with the actual relationship between windows and
- the text in the buffer, but it is less like what the user sees. The
- position of a window on the terminal does not move, and short
- scrolling commands clearly move the text up or down on the screen.
- We have chosen names that fit the user's point of view.
-
- ------------------------------------------------
-
- I'm still curious which choice other editors are making.
-
- Hiroto Shibuya
-
- Applicon Inc.
- Billerica, MA
- U.S.A.
-
-
-
-