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

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

Navigating Mode-Specific Language Tokens


From: Nordlöw
Subject: Navigating Mode-Specific Language Tokens
Date: Wed, 13 Jan 2010 02:33:45 -0800 (PST)
User-agent: G2/1.0

Has anyone written a function for navigating/iterating/forward/
backward mode-specifc (lexical) language tokens?

I always get frustrated when I navigate C-syntax-styled code in Emacs
after being used to the elegant way of navigating expression-list-
trees in lisp-mode.

I really believe the coding experience of Emacs would be enhanced
greatly enhanced in these cc-like modes if we had forward/backward-
token(). I think I would bind to M-f/b.

The function semantic-flex or semantic-lex-c-... can be used do the
job but how do I know at what character to start the first time I do
forward/backward-token?

Thanks in advance,
Nordlöw


reply via email to

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