all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: hook into window's content flux?
Date: Tue, 04 Apr 2006 16:22:04 -0400	[thread overview]
Message-ID: <87zmj1hz7i.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <20060404135012.23333816A@planetmath.cc.vt.edu> (Joe Corneli's message of "Tue, 4 Apr 2006 09:50:12 -0400 (EDT)")

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


        Stefan

  parent reply	other threads:[~2006-04-04 20:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-04 13:50 hook into window's content flux? Joe Corneli
2006-04-04 18:38 ` Eli Zaretskii
2006-04-04 20:22 ` Stefan Monnier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-04-03 19:43 Joe Corneli
2006-04-04 16:42 ` Kevin Rodgers
2006-04-05  0:48   ` Joe Corneli
2006-04-05  1:13     ` Joe Corneli
2006-04-05  1:12 ` Joe Corneli
2006-04-05  3:37   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zmj1hz7i.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.