Re: comma in $HOME bug?

2009-05-12 Fir de Conversatie Michael Hordijk
On 05/11/2009 03:25 PM, Bram Moolenaar wrote: Michael Hordijk wrote: On 05/05/2009 04:20 PM, Bram Moolenaar wrote: The special characters in $HOME should indeed be escaped. I can only think of a comma being special here. Is this something that I can expect a future version of VIM to do

Re: comma in $HOME bug?

2009-05-11 Fir de Conversatie Michael Hordijk
On 05/05/2009 04:20 PM, Bram Moolenaar wrote: Michael Hordijk wrote: On 05/05/2009 01:04 PM, Matt Wozniski wrote: On Tue, May 5, 2009 at 12:50 PM, Michael Hordijk wrote: That being said, normally when an application has a problem with certain characters in a string, said characters

comma in $HOME bug?

2009-05-05 Fir de Conversatie Michael Hordijk
Vim doesn't seem to handle a comma in $HOME at all. In this case, $HOME = /u/hordijk,spin strace shows that Vim seems to be doing some odd parsing around the comma: stat64(/u/hordijk/syntax/synload.vim, 0xbfa03e9c) = -1 ENOENT (No such file or directory) stat64(spin/.vim/syntax/synload.vim,

Re: comma in $HOME bug?

2009-05-05 Fir de Conversatie Michael Hordijk
On 05/05/2009 01:04 PM, Matt Wozniski wrote: On Tue, May 5, 2009 at 12:50 PM, Michael Hordijk wrote: Vim doesn't seem to handle a comma in $HOME at all. In this case, $HOME = /u/hordijk,spin strace shows that Vim seems to be doing some odd parsing around the comma: stat64(/u/hordijk

Re: Patch 7.1.157

2007-11-20 Fir de Conversatie Michael Hordijk
Bram Moolenaar wrote: Patch 7.1.157 Problem:In Ex mode, : gives an error at end-of-file. (Michael Hordijk) Solution: Only give an error for an empty line, not for a comment. Files:src/ex_docmd.c w00t! Thanks. - michael

Re: E501 with comment in Ex?

2007-11-19 Fir de Conversatie Michael Hordijk
Bram Moolenaar wrote: How about changing it like this: *** ../vim-7.1.156/src/ex_docmd.c Sun Nov 11 19:16:44 2007 --- src/ex_docmd.cSat Nov 17 20:23:38 2007 *** *** 1741,1747 } /* ignore comment and empty lines */ ! if (*ea.cmd == '' ||

E501 with comment in Ex?

2007-11-15 Fir de Conversatie Michael Hordijk
Using ex, I'm seeing the following odd behavior when entering a comment: [[[ $ echo blah foo.txt $ ex foo.txt foo.txt 1L, 5C Entering Ex mode. Type visual to go to Normal mode. : E501: At end-of-file : ]]] This used to be fine in older versions of vim (say 6.3). The change that seems to be