Your message dated Mon, 16 Jun 2008 14:55:12 -0400
with message-id <[EMAIL PROTECTED]>
has caused the   report #486417,
regarding [vim-runtime] GUI menu "Window -> Split File Explorer" does not work 
if the path has special characters
to be marked as having been forwarded to the upstream software
author(s) Bram Moolenaar <[EMAIL PROTECTED]>

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
486417: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=486417
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Bram,

menu.vim's "Split File Explorer" does not properly escape the name of
the current buffer.  An easy example to test is

  mkdir -p "foo bar"
  touch "foo bar/baz"
  gvim "foo bar/baz"
  Window -> Split File Explorer

The attached patch uses s:FnameEscape() to escape the buffer name.

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <[EMAIL PROTECTED]>
diff --git a/runtime/menu.vim b/runtime/menu.vim
index 0d2460b..9a150f5 100644
--- a/runtime/menu.vim
+++ b/runtime/menu.vim
@@ -812,7 +812,7 @@ if has("vertsplit")
       if @% == ""
 	20vsp .
       else
-	exe "20vsp " . expand("%:p:h")
+	exe "20vsp " . s:FnameEscape(expand("%:p:h"))
       endif
     endfun
   endif

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to