Article View: gnu.emacs.bug
Article #98700Re: syntax entry for _ in C mode
From: Stephen Gildea
Date: Mon, 11 Mar 1991 14:49
Date: Mon, 11 Mar 1991 14:49
17 lines
1315 bytes
1315 bytes
From: sundar@ai.mit.edu (Sundar Narasimhan)
Date: Thu, 7 Mar 91 14:53:21 EST
Shouldn't the default syntax entry for the character _ (underscore)
be "w", a word component, rather than symbol component?
The behavior is more useful the way it is. If you want to treat
underscore as just another character in a C identifier, use the symbol
motion commands. But with underscore a word separator, the word
motion commands are useful if you want to move into the middle of a
long identifier containing underscores. (Too bad Xlib names don't use
underscores :-)
< Stephen
MIT X Consortium
Technical Details
Message-ID:
<9103111449.AA15648@alex.lcs.mit.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbageReferences:
<9103071953.AA03465@fiber-one>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,1bf83eeaa785a436 X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1991-03-12 00:03:43 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage From: gildea@EXPO.LCS.MIT.EDU (Stephen Gildea) Newsgroups: gnu.emacs.bug Subject: Re: syntax entry for _ in C mode Message-ID: <9103111449.AA15648@alex.lcs.mit.edu> Date: 11 Mar 91 14:49:33 GMT References: <9103071953.AA03465@fiber-one> Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: MIT X Consortium Lines: 17 Approved: bug-gnu-emacs@prep.ai.mit.edu