Article View: gnu.epoch.misc
Article #1892Zmacs-like highlighting
From: Heinz Schmidt
Date: Wed, 26 Jun 1991 00:21
Date: Wed, 26 Jun 1991 00:21
39 lines
2494 bytes
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
Technical Details
Message-ID:
<9106260021.AA01400@icsib37.Berkeley.EDU>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbageReferences:
<19910625211638.1.VANBAALEN@lira.tc.pw.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc7ee,b869a454a8be92db,start X-Google-Attributes: gidfc7ee,public X-Google-ArrivalTime: 1991-06-25 22:36:43 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage From: hws@ICSI.BERKELEY.EDU (Heinz Schmidt) Newsgroups: gnu.epoch.misc Subject: Zmacs-like highlighting Message-ID: <9106260021.AA01400@icsib37.Berkeley.EDU> Date: 26 Jun 91 00:21:01 GMT References: <19910625211638.1.VANBAALEN@lira.tc.pw.com> Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 39