Re: Patch: problems with filename contains '~' in file-marks

2007-09-26 Fir de Conversatie Tony Mechelynck
Ben Schmidt wrote: The only thing that requires a little care (IIUC) is to make sure that if the tilde is followed by a backslash, the latter is a true backslash and not an escaper backslash for something else than a backslash: in ~\foo, ~ means $HOME while in ~\ foo it doesn't, and

RE: Patch: problems with filename contains '~' in file-marks

2007-09-26 Fir de Conversatie Doug Cook
: problems with filename contains '~' in file-marks Ben Schmidt wrote: The only thing that requires a little care (IIUC) is to make sure that if the tilde is followed by a backslash, the latter is a true backslash and not an escaper backslash for something else than a backslash: in ~\foo, ~ means $HOME

Re: Patch: problems with filename contains '~' in file-marks

2007-09-25 Fir de Conversatie Tony Mechelynck
Bill McCarthy wrote: On Sun 23-Sep-07 8:34pm -0600, Dasn wrote: I've posted on vim_use some days before: $ vim -c q 'foo ~ foo' $ vim -c normal '0 E20: Mark not set Filename contains '~' character which is around with path separators (i.e. ' ' and ',') has such problem. And the patch:

Re: Patch: problems with filename contains '~' in file-marks

2007-09-25 Fir de Conversatie Bram Moolenaar
Bill McCarthy wrote: On Sun 23-Sep-07 8:34pm -0600, Dasn wrote: I've posted on vim_use some days before: $ vim -c q 'foo ~ foo' $ vim -c normal '0 E20: Mark not set Filename contains '~' character which is around with path separators (i.e. ' ' and ',') has such problem. And

Re: Patch: problems with filename contains '~' in file-marks

2007-09-25 Fir de Conversatie Bill McCarthy
On Tue 25-Sep-07 5:46am -0600, Bram Moolenaar wrote: Bill McCarthy wrote: On Sun 23-Sep-07 8:34pm -0600, Dasn wrote: I've posted on vim_use some days before: $ vim -c q 'foo ~ foo' $ vim -c normal '0 E20: Mark not set Filename contains '~' character which is around with path

Re: Patch: problems with filename contains '~' in file-marks

2007-09-25 Fir de Conversatie Tony Mechelynck
Ben Schmidt wrote: Maybe expand it only if the file name starts with tilde + path separator? (IIRC, ~user is not expanded on Windows). Though it could be handy if it were in a few circumstances. Don't know how easy or otherwise it would be to implement it, though. The only thing that

Re: Patch: problems with filename contains '~' in file-marks

2007-09-25 Fir de Conversatie Ben Schmidt
The only thing that requires a little care (IIUC) is to make sure that if the tilde is followed by a backslash, the latter is a true backslash and not an escaper backslash for something else than a backslash: in ~\foo, ~ means $HOME while in ~\ foo it doesn't, and the filename is ~ foo.

Re: Patch: problems with filename contains '~' in file-marks

2007-09-24 Fir de Conversatie Dasn
On 24/09/07 09:34 +0800, Dasn wrote: Hi, guys. I've posted on vim_use some days before: $ vim -c q 'foo ~ foo' $ vim -c normal '0 E20: Mark not set Filename contains '~' character which is around with path separators (i.e. ' ' and ',') has such problem. And the patch: Index: mark.c

Re: Patch: problems with filename contains '~' in file-marks

2007-09-24 Fir de Conversatie Bill McCarthy
On Sun 23-Sep-07 8:34pm -0600, Dasn wrote: I've posted on vim_use some days before: $ vim -c q 'foo ~ foo' $ vim -c normal '0 E20: Mark not set Filename contains '~' character which is around with path separators (i.e. ' ' and ',') has such problem. And the patch: Index: mark.c With