Elena<egarrulo@gmail.com> writes:
Hello,
is there some elisp code to move by tokens when a programming mode is
active? For instance, in the following C code:
double value = f ();
the point - represented by | - would move like this:
|double value = f ();
double |value = f ();
double value |= f ();
double value = |f ();
double value = f |();
double value = f (|);
double value = f ()|;
Thanks.
Emacs does not know about tokens, but, accidentally, cc-mode has
functions c-forward-token-1 and c-forward-token-2. You only have to
write a wrapper command for one of them.