🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #146

updating region highlight

#146
From: Garr Lystad
Date: Tue, 11 Aug 1992 17:55
12 lines
979 bytes
I'm a long time Zmacs user who has been using Epoch a couple weeks. 
I'd like to be able to see the region from mark to point highlighted
whenever mark is non-nil, so I wrote a little function to make a zone
from mark to point with a style that gives the zone a different color.

The problem is that I don't know how to get the function to be called
each time point changes.  Is there some hook that I haven't found?  Or
am I maybe taking the wrong approach entirely? 

Any help on this will be much appreciated.

  -- Garr
Technical Details
Message-ID: <LYSTAD.92Aug11115509@m2.dseg.ti.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!csc.ti.com!tilde.csc.ti.com!m2.dseg.ti.com!lystad

Show Full Headers
Complete Article Headers
Newsgroups: gnu.epoch.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!csc.ti.com!tilde.csc.ti.com!m2.dseg.ti.com!lystad
From: lystad@m2.dseg.ti.com (Garr Lystad)
Subject: updating region highlight
Organization: TI DSEG, Spring Creek, Plano, Tx.
Message-ID: <LYSTAD.92Aug11115509@m2.dseg.ti.com>
Reply-To: Garr.Lystad@m2.dseg.ti.com
Distribution: gnu
Sender: lystad@m2.dseg.ti.com (Garr Lystad)
Date: Tue, 11 Aug 1992 17:55:09 GMT
Lines: 12