[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: forward-word and NamesLikeThis
From: |
Benjamin Rutt |
Subject: |
Re: forward-word and NamesLikeThis |
Date: |
Sun, 18 Jun 2006 23:36:00 GMT |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/22.0.50 (gnu/linux) |
Gregory Novak <novak@ucolick.org> writes:
> For a while I've wanted to make forward-word stop at each word in
> NamesLikeThis in programming modes. That is, forward-word would stop
> at the L and the T.
>
> I finally got around to looking at syntax tables and concluded that
> this isn't possible since Emacs considers each character separately,
> rather than as pairs, when deciding where forward-word should move
> to.
>
> If anyone can disprove this conclusion, I'd be grateful.
look at 'c-forward-into-nomenclature and 'c-backward-into-nomenclature
for c, c++, java modes
--
Benjamin Rutt