unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* c-mode and underscore
@ 2009-07-07 22:56 geophile
  2009-07-07 23:58 ` Miles Bader
  2009-07-08  2:16 ` Xah Lee
  0 siblings, 2 replies; 7+ messages in thread
From: geophile @ 2009-07-07 22:56 UTC (permalink / raw)
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-07-08 18:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-07 22:56 c-mode and underscore geophile
2009-07-07 23:58 ` 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

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).