Short: Amiga GNU Emacs V1.25, sources The final (for now ...) version of my port of GNU Emacs 18.58 to the Amiga is now finished and should be available in various configurations: o binary only, fits on one disquette: All the files necessary to use emacs. Has only a subset of the lisp files, the rest may be got from a standard emacs distribution. Distribution: ftp, on amiga.physik.unizh.ch (130.60.80.80). o full amiga version: All the files necessary to compile emacs, all the lisp files, etc. Some of the source files of the Unix or VMS versions are not included. Distribution: ftp, on amiga.physik.unizh.ch (130.60.80.80). o diffs (from emacs-18.58): For those who already have the emacs 18.58 source. Distribution: ftp (also on amiga.physik.unizh.ch), mail on request. o Complete distribution, latest version Distribution: QIC-150 tape, see amiga.doc for details. Any file called emacs-18.58.LHA is an old version of emacs, and should be removed. There still remain one or two redisplay bugs, but these can be cured with Control L. Any reports on a consistent way to cause them would be greatly appreciated. The main missing feature is asynchronous processes (the start-process function), which allows use of shell-mode, etc. The ARexx interface can be used for similar results, but requires rewriting all the lisp code. This port was originally based on that of Mark Henning (gnuemacs v1.10), but after having made rather extensive modifications, added numerous features and ported 18.57 (and now 18.58), I decided to release it myself. Since the previous release (v1.24) (for which the lack of source caused some discontent in high circles ... I will avoid such lightning bolts in the future) there have been only minor changes: o Bug fixes: - call-process shouldn't crash any more. - the arexx interface has changed slightly (it is now more flexible). - the memory loss in amiga-set-geometry has been corrected. - the redisplay bug which caused the 2nd window of a screen to be cleared has been fixed. - small fixes. o New features: - -malloc & -pure switches to allow loading of more files while dumping emacs without having to recompile the source. - -prealloc switch to reserve some memory for emacs at startup. - iconify command to get emacs window out of the way. - Doesn't require NULL: for call-process anymore. - Remapping of BS as DEL and DEL as C-d is optional. - Help on menu items with the help key. - Menu major mode for editing menus. This version still REQUIRES AmigaDOS 2.04 !! The main changes from emacs v1.10 are: -------------------------------------- - Emacs now dumps !! (and anybody who thinks it was easy ...) for greatly reduced load times. - Mouse support (similar to the X11 version). - Amiga menus can be defined (see the .emacs-menu.menu file). - An AREXX port (EMACSn, where n is normally 1) allows sending Emacs Lisp code to GNU Emacs. You can also send AREXX messages from Emacs. - Supports Amiga keymaps (use the left alt key as a meta-key, the right one as in the standard keymaps, eg left alt-f moves forward one word, right alt-f e inserts an e-acute). - Emacs now runs in a (resizeable) window on the Workbench screen. It can be sent onto any public screen via the 'amiga-set-geometry' function. (use: (amiga-set-geometry x y width height )) - Clipboard support. If you cut simething in Emacs it gets inserted in the clipboard, if you put some text into the clipboard it gets inserted in Emacs kill-ring. - Redisplay is much faster for a variety of reasons (mainly a large number of hours of work...). This version is (just) useable on a 68000. Miscellaneous: ------------- - I changed the default version control to never, meaning that Emacs will not make numbered backups. Redefine 'version-control' in your .emacs file if you prefer otherwise (but this makes saving a file much slower because the whole directory must be searched first). - You can set the foreground & background pens with the 'amiga-set-foregorund-color' and 'amiga-set-background-color' commands. - All the standard Amiga characters are displayed, not just 7-bit ASCII. - Emacs uses the system default font, or any non-proportional font with the -fn option (eg emacs -fn topaz 11) or the 'amiga-set-font' command. - Numerous small changes here and there I've forgotten ... Problems: -------- On an Amiga 3000, all the addresses must have identical upper 6 bits. This shouldn't be a problem as long as you have less than 64 megabytes of memory or that you run out of fast memory. (Emacs should just say 'Memory exhausted', or refuse to load if you have problems). If you get this message while using emacs, try the -prealloc switch to reserve some memory for emacs when it is run. There are some bugs in my modifications to the redisplay code. Reproducible problems would help here. The occasional problem also shows up because AmigaDOS isn't UNIX. The emacs startup script (s:emacs) increases the stack size to 40000 if necessary. If this isn't enough (you will get a stack overflow message and emacs will quit), try increasing this value by modifying the script. Thanks: ------ To Mark Henning for having provided the initial ports, and the impetus to make my own changes. I could thus also use emacs to hack emacs... To Philippe Morel and Jean-Marc Vandel, for early and late testing. To all the people who sent me messages with bug reports, or just encouragements. {add some names} David Gay dgay@di.epfl.ch Ecole Polytechnique Federale de Lausanne, Switzerland. Laboratoire d'Informatique Technique. Home Address: 19 Chemin de la Source 1296 Coppet Vaud Switzerland Tel: +(41) 22 776 35 81