unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* hook into window's content flux?
@ 2006-04-04 13:50 Joe Corneli
  2006-04-04 18:38 ` Eli Zaretskii
  2006-04-04 20:22 ` Stefan Monnier
  0 siblings, 2 replies; 5+ messages in thread
From: Joe Corneli @ 2006-04-04 13:50 UTC (permalink / raw)



(This is a copy of a message I posted to help-gnu-emacs@gnu.org
yesterday, haven't heard back yet.  Anyone?)

I'd like to run a function to examine the contexts that are being
displayed in my Emacs windows, whenever these change.  I'm
particularly interested in content changes related to scrolling; when
I press next-line or scroll-up, etc., the window's content changes
even though the buffer is not modified.

There are two things I think I think I'll need to know to achieve this.

1. Are there any hooks I can add to that run when the window's content
   changes?

2. Are there variables that indicate the beginning and end positions
   of the string that is being displayed on the screen?

Additional motion-dependent question, extending 1, is: are there hooks
I can run when the cursor changes position (whether or not the
window's content changes)?

These questions relate to my work on the Arxana hypertext system for
Emacs, 

http://lists.gnu.org/archive/html/gnu-emacs-sources/2006-03/msg00017.html

and particularly to the problem of contextual display of annotations.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-04-05  3:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20060403194339.E5966816A@planetmath.cc.vt.edu>
2006-04-05  1:12 ` hook into window's content flux? Joe Corneli
2006-04-05  3:37   ` Eli Zaretskii
2006-04-04 13:50 Joe Corneli
2006-04-04 18:38 ` Eli Zaretskii
2006-04-04 20:22 ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).