[Sablevm-bugs] [ sablevm-Bugs-704533 ] types should end in _t for better syntax highlighting
Brought to you by:
egagnon
From: SourceForge.net <no...@so...> - 2003-03-18 21:28:52
|
Bugs item #704533, was opened at 2003-03-16 10:50 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105523&aid=704533&group_id=5523 Category: Wishlist Group: SableVM Status: Open >Resolution: Out of Date Priority: 2 Submitted By: Chris Pickett (ihatemcgill) Assigned to: Etienne M. Gagnon (egagnon) Summary: types should end in _t for better syntax highlighting Initial Comment: Change _svmt_* to _svmt_*_t for better syntax highlighting in all C files. It really is *much* more readable, even if there's an extra "_t". ---------------------------------------------------------------------- >Comment By: Etienne M. Gagnon (egagnon) Date: 2003-03-18 16:41 Message: Logged In: YES user_id=15365 So, now that you have found an alternate solution, can I go and close the bug as "Won't fix" ? I personally don't like the _t suffix much. We already have a longer than enough prefix for types... Etienne ---------------------------------------------------------------------- Comment By: Chris Pickett (cpickett) Date: 2003-03-18 11:42 Message: Logged In: YES user_id=715646 Or, as David suggested, figure out how to change emacs syntax coloring. Personally, this is a better solution, because then things like jint, jvalue, etc. can get colored. Cheers, Chris ---------------------------------------------------------------------- Comment By: Chris Pickett (cpickett) Date: 2003-03-16 14:40 Message: Logged In: YES user_id=715646 in libsablevm: emacs RET M-x dired RET RET % m ^[_a-zA-Z0-9]*\.[_a-zA-Z0-9\.]*$ RET Q _svmt_[_a-zA-Z0-9\$]* RET \&_t RET ! -----> hold down the key until finished. now in jnidefs.h and types.h M-x replace-string RET struct_t RET struct RET C-x C-s RET y RET .............. that should be it. probably want to repeat the same thing in libsablevm/include -- emacs lets you scroll through a history of commands using the up arrow, or you can just cut and paste from this message. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105523&aid=704533&group_id=5523 |