unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Navigating Mode-Specific Language Tokens
@ 2010-01-13 10:33 Nordlöw
  2010-01-13 16:44 ` Glauber Alex Dias Prado
  0 siblings, 1 reply; 2+ messages in thread
From: Nordlöw @ 2010-01-13 10:33 UTC (permalink / raw)
  To: help-gnu-emacs

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


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

* Re: Navigating Mode-Specific Language Tokens
  2010-01-13 10:33 Navigating Mode-Specific Language Tokens Nordlöw
@ 2010-01-13 16:44 ` Glauber Alex Dias Prado
  0 siblings, 0 replies; 2+ messages in thread
From: Glauber Alex Dias Prado @ 2010-01-13 16:44 UTC (permalink / raw)
  To: Nordlöw; +Cc: help-gnu-emacs

Nordlöw <per.nordlow@gmail.com> writes:

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

It is called languide and is part of versor:
http://emacs-versor.sourceforge.net/

>
> 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




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

end of thread, other threads:[~2010-01-13 16:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-13 10:33 Navigating Mode-Specific Language Tokens Nordlöw
2010-01-13 16:44 ` Glauber Alex Dias Prado

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).