🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Jeff Van Baalen Tue, 25 Jun 1991 21:16
Zmacs-like highlighting
#1893
Author: Jeff Van Baalen
Date: Tue, 25 Jun 1991 21:16
6 lines
717 bytes
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
----
Zmacs-like highlighting
#1892
Author: Heinz Schmidt
Date: Wed, 26 Jun 1991 00:21
39 lines
2494 bytes
  >   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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads