help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Is there an after-move-functions hook?


From: Peter Milliken
Subject: Re: Is there an after-move-functions hook?
Date: Wed, 30 Oct 2002 06:57:53 +1100

Have a look at the pre-command-hook and post-command-hook. Movement of point
is directed by "commands", after all :-)

Peter

"Alan Mackenzie" <none@example.invalid> wrote in message
uuilpa.r5.ln@acm.acm">news:uuilpa.r5.ln@acm.acm...
> i.e., something like after-changed-functions, but called each time point
> is move?
>
> My answer to the next question is this:  Suppose the user is typing in a
> string, and has got this far:
>
> "start of string
>                 ^
>                 |
>               point
>
> Should he move point away from the string without typing the terminating
> ", I would like to splash font-lock-warning-font all over the string.  As
> soon as point comes back into the string, I would restore it to the
> normal restful tasteful font-lock-string-font.
>
> Alternatively, is there any other elisp programming trick which would
> achieve this for me?
>
> --
> Alan Mackenzie (Munich, Germany)
> Email: aacm@muuc.dee; to decode, wherever there is a repeated letter
> (like "aa"), remove half of them (leaving, say, "a").
>




reply via email to

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