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.c    Sat Nov 17 20:23:38 2007
> ***************
> *** 1741,1747 ****
>       }
>   
>       /* ignore comment and empty lines */
> !     if (*ea.cmd == '"' || *ea.cmd == NUL)
>       {
>           ex_pressedreturn = TRUE;
>           goto doend;
> --- 1741,1749 ----
>       }
>   
>       /* ignore comment and empty lines */
> !     if (*ea.cmd == '"')
> !         goto doend;
> !     if (*ea.cmd == NUL)
>       {
>           ex_pressedreturn = TRUE;
>           goto doend;

Works for me:

$ echo blah > foo.txt
$ ex foo.txt

"foo.txt" 1L, 5C
Entering Ex mode.  Type "visual" to go to Normal mode.
:"
:

Makes sense to me.  Does this then became a patch/rolled into the next
release?

- michael


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui