Thank you so much.  This is even better!

> -----Original Message-----
> From: Mynsted, Mark A. [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 25, 2001 9:06 AM
> To: Schewe, Jon (MN65); Paul Kinnucan
> Cc: ABAK Syst=E8mes; [EMAIL PROTECTED]
> Subject: RE: Character _ is a word constituent in JDE
>=20
>=20
> Why stop there, why not get CamelCase mode...=20
> http://www.hotdispatch.com/palm/view-ip-requester?ID=3D14317280
>=20
> I use it with JDE and love it.
>=20
> > -----Original Message-----
> > From: Schewe, Jon (MN65) [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, October 24, 2001 4:09 PM
> > To: 'Paul Kinnucan'
> > Cc: Schewe, Jon (MN65); ABAK Syst=E8mes; [EMAIL PROTECTED]
> > Subject: RE: Character _ is a word constituent in JDE
> >=20
> >=20
> > What exactly do you expect to change if I run this=20
> > modify-syntax-entry?
> > Granted I'm using XEmacs, so I could be missing something=20
> > already, but I've
> > executed this and the only change I see is that M-b does what=20
> > the c-mode
> > thing when walking across variables with underscores in them.=20
> >  Highlighting
> > looks exactly the same.
> >=20
> > > -----Original Message-----
> > > From: Paul Kinnucan [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, October 24, 2001 3:59 PM
> > > To: Paul Kinnucan
> > > Cc: Schewe, Jon (MN65); ABAK Syst=E8mes; [EMAIL PROTECTED]
> > > Subject: RE: Character _ is a word constituent in JDE
> > >=20
> > >=20
> > > Paul Kinnucan writes:
> > >  > Schewe, Jon  (MN65) writes:
> > >  >  > Easy.  Put this chunk of text in C mode and JDE mode
> > >  >  >=20
> > >  >  > void method() {
> > >  >  >   int var_bar;
> > >  >  > }
> > >  >  >=20
> > >  >  > Now position the cursor on the ; and hit meta-b.  In=20
> > > c-mode the cursor jumps
> > >  >  > to the b, in jde-mode it jumps to the v.  I'm sure=20
> > > there are other places
> > >  >  > this comes into play, but this is the most annoying one=20
> > > about JDE.
> > >  >  >=20
> > >  >=20
> > >  > I think the jde-mode interpretation is correct and=20
> > > preferable. The word is var_bar not bar. However, I will add=20
> > > a customization variable to let people who care deeply about=20
> > > this issue to choose the interpretation the JDE uses. Of=20
> > > course, if you choose the c-mode interpretation, you will not=20
> > > get syntax highlighting for names that begin with=20
> > > underscores, which is, if I recall correctly, the original=20
> > > reason cited by people who asked for this feature.
> > >  >=20
> > >  > - Paul
> > > =20
> > > I forgot to add that, meanwhile, you can reinstate the c-mode
> > > interpretation by inserting the following form
> > >=20
> > > (modify-syntax-entry ?_ " ")
> > >=20
> > > into your jde-mode hook function.
> > >=20
> > > - Paul
> > >=20
> >=20
>=20


Reply via email to