Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 (Tek) 9/28/84 based on 9/17/84; site tekcbi.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!mhuxn!mhuxr!mhuxt!houxm!mtuxo!mtunh!vax135!cornell!uw-beaver!tektronix!tekcbi!jimb From: jimb@tekcbi.UUCP (Jim Boland) Newsgroups: net.emacs Subject: scroll-region Message-ID: <399@tekcbi.UUCP> Date: Tue, 12-Nov-85 14:39:10 EST Article-I.D.: tekcbi.399 Posted: Tue Nov 12 14:39:10 1985 Date-Received: Thu, 14-Nov-85 20:34:56 EST Distribution: net Organization: Tektronix, Beaverton OR Lines: 27 1. Is there a way to set the scroll region in Emacs? For instance, The DEC editor EDT allows you to set the scroll region to what you want. This is done with a SET SCROLL 4:16. This sets the region to between lines 4 and 16. Can this be done in emacs? How? 2. How (in .emacs_pro) can you set the default buffer to "main" and then have the file you are editing be automatically be placed into that buffer rather than having a buffer with the name of your file as the name of the buffer. I know you can do this once you are in the edit mode, but how do you do it automatically? 3. Is there a way (using a defun) to highlight selected regions? As in EDT, when you select a region (keypad . ) moving the cursor causes the text you have gone over to be reveres videoed (sp) until you cut it to some buffer or whatever. Can this be accomplished in emacs. I have tried using functions that when I set-mark, I tell the terminal to go to reverse video and when I cut-to-buffer I tell it to go to normal video. But it does not work. If I go to text off the screen and cause the screen to scroll, the new text sort of gets reversed in some strange way but that is not what I am after. Yes, I am sortof making my emacs resemble EDT's keypad strokes. Please excuse if this is all elementary to some, but we are severely lacking in documentation other than the 1983 Gosling @CMU writeup. Sometimes it is a little incomplete, also jimb@tekcbi