Karsten Hopp d6bfe2
To: vim-dev@vim.org
Karsten Hopp d6bfe2
Subject: Patch 7.2.087
Karsten Hopp d6bfe2
Fcc: outbox
Karsten Hopp d6bfe2
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp d6bfe2
Mime-Version: 1.0
Karsten Hopp d6bfe2
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp d6bfe2
Content-Transfer-Encoding: 8bit
Karsten Hopp d6bfe2
------------
Karsten Hopp d6bfe2
Karsten Hopp d6bfe2
Patch 7.2.087
Karsten Hopp d6bfe2
Problem:    Adding URL to 'path' doesn't work to edit a file.
Karsten Hopp d6bfe2
Solution:   Skip simplify_filename() for URLs. (Matt Wosniski)
Karsten Hopp d6bfe2
Files:	    src/misc2.c
Karsten Hopp d6bfe2
Karsten Hopp d6bfe2
Karsten Hopp d6bfe2
*** ../vim-7.2.086/src/misc2.c	Wed Dec 24 12:53:33 2008
Karsten Hopp d6bfe2
--- src/misc2.c	Sun Jan 18 12:26:20 2009
Karsten Hopp d6bfe2
***************
Karsten Hopp d6bfe2
*** 4696,4702 ****
Karsten Hopp d6bfe2
  				stackp->ffs_filearray_cur = i + 1;
Karsten Hopp d6bfe2
  				ff_push(search_ctx, stackp);
Karsten Hopp d6bfe2
  
Karsten Hopp d6bfe2
! 				simplify_filename(file_path);
Karsten Hopp d6bfe2
  				if (mch_dirname(ff_expand_buffer, MAXPATHL)
Karsten Hopp d6bfe2
  									== OK)
Karsten Hopp d6bfe2
  				{
Karsten Hopp d6bfe2
--- 4696,4703 ----
Karsten Hopp d6bfe2
  				stackp->ffs_filearray_cur = i + 1;
Karsten Hopp d6bfe2
  				ff_push(search_ctx, stackp);
Karsten Hopp d6bfe2
  
Karsten Hopp d6bfe2
! 				if (!path_with_url(file_path))
Karsten Hopp d6bfe2
! 				    simplify_filename(file_path);
Karsten Hopp d6bfe2
  				if (mch_dirname(ff_expand_buffer, MAXPATHL)
Karsten Hopp d6bfe2
  									== OK)
Karsten Hopp d6bfe2
  				{
Karsten Hopp d6bfe2
*** ../vim-7.2.086/src/version.c	Thu Jan 22 20:48:07 2009
Karsten Hopp d6bfe2
--- src/version.c	Thu Jan 22 21:30:36 2009
Karsten Hopp d6bfe2
***************
Karsten Hopp d6bfe2
*** 678,679 ****
Karsten Hopp d6bfe2
--- 678,681 ----
Karsten Hopp d6bfe2
  {   /* Add new patch number below this line */
Karsten Hopp d6bfe2
+ /**/
Karsten Hopp d6bfe2
+     87,
Karsten Hopp d6bfe2
  /**/
Karsten Hopp d6bfe2
Karsten Hopp d6bfe2
-- 
Karsten Hopp d6bfe2
hundred-and-one symptoms of being an internet addict:
Karsten Hopp d6bfe2
21. Your dog has its own home page.
Karsten Hopp d6bfe2
Karsten Hopp d6bfe2
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp d6bfe2
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp d6bfe2
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp d6bfe2
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///