From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Sandip Chitale" Newsgroups: gmane.emacs.help Subject: Re: C++ Mode: Interpretation of Underscores In Words Date: Wed, 12 Nov 2003 16:33:45 GMT Organization: Comcast Online Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: Reply-To: Sandip Chitale NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0070904879==" X-Trace: sea.gmane.org 1068660321 17176 80.91.224.253 (12 Nov 2003 18:05:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 Nov 2003 18:05:21 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 12 19:05:19 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AJzMk-0000z3-00 for ; Wed, 12 Nov 2003 19:05:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AJzqx-0004HA-S5 for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Nov 2003 13:36:31 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!wn12feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!attbi_s03.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 81 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Original-NNTP-Posting-Host: 12.235.65.48 Original-X-Complaints-To: abuse@comcast.net Original-X-Trace: attbi_s03 1068654825 12.235.65.48 (Wed, 12 Nov 2003 16:33:45 GMT) Original-NNTP-Posting-Date: Wed, 12 Nov 2003 16:33:45 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:118170 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:14110 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:14110 This is a multi-part message in MIME format. --===============0070904879== Content-Type: multipart/alternative; boundary="----=_NextPart_000_001A_01C3A8F7.B0BE8410" This is a multi-part message in MIME format. ------=_NextPart_000_001A_01C3A8F7.B0BE8410 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable The word boundary is controlled by the syntax table. You can change the = syntax of _ to be part of the word using modify-syntax. Do C-h f modify-syntax RET to get help on the defun. This however may = affect other features that depend on syntax table. "Joe Mama" wrote in message = news:mailman.209.1068653145.2005.help-gnu-emacs@gnu.org... Hello: Given a variable like "employee_name" is there a way to make emacs = treat this as one word. Would be nice when doing commands like = "forward-word" which treats employee_name as two words. =20 Thanks in advance. -------------------------------------------------------------------------= ----- Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard ------=_NextPart_000_001A_01C3A8F7.B0BE8410 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
The word boundary is controlled by the = syntax=20 table. You can change the syntax of _ to be part of the word using=20 modify-syntax.
Do C-h f modify-syntax RET to get help = on the=20 defun. This however may affect other = features=20 that depend on syntax table.
 
"Joe Mama" <spartanquarters@yahoo.com&g= t;=20 wrote in message news:mai= lman.209.1068653145.2005.help-gnu-emacs@gnu.org...
Hello:
 
Given a variable like "employee_name" is there a way to make = emacs=20 treat this as one word.  Would be nice when doing commands=20 like "forward-word" which treats employee_name as two = words. 
 
Thanks in advance.

------=_NextPart_000_001A_01C3A8F7.B0BE8410-- --===============0070904879== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnu-emacs --===============0070904879==--