From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kgold@watson.ibm.com (kgold) Newsgroups: gmane.emacs.help Subject: Re: word delimiter Date: 4 Mar 2003 22:14:08 GMT Organization: IBM T.J. Watson Research Center Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1046818703 13336 80.91.224.249 (4 Mar 2003 22:58:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 4 Mar 2003 22:58:23 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 04 23:58:21 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18qKrn-000110-00 for ; Tue, 04 Mar 2003 23:26:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18qKqu-0005Ih-04 for gnu-help-gnu-emacs@m.gmane.org; Tue, 04 Mar 2003 17:25:36 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.uchicago.edu!vixen.cso.uiuc.edu!uwm.edu!newsfeed.cs.utexas.edu!geraldo.cc.utexas.edu!an02.austin.ibm.com!ausnews.austin.ibm.com!newsfeed.btv.ibm.com!news.btv.ibm.com!kgold Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: alpha.watson.ibm.com Original-X-Trace: news.btv.ibm.com 1046816048 31862 9.2.16.245 (4 Mar 2003 22:14:08 GMT) Original-X-Complaints-To: news@btv.ibm.com Original-NNTP-Posting-Date: 4 Mar 2003 22:14:08 GMT X-Newsreader: xrn 9.01 Originator: kgold@watson.ibm.com Original-Xref: shelby.stanford.edu gnu.emacs.help:110820 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:7324 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:7324 Sample .emacs code for C, C++, Java: (add-hook 'c-mode-common-hook (function (lambda () (modify-syntax-entry ?_ "w" c++-mode-syntax-table) (modify-syntax-entry ?_ "w" c-mode-syntax-table) (modify-syntax-entry ?_ "w" java-mode-syntax-table) ))) Peter Lee writes: > Can someone tell me where (or if) I can configure word delimiters? > Currently forward/backward-word stops on underscores for me. ie > m_nCount. -- -- Ken Goldman kgold@watson.ibm.com 914-784-7646