Bram Moolenaar wrote:
[...]
> Here is a replacement patch that should deal with "bash" as with "sh":
[...]

Just tested with the new patch (and still in bash). Command-line completion is 
now OK for the cases mentioned by Ben Schmidt (":e It\'s\ g<Tab>"). Session 
file is unchanged BUT Vim accepts it -- files with apostrophes in their names 
aren't lost from the buffer list now, even though the apostrophes aren't 
backslash-escaped in the session script.

In
        :e It's\ g<Tab>

completion gives now

        :e It\'s\ good

adding a \ before the apostrophe. The correct file is edited regardless of 
whether there is a \ before the ' or not.


Best regards,
Tony.
-- 
     "You mean there really is an answer?"
     "Yes! But you're not going to like it!"
     "Oh do please tell us!"
     "You're really not going to like it!"
     "but we MUST know - tell us"
     "Alright, the answer is...."
     "yes..."
     "... is ..."
     "yes... come on!"
     "is 42!"
                (Douglas Adams - The Hitchhiker's Guide to the Galaxy)

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

Raspunde prin e-mail lui