hws@ICSI.Berkeley.EDU (Heinz Schmidt) (06/28/91)
Archive-name: emacs/epoch/sky-mouse/1991-06-25 Archive-directory: icsi-ftp.berkeley.edu:/pub/ai/sky-mouse/ [128.32.201.55] Original-posting-by: hws@ICSI.Berkeley.EDU (Heinz Schmidt) Original-subject: Zmacs-like highlighting Reposted-by: emv@msen.com (Edward Vielmetti, MSEN) > Date: Tue, 25 Jun 91 14:16 PDT > From: Jeff Van Baalen <vanbaale@tc.pw.com> > > Has anybody written the code to highlight the current region as Symbolic's > Zmacs does? If so would you be willing to share it? > > Thanks in advance, > Jeff > ---- Some time ago I wrote a package called sky-mouse (save/kill/yank mouse) that does something like this. It works under Epoch and also under plain Emacs (with x-mouse.el). The code is on our ftp host icsi-ftp.berkeley.edu. There is a tar file under pub/ai/sky-mouse. Cf. the readme file there. It implements "What-you-mark-is-the-region" and some other "thing"s you may like in Zmacs. However regions are not always marked (for instance C-SPACE M-f does not mark the region) and highlighting may get out of sync with regions (e.g. M-f could move the cursor without extending the region marking). Rather than changing many basic region related functions it seems to me region highlighting could better be handled in the redisplay routine (perhaps in Epoch 4 or Emacs 19?). A slightly improved version (including some patches sent to me by others) is also contained in the sather distribution (a new Eiffel-like OO language). I will not get around soon to unbundle and package just the sky-mouse part. You would have to untar the distribution extract some files (contact me for a list if you care) and do some byte-compiles manually. The sather distribution is on the same host under pub/sather. -- hws -------------------------------------------------------------------------- Heinz W. Schmidt hws@icsi.berkeley.edu International Computer Science Institute, Berkeley (415) 642-4274 x175 on leave from: German Natl Research Ctr for Comp Sci, Bonn /\\/\\|;; \//\//|-- Make it as simple as possible, but not simpler -- MSEN Archive Service file verification icsi-ftp.berkeley.edu total 191 -rw-r--r-- 1 hws 5073 Apr 1 17:11 #README-# -rw-r--r-- 1 hws 2447 Feb 5 22:15 scr-title.el.Z -rw-r--r-- 1 hws 2966 Feb 5 20:30 SAMPLE-DOT.epoch.Z -rw-r--r-- 1 hws 2881 Feb 5 20:06 BLURB -rw-r--r-- 1 hws 4999 Feb 5 17:15 README- -rw-r--r-- 1 hws 79997 Feb 4 23:57 sky-mouse-1-1.tar.Z -rw-r--r-- 1 hws 11538 Feb 4 01:30 mini-cl.el.Z -rw-r--r-- 1 hws 10754 Feb 4 01:09 language-tools.el.Z -rw-r--r-- 1 hws 2384 Feb 4 01:06 epoch-util.el.Z -rw-r--r-- 1 hws 1767 Feb 4 01:06 thing.el.Z -rw-r--r-- 1 hws 1426 Jan 30 23:20 hyper-man.patch.Z -rw-r--r-- 1 hws 1829 Jan 16 19:16 common-styles.el.Z -rw-r--r-- 1 hws 59665 Dec 17 1990 sky-mouse-1-0.tar.Z -rw-r--r-- 1 hws 1816 Dec 1 1990 bitmaps.el.Z found sky-mouse ok icsi-ftp.berkeley.edu:/pub/ai/sky-mouse/