From: "Sandip Chitale" <sandipchitale@nospam.comcast.net>
Subject: Re: C++ Mode: Interpretation of Underscores In Words
Date: Wed, 12 Nov 2003 16:33:45 GMT [thread overview]
Message-ID: <Jhtsb.181286$Tr4.504347@attbi_s03> (raw)
In-Reply-To: mailman.209.1068653145.2005.help-gnu-emacs@gnu.org
[-- Attachment #1.1: Type: text/plain, Size: 756 bytes --]
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" <spartanquarters@yahoo.com> 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.
Thanks in advance.
------------------------------------------------------------------------------
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
[-- Attachment #1.2: Type: text/html, Size: 1569 bytes --]
[-- Attachment #2: Type: text/plain, Size: 151 bytes --]
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
next prev parent reply other threads:[~2003-11-12 16:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.209.1068653145.2005.help-gnu-emacs@gnu.org>
2003-11-12 15:38 ` C++ Mode: Interpretation of Underscores In Words Stefan Monnier
2003-11-12 16:33 ` Sandip Chitale [this message]
2003-11-12 16:57 ` marc0
2003-11-12 18:54 ` kgold
2003-11-12 15:03 Joe Mama
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='Jhtsb.181286$Tr4.504347@attbi_s03' \
--to=sandipchitale@nospam.comcast.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).