[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hook into window's content flux?

From: Stefan Monnier
Subject: Re: hook into window's content flux?
Date: Tue, 04 Apr 2006 16:22:04 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> 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.

- window-scroll-functions (when a window's starting pos changes)
- fontification-functions (when a piece of text needs to be displayed)
- before/after-change-functions (when a piece of text is modified)
- window-start and window-end
- pre/post-command-hook (run before/after each command, so you can detect
  cursor motion)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]