
             ZapNewMail, a Zap syntax colouring mode
             =======================================

1.0 Features
============

Here is ZapNewMail, a !Zap syntax colouring mode for dealing with mail.

I feel a bit like I am stepping on Darren Salt's territory here, so
apologies to him, and here's hoping I keep him on his toes.

This mode was written because some aspects of Darren's mode did not
siit me.  In particular I had difficulties in viewing mail files
containing more than one message.

My mode has a different style of syntax-colouring from Darren's, but
currently is otherwise very spartan with no bells and whistles.  I do
not intend to duplicate the functionality of Darren's mode, but rather to
provide an alternative mail viewing and editing environment.  Note that
some of the commands provided by Darren's module will work even if his
mode is not currently displaying the file.

This is an early version of my mode.   I hope to implenent some of the
features present in Darren Salt's mode which would not be otherwise
available as time passes.

The module contains some enhancements to the cursor keys so that
when they are used in combination with the shift key they behave in a
more appropriate manner than when is in text mode.  These routines have
been stolen from Martin Ebourne's C mode and are documented by him in
his own directory.  Basically they make the shift-cursor combinations
pause more frequently and more intelligently step through the code.
Martin has kindly given me his permission to use his code.

Although the author welcomes correspondence concerning this mode, he
makes no cliam that it is bug free and, it is not guaranteed to perform
any particular function.  It is to be used entirely at one's own risk.

This is Freeware, and may be distributed freely provided that all the
files remain intact.

2.0 Installation
================

Copy the module "ZapNewMail" into an appropriately-named subdirectory of
the "3rdParty" directory inside the !Zap application.

In the file called "External", in the directory "!Zap.Options.Default" or
wherever the variable Zap$External points to, add lines as follows:

<Zap$3rdParty>.Tyler.ZapNewMail
	NewMail

...and a line like:

Mail		&1xxx   NewMail

...with perhaps something like...

Messenger:
&5xx	&FFF	\#\*.OLEfiles.TM\o\*		+NewMail

the ANT suite:
&5xx	&FFF	\#\*.OLEfiles.mar\o\*		+NewMail

...in your keys file.  !Zap will then need to be restarted.

3.0 History
===========

v1.02 (05-Nov-96)
    * Bug invloving "&" and ";" characters (left over from my ZapHotMeal
      module) removed.
    * Massive internal changes to fix problems at end of lines.
    * "X-" prefixed strings are now always coloured as commands.

v1.01 (02-Nov-96)
    * First release on the web.

v1.00 (30-Nov-96)
    * Very early release as a RFC to Dom Symes.

Enjoy
 _____  __  __  _____               The Mandala Centre,
|_   _||  \/  ||_   _|  11 Alexandra Road, Clifton, Bristol, BS8 2DD.
  | |  | |\/| |  | |              tim@varuna.demon.co.uk
  |_|  |_|  |_|  |_|         http://www.varuna.demon.co.uk/tmc/
