🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #948

Motion events in epoch

#948
From: William M. Perry
Date: Fri, 02 Apr 1993 15:34
23 lines
1772 bytes
Hello everyone,
   I'm new to epoch, but am trying to get the World Wide Web browser for
emacs that I'm writing to highlight any links the mouse moves over (ala
lemacs' mode-motion-hook).  It was simple to do in lemacs, but I can't
quite figure out how to do it in epoch.

   I can write a mouse handler function that gets point under cursor and
messages it and then push it on the handler stack with 'motion as the
event.  But it only gets called when a mouse button is down.

   Is there any (reasonable) way to get around this other than recompiling
epoch with #define ALL_MOTIONS in config.h?  I'm going to recompile later
today just for the heck of it, but most people using this browser won't be
able to do things like that. :)

   What I need is something that will tell me when the mouse cursor moves
over a zone, and if the data segment of that zone matches (w3 . ###) and
that ### is in an assoc list, then highlight the zone until the cursor
leaves the zone.

   Thanks for any tips/pointers.

-Bill Perry
Technical Details
Message-ID: <WMPERRY.93Apr2103417@raisin.ucs.indiana.edu>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!louie!udel!gatech!emory!nigel.msen.com!sdd.hp.com!zaphod.mps.ohio-state.edu!usc!sol.ctr.columbia.edu!usenet.ucs.indiana.edu!usenet!wmperry

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,fc7b0fa376c58bcb,start
X-Google-Attributes: gidfc7ee,public
X-Google-ArrivalTime: 1993-04-02 07:52:45 PST
Newsgroups: gnu.epoch.misc
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!louie!udel!gatech!emory!nigel.msen.com!sdd.hp.com!zaphod.mps.ohio-state.edu!usc!sol.ctr.columbia.edu!usenet.ucs.indiana.edu!usenet!wmperry
From: wmperry@raisin.ucs.indiana.edu (William M. Perry)
Subject: Motion events in epoch
Message-ID: <WMPERRY.93Apr2103417@raisin.ucs.indiana.edu>
Sender: news@usenet.ucs.indiana.edu (USENET News System)
Nntp-Posting-Host: raisin.ucs.indiana.edu
Organization: Computer Science Student, Indiana University
Date: Fri, 2 Apr 1993 15:34:17 GMT
Lines: 23