From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Benjamin Rutt Newsgroups: gmane.emacs.help Subject: Re: forward-word and NamesLikeThis Date: Sun, 18 Jun 2006 23:36:00 GMT Organization: Road Runner High Speed Online http://www.rr.com Message-ID: <8764iy11d1.fsf@penguin.brutt.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1150674094 14676 80.91.229.2 (18 Jun 2006 23:41:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 18 Jun 2006 23:41:34 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 19 01:41:33 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fs6tX-0008Lv-9a for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Jun 2006 01:41:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fs6tW-0000yC-QZ for geh-help-gnu-emacs@m.gmane.org; Sun, 18 Jun 2006 19:41:30 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!198.186.190.250.MISMATCH!transit3.readnews.com!news-out.readnews.com!news-east.rr.com!news.rr.com!news-server.columbus.rr.com!tornado.ohiordc.rr.com.POSTED!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help Mail-Copies-To: nobody User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:pbVMUgsauCLUb+hQ3mToXqVmZ1c= Original-Lines: 17 Original-NNTP-Posting-Host: 65.186.73.236 Original-X-Complaints-To: abuse@rr.com Original-X-Trace: tornado.ohiordc.rr.com 1150673760 65.186.73.236 (Sun, 18 Jun 2006 19:36:00 EDT) Original-NNTP-Posting-Date: Sun, 18 Jun 2006 19:36:00 EDT Original-Xref: shelby.stanford.edu gnu.emacs.help:139909 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:35533 Archived-At: Gregory Novak 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