all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* point change hook
@ 2009-05-06  7:12 tomer
  2009-05-06  8:05 ` Lennart Borgman
  0 siblings, 1 reply; 2+ messages in thread
From: tomer @ 2009-05-06  7:12 UTC (permalink / raw)
  To: help-gnu-emacs

Is there a hook for point change.
I want to execute a function each time the point is changed.
Is it possible?
Thanks
Tomer


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

* Re: point change hook
  2009-05-06  7:12 point change hook tomer
@ 2009-05-06  8:05 ` Lennart Borgman
  0 siblings, 0 replies; 2+ messages in thread
From: Lennart Borgman @ 2009-05-06  8:05 UTC (permalink / raw)
  To: tomer; +Cc: help-gnu-emacs

On Wed, May 6, 2009 at 9:12 AM, tomer <tomer1levin@walla.co.il> wrote:
> Is there a hook for point change.
> I want to execute a function each time the point is changed.
> Is it possible?
> Thanks
> Tomer

Hi Tomer,

I suspect you want to run this hook after each command that has
changed the point. In that case you can use pre-command-hook or
post-command-hook. (Together with saving the old point somehow of
course.)




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

end of thread, other threads:[~2009-05-06  8:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-06  7:12 point change hook tomer
2009-05-06  8:05 ` Lennart Borgman

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.