Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!zaphod.mps.ohio-state.edu!usc!ucsd!ucbvax!KODAK.COM!nobody From: nobody@KODAK.COM (Jeff Gerstenberger) Newsgroups: comp.sys.transputer Subject: Folding editor macros for GNU Emacs Message-ID: <8912202106.AA12797@GERST.Kodak.COM> Date: 20 Dec 89 21:06:20 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 33 I have a set of GNU Emacs macros which emulate the TDS folding editor. The macros were originally supplied by Inmos (with absolutely no support implied). Apparently the original was written by Tony Curtis of Exeter University, and then subsequently modified by somebody named Erik. (I don't know any more than this, I'm just attempting to give credit where its due as best I can.) I have modified the macros quite a bit myself in an attempt to get them to more closely emulate the actions of TDS. The macros are written in LISP and should therefore be portable to any machine which can run GNU Emacs. We're currently using it on Sun 3's, Sun 4's and Sparcstations. The functions which are implemented in the macros include: open/close fold, enter/exit fold, copy fold, move fold, create/remove fold, and other "standard" editing operations (moving the cursor around, deleting lines and words, etc.). Note that filed folds are not supported. Also, in their current incarnation, the macros use Emacs' point and mark extensively - something which in general should be avoided and that experienced Emacs users may find to be a nuisance. If there is interest in the macro package I can either mail it to those who are interested, or post it in comp.sys.transputer. DISCLAIMER: This software is NOT a supported product of Eastman Kodak. Kodak assumes no responsibility for maintaining this software and is not liable for any damage it may cause during its use. We're happy to let you use it, but don't blame us if it acts up! Jeff Gerstenberger gerst@gerst.kodak.com Digital Technology Center (716) 726-7003 Eastman Kodak Company Rochester, NY 14653-5324