From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.help Subject: Re: How can I be notified whenever point of a buffer changed? Date: Thu, 12 Apr 2007 10:09:48 +0200 Message-ID: <86bqhuj9o3.fsf@ketchup.de.uu.net> References: <1176350448.277558.178010@q75g2000hsh.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1176365458 18714 80.91.229.12 (12 Apr 2007 08:10:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 12 Apr 2007 08:10:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 12 10:10:48 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HbuOF-0003Rb-EN for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Apr 2007 10:10:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HbuSN-0005LG-7F for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Apr 2007 04:15:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HbuRx-0005G9-Dq for help-gnu-emacs@gnu.org; Thu, 12 Apr 2007 04:14:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HbuRu-0005Ai-Kl for help-gnu-emacs@gnu.org; Thu, 12 Apr 2007 04:14:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HbuRu-0005A0-GT for help-gnu-emacs@gnu.org; Thu, 12 Apr 2007 04:14:34 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HbuNl-0008L3-7h for help-gnu-emacs@gnu.org; Thu, 12 Apr 2007 04:10:17 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HbuNV-0005bj-LL for help-gnu-emacs@gnu.org; Thu, 12 Apr 2007 10:10:08 +0200 Original-Received: from de-lt-054776l.eu.frd.uu.net ([62.191.185.105]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Apr 2007 10:10:01 +0200 Original-Received: from kai by de-lt-054776l.eu.frd.uu.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Apr 2007 10:10:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 22 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: de-lt-054776l.eu.frd.uu.net User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.93 (gnu/linux) Cancel-Lock: sha1:J/zZRY45s/JSGU8Kc/lmRIBk724= X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:42604 Archived-At: "Ender" 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