jimb@tekcbi.UUCP (Jim Boland) (11/12/85)
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