Sunday, February 23, 2014

Re: Netrw issue

On Fri, Feb 21, 2014 at 8:04 PM, Charles Campbell
<Charles.E.Campbell@nasa.gov> wrote:
> A Loumiotis wrote:
>>
>> I have some issues with exploring a folder for which the name contains
>> a space and I use command line completion. For example:
>>
>> :Exp e:\m<tab>
>>
>> expands to
>>
>> :Exp e:\My\ Documents
>>
>> but it does not create a list of the folder contents.
>>
>> But if I manually delete the backward slash:
>>
>> :Exp e:\My Documents
>>
>> then it works.
>>
>> On the other hand if I use:
>>
>> :e e:\m<tab>
>>
>> it expands to
>>
>> :e e:\My\ Documents
>>
>> and it works as expected, ie, it lists the contents of the directory
>> immediately without having to delete the backward slashes that escape
>> spaces as I have to do with the :Exp command.
>>
>> I use gVim on Windows XP 32 bit.
>>
> Hello!
>
> Please try v151d of netrw, available from my website:
> http://www.drchip.org/astronaut/vim/index.html#NETRW
>
> Regards,
> C Campbell
>
> --
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> --- You received this message because you are subscribed to the Google
> Groups "vim_use" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to vim_use+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.


Thanks a lot for your help.
It works but I now get a list of error messages before I see the
contents of any folder:

For example if I do:

:Exp e:\My\ Documents

I get the following errors and then I see correctly the folder contents:

Error detected while processing function netrw#Explore:
line 1:
E117: Unknown function: Dfunc
line 18:
E117: Unknown function: Decho
line 24:
E117: Unknown function: Decho
line 29:
E117: Unknown function: Decho
Error detected while processing function netrw#Explore..netrw#Explore:
line 1:
E117: Unknown function: Dfunc
line 18:
E117: Unknown function: Decho
line 24:
E117: Unknown function: Decho
line 34:
E117: Unknown function: Decho
line 92:
E117: Unknown function: Decho
line 97:
E117: Unknown function: Decho
line 114:
E117: Unknown function: Decho
line 116:
E117: Unknown function: Decho
line 129:
E117: Unknown function: Decho
line 135:
E117: Unknown function: Decho
line 178:
E117: Unknown function: Decho
line 183:
E117: Unknown function: Decho
line 201:
E117: Unknown function: Decho
"" [Not edited] --No lines in buffer--
"" --No lines in buffer--
"" --No lines in buffer--
Pattern not found: ^$
Pattern not found: ^\d\{3}ÿ\d\{3}\/
Pattern not found: \.h$
Pattern not found: ^\d\{3}ÿ\d\{3}\/
Pattern not found: \.c$
Pattern not found: ^\d\{3}ÿ\d\{3}\/
Pattern not found: \.cpp$
Pattern not found: ^\d\{3}ÿ\d\{3}\/
Pattern not found: \.o$
Pattern not found: ^\d\{3}ÿ\d\{3}\/
Pattern not found: \.obj$
Pattern not found: ^\d\{3}ÿ\d\{3}\/
Pattern not found: \.info$
Pattern not found: ^\d\{3}ÿ\d\{3}\/
Pattern not found: ^\d\{3}ÿ\d\{3}\/
Pattern not found: \.bak$
Pattern not found: ^\d\{3}ÿ\d\{3}\/
Pattern not found: \~$
Pattern not found: ^\d\{3}ÿ\d\{3}\/
Error detected while processing function
netrw#Explore..netrw#Explore..netrw#LocalBrowseCheck..<SNR>35_NetrwBrowse..<SNR>35_PerformListing..<SNR>35_NetrwWideListing:
line 62:
E31: No such mapping
Error detected while processing function
netrw#Explore..netrw#Explore..netrw#LocalBrowseCheck..<SNR>35_NetrwBrowse..<SNR>35_PerformListing..<SNR>35_NetrwWideListing:
line 65:
E31: No such mapping
line 203:
E117: Unknown function: Decho
line 211:
E117: Unknown function: Decho
line 437:
E117: Unknown function: Decho
line 438:
E117: Unknown function: Decho

line 477:
E117: Unknown function: Decho
line 485:
E117: Unknown function: Dret
Error detected while processing function netrw#Explore:
line 31:
E117: Unknown function: Dret

Best regards,
Antonis

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment