[oclug] UNIX philosophy (was Re: vim rulez...)

Michael P. Soulier msoulier at storm.ca
Wed Apr 18 13:08:07 EDT 2001


On Wed, Apr 18, 2001 at 11:01:18AM -0400, David F. Skoll wrote:
> On Wed, 18 Apr 2001, Bart Trojanowski wrote:
> 
> ESC C-f and ESC C-b.  You can also use ESC C-a and ESC C-e to go to the
> start/end of the current function definition.

    Too many keystrokes for me. % jumps to the matching brace. Granted, you're
not always sitting on a parens. However, I fired up XEmacs on my HPUX machine
to try this, and after 5 minutes it's already screwed up the syntax shading of
my code. Hence why I stopped using it. 
    Seems like a great tool, but it just doesn't seem to do the right thing
"out of the box" as it were. And it's not like this is a complex statement

    $usageMessage =~ s/\"/'/g

    But the quote confuses the Emacs parser, and suddenly the rest of my file
from that point on is green. 

    Granted, I've had to change my sourcecode for Vim once. EOF is currently
hardcoded in the Perl syntax file for HERE documents, but you could grab a
copy of the perl.vim file and add whatever strings you like. Not perfect, but
a more workable solution.

    Mike

-- 
Michael P. Soulier <msoulier at storm.ca>
"Please reboot for changes to take effect."
Yeah...right...
12:59am up 45 days, Linux 2.2.12



More information about the OCLUG mailing list