[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How can I be notified whenever point of a buffer changed?
From: |
Kai Grossjohann |
Subject: |
Re: How can I be notified whenever point of a buffer changed? |
Date: |
Thu, 12 Apr 2007 10:09:48 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.93 (gnu/linux) |
"Ender" <oldcode@gmail.com> writes:
> I want a user defined function be called whenever point of a desired
> buffer was changed, how can I do this stuff?
The following info node explains the point-left and point-entered text
properties:
(elisp)Special Properties
I found it like this:
M-x apropos RET point.*hook RET
This mentioned a variable inhibit-point-motion-hooks. The
documentation of this variable mentions the point-left and
point-entered text properties.
So I went to the elisp info file (Emacs Lisp Reference), hit the i key
to search the index and entered point-left as the search string.
Kai