🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.emacs
Article #9798

Announsing Follow Mode V1.0

#9798
From: Anders Lindgren
Date: Thu, 16 Nov 1995 00:00
75 lines
3397 bytes
			Follow Mode  V1.0
			~~~~~~~~~~~~~~~~~
		     for Emacs 19 and XEmacs


Follow Mode connects two or more windows, showing the same buffer,
into one tall "virtual window".  Practically, when using a machine
with a large graphical display, you can work with 144 lines of text
compared to the normal 72 lines (your mileage may vary).


The feeling of a "virtual window" has been accomplished by the use
of two major techniques:

* We make sure that the windows always displays adjacent sections of
  the buffer. This means that whenever one window is moved, all the
  others will follow.  (Hence the name Follow Mode.)

* Should the point end up outside a window, another window displaying
  that point is selected, if possible.  This makes it possible to 
  walk between windows using normal cursor movement commands.


Example: 

Assuming that your Emacs displays a big file in two side-by-side
windows, when using Follow Mode the display will look like:

		     +----------+----------+
		     |line   1  |line  73  |
		     |line   2  |line  74  |
		     |line   3  |line  75  |
		         ...        ...   
		     |line  71  |line 143  |
		     |line  72  |line 144  |
		     +----------+----------+


I know from experience that it is difficult to describe Follow Mode
without actually giving a demonstration.  Since I really can't invite
you all, I have created a little demonstration as a www page:
	http://www.csd.uu.se/~andersl/follow.shtml


You can get the source to Follow Mode from:
	ftp://ftp.csd.uu.se/pub/users/andersl/emacs/follow.el

It is released under the GNU General Public License.

I will submit Follow Mode to the Ohio elisp archive in a few days.




Follow Mode has proven itself stable in beta-testing over a period of
several months.

Since Follow Mode is implemented as a minor mode it can be used
together almost every major mode.

Follow Mode has been tested on Emacs 19.28, Emacs 19.29 and XEmacs
19.12.

		-- Anders Lindgren, andersl@csd.uu.se.


char*a="char*a=%c%s%c;main(){printf(a,34,a,34);}";main(){printf(a,34,a,34);}

  //  Anders Lindgren, Computer Science student at Uppsala University
\X/   andersl@csd.uu.se, <a href="http://www.csd.uu.se/~andersl">www</a>
-- 
char*a="char*a=%c%s%c;main(){printf(a,34,a,34);}";main(){printf(a,34,a,34);}

  //  Anders Lindgren, Computer Science student at Uppsala University
\X/   andersl@csd.uu.se, <a href="http://www.csd.uu.se/~andersl">www</a>
Technical Details
Message-ID: <ubdzqdwzeyq.fsf@mamba.csd.uu.se>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,e1f2b12995813816,start
X-Google-Attributes: gid103b8b,public
X-Google-Thread: 106243,e1f2b12995813816,start
X-Google-Attributes: gid106243,public
X-Google-Thread: 1040f6,e1f2b12995813816,start
X-Google-Attributes: gid1040f6,public
X-Google-Thread: 107729,e1f2b12995813816,start
X-Google-Attributes: gid107729,public
X-Google-Thread: 102b9a,e1f2b12995813816,start
X-Google-Attributes: gid102b9a,public
From: andersl@csd.uu.se (Anders Lindgren)
Subject: Announsing  Follow Mode V1.0
Date: 1995/11/16
Message-ID: <ubdzqdwzeyq.fsf@mamba.csd.uu.se>
X-Deja-AN: 119646550
distribution: world
to: gnu-emacs-announce@cis.ohio-state.edu
followup-to: poster
organization: Computing Science Dep., University of Uppsala, Sweden.
newsgroups: comp.emacs,comp.emacs.xemacs,gnu.emacs.sources,gnu.emacs.help,gnu.emacs.announce