News for hackers. Stuff that matters.
Re:Vim 7.3.1000 by Macha on Tuesday May 21, 2013 @05:05PM (#5746831)
Given that it's in a regex source file, and the variable is named c, they're probably character codes for Unicode ranges.
Re:Vim 7.3.1000 by sltkr on Tuesday May 21, 2013 @05:19PM (#5746916)
Correct -- 0xfb20 through 0xfb4f are alternative glyphs for Hebrew characters. (I don't know what makes these so special that they need to be handled separately by the regexp processing code, though.)
Re:Vim 7.3.1000 by jlgreco on Tuesday May 21, 2013 @05:13PM (#5746873)
This might be a good case for unicode character literals. Code dealing with unicode can be a nightmare to work with, even if you already know what those numbers are (arguably as this bug demonstrates).
Re:Vim 7.3.1000 by sltkr on Tuesday May 21, 2013 @05:22PM (#5746934)
You realize you're talking about a codebase which still uses pre-standard parameter type declarations, right?
Re:Vim 7.3.1000 by jlgreco on Tuesday May 21, 2013 @05:24PM (#5746947)
Oh yes, Vim's code is anything but pleasant. I worked with it a decent amount several years ago when I was maintaining, for a short period of time, a patch that would add a terminal emulator to Vim windows.
Re:Vim 7.3.1000 by tsm on Wednesday May 22, 2013 @10:08AM (#5750900)
I was just searching for such a thing yesterday. Did the patch go anywhere?
Re:Vim 7.3.1000 by qu4z-2 on Thursday May 23, 2013 @01:18AM (#5755475)
Just curious what the advantages are of this versus C-z'ing back to the shell?

EDIT: Oh, I guess that doesn't work in gvim?

Re:Vim 7.3.1000 by tsm on Thursday May 23, 2013 @09:30AM (#5756694)
It's nice to see terminal output at the same time as you're editing. Right now I'm working on a Rails app, so it'd be great to see RSpec failures while fixing my code--currently I either alt-tab between terminals or use a second monitor.

Also, sometimes you don't want to wait for something. `bundle install` can take a good 30 seconds...I'd rather not watch that!

Re:Vim 7.3.1000 by qu4z-2 on Thursday May 23, 2013 @08:35PM (#5760518)
Thanks for the answer. Seems reasonable. Although at that point I'd somewhat suggest tmux :)