Re: vim 7 ex-mode behavior

2008-10-23 Fir de Conversatie Gary Johnson
On 2008-10-23, d tbsky [EMAIL PROTECTED] wrote: hi: i am sorry that i didn't describe the steps in detail. there are some old apps in our system which use ex in their scripts. and ex in link to vim in these system. so ex is like vim -e in the situation. vim 5 and vim 6 are fine for

Re: vim 7 ex-mode behavior

2008-10-23 Fir de Conversatie Jürgen Krämer
Hi, Gary Johnson wrote: So you're right--the behavior did change between 6.3 and 7.2. I don't know which behavior is correct, though. there is this item in :help bug-fixes-7: | It was not possible to use a NL after a backslash in Ex mode. This is | sometimes used to feed multiple lines

Re: vim 7 ex-mode behavior

2008-10-22 Fir de Conversatie Gary Johnson
On 2008-10-23, d tbsky [EMAIL PROTECTED] wrote: hi: i have some old vim ex-mode scripts which can not work under vim 7.0 and 7.2. after some checking, i found command like below didn't work under vim 7: a 1 \\ 2 \\ . w q the command above can create two line 1\\ and 2\\ under

RE: vim 7 ex-mode behavior

2008-10-22 Fir de Conversatie John Beckett
d tbsky wrote: after some checking, i found command like below didn't work under vim 7: a 1 \\ 2 \\ . It works here on Vim 7.2 as well, although I had to use help to see how. Use ':help :a' and see what it says about Watch out for lines starting with a backslash. The above lines work,

Re: vim 7 ex-mode behavior

2008-10-22 Fir de Conversatie d tbsky
hi: i am sorry that i didn't describe the steps in detail. there are some old apps in our system which use ex in their scripts. and ex in link to vim in these system. so ex is like vim -e in the situation. vim 5 and vim 6 are fine for these scripts. but vim 7.0 and 7.2 is not. i found