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

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

Re: C++ Mode: Interpretation of Underscores In Words


From: Sandip Chitale
Subject: Re: C++ Mode: Interpretation of Underscores In Words
Date: Wed, 12 Nov 2003 16:33:45 GMT

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" <address@hidden> wrote in message news:address@hidden...
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. 
 
Thanks in advance.


reply via email to

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