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

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

Re: c-mode and underscore


From: Miles Bader
Subject: Re: c-mode and underscore
Date: Wed, 08 Jul 2009 08:58:18 +0900

geophile <jack.orenstein@gmail.com> writes:
> I am trying to get c-mode to treat underscore as a word, so that
> forward-word backward-word don't stop on underscores.

Instead of doing that, try to use the "sexp" movement commands, which
move over symbols instead of words.

C-M-f = forward-sexp
C-M-b = backward-sexp
etc.

-Miles

-- 
Learning, n. The kind of ignorance distinguishing the studious.


reply via email to

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