From: geophile <jack.orenstein@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: c-mode and underscore
Date: Tue, 7 Jul 2009 15:56:29 -0700 (PDT) [thread overview]
Message-ID: <9168430a-e1d0-4f6c-8b4f-4eae95e4b239@h2g2000yqg.googlegroups.com> (raw)
I am trying to get c-mode to treat underscore as a word, so that
forward-word backward-word don't stop on underscores.
My .emacs file includes:
(modify-syntax-entry ?_ "w" c-mode-syntax-table)
which does not appear to be effective. But if I run this command
manually, it is effective.
I'm pretty sure that the line above is being reached in my .emacs
file, as later commands are effective.
Any idea what I'm doing wrong?
Jack Orenstein
next reply other threads:[~2009-07-07 22:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-07 22:56 geophile [this message]
2009-07-07 23:58 ` c-mode and underscore Miles Bader
2009-07-08 2:16 ` Xah Lee
2009-07-08 5:40 ` Kevin Rodgers
[not found] ` <mailman.2043.1247031632.2239.help-gnu-emacs@gnu.org>
2009-07-08 10:44 ` Xah Lee
2009-07-08 10:52 ` Alan Mackenzie
2009-07-08 18:57 ` geophile
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=9168430a-e1d0-4f6c-8b4f-4eae95e4b239@h2g2000yqg.googlegroups.com \
--to=jack.orenstein@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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).