Karsten Hopp 85da60
To: vim_dev@googlegroups.com
Karsten Hopp 85da60
Subject: Patch 7.3.1178
Karsten Hopp 85da60
Fcc: outbox
Karsten Hopp 85da60
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 85da60
Mime-Version: 1.0
Karsten Hopp 85da60
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 85da60
Content-Transfer-Encoding: 8bit
Karsten Hopp 85da60
------------
Karsten Hopp 85da60
Karsten Hopp 85da60
Patch 7.3.1178
Karsten Hopp 85da60
Problem:    Can't put all Vim config files together in one directory.
Karsten Hopp 85da60
Solution:   Load ~/.vim/vimrc if ~/.vimrc does not exist. (Lech Lorens)
Karsten Hopp 85da60
Files:	    runtime/doc/gui.txt, runtime/doc/starting.txt, src/gui.c,
Karsten Hopp 85da60
	    src/main.c, src/os_amiga.h, src/os_dos.h, src/os_unix.h
Karsten Hopp 85da60
Karsten Hopp 85da60
Karsten Hopp 85da60
*** ../vim-7.3.1177/runtime/doc/gui.txt	2010-08-15 21:57:17.000000000 +0200
Karsten Hopp 85da60
--- runtime/doc/gui.txt	2013-06-12 20:11:13.000000000 +0200
Karsten Hopp 85da60
***************
Karsten Hopp 85da60
*** 93,102 ****
Karsten Hopp 85da60
  terminal version.
Karsten Hopp 85da60
  
Karsten Hopp 85da60
  Recommended place for your personal GUI initializations:
Karsten Hopp 85da60
! 	Unix		    $HOME/.gvimrc
Karsten Hopp 85da60
! 	OS/2		    $HOME/.gvimrc or $VIM/.gvimrc
Karsten Hopp 85da60
! 	MS-DOS and Win32    $HOME/_gvimrc or $VIM/_gvimrc
Karsten Hopp 85da60
! 	Amiga		    s:.gvimrc or $VIM/.gvimrc
Karsten Hopp 85da60
  
Karsten Hopp 85da60
  There are a number of options which only have meaning in the GUI version of
Karsten Hopp 85da60
  Vim.  These are 'guicursor', 'guifont', 'guipty' and 'guioptions'.  They are
Karsten Hopp 85da60
--- 93,108 ----
Karsten Hopp 85da60
  terminal version.
Karsten Hopp 85da60
  
Karsten Hopp 85da60
  Recommended place for your personal GUI initializations:
Karsten Hopp 85da60
! 	Unix		    $HOME/.gvimrc or $HOME/.vim/gvimrc
Karsten Hopp 85da60
! 	OS/2		    $HOME/.gvimrc, $HOME/vimfiles/gvimrc
Karsten Hopp 85da60
! 			    or $VIM/.gvimrc
Karsten Hopp 85da60
! 	MS-DOS and Win32    $HOME/_gvimrc, $HOME/vimfiles/gvimrc
Karsten Hopp 85da60
! 			    or $VIM/_gvimrc
Karsten Hopp 85da60
! 	Amiga		    s:.gvimrc, home:.gvimrc, home:vimfiles:gvimrc
Karsten Hopp 85da60
! 			    or $VIM/.gvimrc
Karsten Hopp 85da60
! 
Karsten Hopp 85da60
! The personal initialization files are searched in the order specified above
Karsten Hopp 85da60
! and only the first one that is found is read.
Karsten Hopp 85da60
  
Karsten Hopp 85da60
  There are a number of options which only have meaning in the GUI version of
Karsten Hopp 85da60
  Vim.  These are 'guicursor', 'guifont', 'guipty' and 'guioptions'.  They are
Karsten Hopp 85da60
*** ../vim-7.3.1177/runtime/doc/starting.txt	2010-08-15 21:57:15.000000000 +0200
Karsten Hopp 85da60
--- runtime/doc/starting.txt	2013-06-12 20:31:45.000000000 +0200
Karsten Hopp 85da60
***************
Karsten Hopp 85da60
*** 95,108 ****
Karsten Hopp 85da60
  			(normally not installed)
Karsten Hopp 85da60
  view	vim -R	    Start in read-only mode (see |-R|).		    *view*
Karsten Hopp 85da60
  gvim	vim -g	    Start the GUI (see |gui|).			    *gvim*
Karsten Hopp 85da60
! gex	vim -eg	    Start the GUI in Ex mode.			    *gex*
Karsten Hopp 85da60
! gview	vim -Rg	    Start the GUI in read-only mode.		    *gview*
Karsten Hopp 85da60
  rvim	vim -Z	    Like "vim", but in restricted mode (see |-Z|)   *rvim*
Karsten Hopp 85da60
! rview	vim -RZ	    Like "view", but in restricted mode.	    *rview*
Karsten Hopp 85da60
! rgvim	vim -gZ	    Like "gvim", but in restricted mode.	    *rgvim*
Karsten Hopp 85da60
! rgview	vim -RgZ    Like "gview", but in restricted mode.	    *rgview*
Karsten Hopp 85da60
  evim    vim -y      Easy Vim: set 'insertmode' (see |-y|)	    *evim*
Karsten Hopp 85da60
! eview   vim -yR     Like "evim" in read-only mode		    *eview*
Karsten Hopp 85da60
  vimdiff vim -d	    Start in diff mode |diff-mode|
Karsten Hopp 85da60
  gvimdiff vim -gd    Start in diff mode |diff-mode|
Karsten Hopp 85da60
  
Karsten Hopp 85da60
--- 95,108 ----
Karsten Hopp 85da60
  			(normally not installed)
Karsten Hopp 85da60
  view	vim -R	    Start in read-only mode (see |-R|).		    *view*
Karsten Hopp 85da60
  gvim	vim -g	    Start the GUI (see |gui|).			    *gvim*
Karsten Hopp 85da60
! gex	vim -eg	    Start the GUI in Ex mode.			  *gex*
Karsten Hopp 85da60
! gview	vim -Rg	    Start the GUI in read-only mode.		  *gview*
Karsten Hopp 85da60
  rvim	vim -Z	    Like "vim", but in restricted mode (see |-Z|)   *rvim*
Karsten Hopp 85da60
! rview	vim -RZ	    Like "view", but in restricted mode.	  *rview*
Karsten Hopp 85da60
! rgvim	vim -gZ	    Like "gvim", but in restricted mode.	  *rgvim*
Karsten Hopp 85da60
! rgview	vim -RgZ    Like "gview", but in restricted mode.	  *rgview*
Karsten Hopp 85da60
  evim    vim -y      Easy Vim: set 'insertmode' (see |-y|)	    *evim*
Karsten Hopp 85da60
! eview   vim -yR     Like "evim" in read-only mode		  *eview*
Karsten Hopp 85da60
  vimdiff vim -d	    Start in diff mode |diff-mode|
Karsten Hopp 85da60
  gvimdiff vim -gd    Start in diff mode |diff-mode|
Karsten Hopp 85da60
  
Karsten Hopp 85da60
***************
Karsten Hopp 85da60
*** 751,761 ****
Karsten Hopp 85da60
  	file, but "exrc" is what Vi always used, "vimrc" is a Vim specific
Karsten Hopp 85da60
  	name.  Also see |vimrc-intro|.
Karsten Hopp 85da60
  
Karsten Hopp 85da60
! 	Recommended place for your personal initializations:
Karsten Hopp 85da60
! 		Unix		    $HOME/.vimrc
Karsten Hopp 85da60
! 		OS/2		    $HOME/.vimrc or $VIM/.vimrc (or _vimrc)
Karsten Hopp 85da60
! 		MS-DOS and Win32    $HOME/_vimrc or $VIM/_vimrc
Karsten Hopp 85da60
! 		Amiga		    s:.vimrc or $VIM/.vimrc
Karsten Hopp 85da60
  
Karsten Hopp 85da60
  	If Vim was started with "-u filename", the file "filename" is used.
Karsten Hopp 85da60
  	All following initializations until 4. are skipped.
Karsten Hopp 85da60
--- 757,777 ----
Karsten Hopp 85da60
  	file, but "exrc" is what Vi always used, "vimrc" is a Vim specific
Karsten Hopp 85da60
  	name.  Also see |vimrc-intro|.
Karsten Hopp 85da60
  
Karsten Hopp 85da60
! 	Places for your personal initializations:
Karsten Hopp 85da60
! 		Unix		$HOME/.vimrc or $HOME/.vim/vimrc
Karsten Hopp 85da60
! 		OS/2		$HOME/.vimrc, $HOME/vimfiles/vimrc
Karsten Hopp 85da60
! 				or $VIM/.vimrc (or _vimrc)
Karsten Hopp 85da60
! 		MS-Windows	$HOME/_vimrc, $HOME/vimfiles/vimrc
Karsten Hopp 85da60
! 				or $VIM/_vimrc
Karsten Hopp 85da60
! 		Amiga		s:.vimrc, home:.vimrc, home:vimfiles:vimrc
Karsten Hopp 85da60
! 				or $VIM/.vimrc
Karsten Hopp 85da60
! 
Karsten Hopp 85da60
! 	The files are searched in the order specified above and only the first
Karsten Hopp 85da60
! 	one that is found is read.
Karsten Hopp 85da60
! 
Karsten Hopp 85da60
! 	RECOMMENDATION: Put all your Vim configuration stuff in the
Karsten Hopp 85da60
! 	$HOME/.vim/ directory ($HOME/vimfiles/ for MS-Windows). That makes it
Karsten Hopp 85da60
! 	easy to copy it to another system.
Karsten Hopp 85da60
  
Karsten Hopp 85da60
  	If Vim was started with "-u filename", the file "filename" is used.
Karsten Hopp 85da60
  	All following initializations until 4. are skipped.
Karsten Hopp 85da60
***************
Karsten Hopp 85da60
*** 785,796 ****
Karsten Hopp 85da60
  	-  The environment variable VIMINIT (see also |compatible-default|) (*)
Karsten Hopp 85da60
  	   The value of $VIMINIT is used as an Ex command line.
Karsten Hopp 85da60
  	-  The user vimrc file(s):
Karsten Hopp 85da60
! 		    "$HOME/.vimrc"	(for Unix and OS/2) (*)
Karsten Hopp 85da60
! 		    "s:.vimrc"		(for Amiga) (*)
Karsten Hopp 85da60
! 		    "home:.vimrc"	(for Amiga) (*)
Karsten Hopp 85da60
! 		    "$VIM/.vimrc"	(for OS/2 and Amiga) (*)
Karsten Hopp 85da60
! 		    "$HOME/_vimrc"	(for MS-DOS and Win32) (*)
Karsten Hopp 85da60
! 		    "$VIM/_vimrc"	(for MS-DOS and Win32) (*)
Karsten Hopp 85da60
  		Note: For Unix, OS/2 and Amiga, when ".vimrc" does not exist,
Karsten Hopp 85da60
  		"_vimrc" is also tried, in case an MS-DOS compatible file
Karsten Hopp 85da60
  		system is used.  For MS-DOS and Win32 ".vimrc" is checked
Karsten Hopp 85da60
--- 801,815 ----
Karsten Hopp 85da60
  	-  The environment variable VIMINIT (see also |compatible-default|) (*)
Karsten Hopp 85da60
  	   The value of $VIMINIT is used as an Ex command line.
Karsten Hopp 85da60
  	-  The user vimrc file(s):
Karsten Hopp 85da60
! 		    "$HOME/.vimrc"	   (for Unix and OS/2) (*)
Karsten Hopp 85da60
! 		    "$HOME/.vim/vimrc"	   (for Unix and OS/2) (*)
Karsten Hopp 85da60
! 		    "s:.vimrc"		   (for Amiga) (*)
Karsten Hopp 85da60
! 		    "home:.vimrc"	   (for Amiga) (*)
Karsten Hopp 85da60
! 		    "home:vimfiles:vimrc"  (for Amiga) (*)
Karsten Hopp 85da60
! 		    "$VIM/.vimrc"	   (for OS/2 and Amiga) (*)
Karsten Hopp 85da60
! 		    "$HOME/_vimrc"	   (for MS-DOS and Win32) (*)
Karsten Hopp 85da60
! 		    "$HOME/vimfiles/vimrc" (for MS-DOS and Win32) (*)
Karsten Hopp 85da60
! 		    "$VIM/_vimrc"	   (for MS-DOS and Win32) (*)
Karsten Hopp 85da60
  		Note: For Unix, OS/2 and Amiga, when ".vimrc" does not exist,
Karsten Hopp 85da60
  		"_vimrc" is also tried, in case an MS-DOS compatible file
Karsten Hopp 85da60
  		system is used.  For MS-DOS and Win32 ".vimrc" is checked
Karsten Hopp 85da60
*** ../vim-7.3.1177/src/gui.c	2013-06-08 18:19:40.000000000 +0200
Karsten Hopp 85da60
--- src/gui.c	2013-06-12 20:09:44.000000000 +0200
Karsten Hopp 85da60
***************
Karsten Hopp 85da60
*** 547,556 ****
Karsten Hopp 85da60
  		 && do_source((char_u *)USR_GVIMRC_FILE2, TRUE,
Karsten Hopp 85da60
  							  DOSO_GVIMRC) == FAIL
Karsten Hopp 85da60
  #endif
Karsten Hopp 85da60
  				)
Karsten Hopp 85da60
  	    {
Karsten Hopp 85da60
! #ifdef USR_GVIMRC_FILE3
Karsten Hopp 85da60
! 		(void)do_source((char_u *)USR_GVIMRC_FILE3, TRUE, DOSO_GVIMRC);
Karsten Hopp 85da60
  #endif
Karsten Hopp 85da60
  	    }
Karsten Hopp 85da60
  
Karsten Hopp 85da60
--- 547,560 ----
Karsten Hopp 85da60
  		 && do_source((char_u *)USR_GVIMRC_FILE2, TRUE,
Karsten Hopp 85da60
  							  DOSO_GVIMRC) == FAIL
Karsten Hopp 85da60
  #endif
Karsten Hopp 85da60
+ #ifdef USR_GVIMRC_FILE3
Karsten Hopp 85da60
+ 		 && do_source((char_u *)USR_GVIMRC_FILE3, TRUE,
Karsten Hopp 85da60
+ 							  DOSO_GVIMRC) == FAIL
Karsten Hopp 85da60
+ #endif
Karsten Hopp 85da60
  				)
Karsten Hopp 85da60
  	    {
Karsten Hopp 85da60
! #ifdef USR_GVIMRC_FILE4
Karsten Hopp 85da60
! 		(void)do_source((char_u *)USR_GVIMRC_FILE4, TRUE, DOSO_GVIMRC);
Karsten Hopp 85da60
  #endif
Karsten Hopp 85da60
  	    }
Karsten Hopp 85da60
  
Karsten Hopp 85da60
***************
Karsten Hopp 85da60
*** 593,598 ****
Karsten Hopp 85da60
--- 597,606 ----
Karsten Hopp 85da60
  			&& fullpathcmp((char_u *)USR_GVIMRC_FILE3,
Karsten Hopp 85da60
  				     (char_u *)GVIMRC_FILE, FALSE) != FPC_SAME
Karsten Hopp 85da60
  #endif
Karsten Hopp 85da60
+ #ifdef USR_GVIMRC_FILE4
Karsten Hopp 85da60
+ 			&& fullpathcmp((char_u *)USR_GVIMRC_FILE4,
Karsten Hopp 85da60
+ 				     (char_u *)GVIMRC_FILE, FALSE) != FPC_SAME
Karsten Hopp 85da60
+ #endif
Karsten Hopp 85da60
  			)
Karsten Hopp 85da60
  		    do_source((char_u *)GVIMRC_FILE, TRUE, DOSO_GVIMRC);
Karsten Hopp 85da60
  
Karsten Hopp 85da60
*** ../vim-7.3.1177/src/main.c	2013-05-11 13:56:12.000000000 +0200
Karsten Hopp 85da60
--- src/main.c	2013-06-12 20:09:44.000000000 +0200
Karsten Hopp 85da60
***************
Karsten Hopp 85da60
*** 2981,2986 ****
Karsten Hopp 85da60
--- 2981,2990 ----
Karsten Hopp 85da60
  		&& do_source((char_u *)USR_VIMRC_FILE3, TRUE,
Karsten Hopp 85da60
  							   DOSO_VIMRC) == FAIL
Karsten Hopp 85da60
  #endif
Karsten Hopp 85da60
+ #ifdef USR_VIMRC_FILE4
Karsten Hopp 85da60
+ 		&& do_source((char_u *)USR_VIMRC_FILE4, TRUE,
Karsten Hopp 85da60
+ 							   DOSO_VIMRC) == FAIL
Karsten Hopp 85da60
+ #endif
Karsten Hopp 85da60
  		&& process_env((char_u *)"EXINIT", FALSE) == FAIL
Karsten Hopp 85da60
  		&& do_source((char_u *)USR_EXRC_FILE, FALSE, DOSO_NONE) == FAIL)
Karsten Hopp 85da60
  	    {
Karsten Hopp 85da60
*** ../vim-7.3.1177/src/os_amiga.h	2012-11-20 16:53:34.000000000 +0100
Karsten Hopp 85da60
--- src/os_amiga.h	2013-06-12 20:09:44.000000000 +0200
Karsten Hopp 85da60
***************
Karsten Hopp 85da60
*** 158,164 ****
Karsten Hopp 85da60
  # define USR_VIMRC_FILE2 "home:.vimrc"
Karsten Hopp 85da60
  #endif
Karsten Hopp 85da60
  #ifndef USR_VIMRC_FILE3
Karsten Hopp 85da60
! # define USR_VIMRC_FILE3 "$VIM/.vimrc"
Karsten Hopp 85da60
  #endif
Karsten Hopp 85da60
  #ifndef EVIM_FILE
Karsten Hopp 85da60
  # define EVIM_FILE	"$VIMRUNTIME/evim.vim"
Karsten Hopp 85da60
--- 158,167 ----
Karsten Hopp 85da60
  # define USR_VIMRC_FILE2 "home:.vimrc"
Karsten Hopp 85da60
  #endif
Karsten Hopp 85da60
  #ifndef USR_VIMRC_FILE3
Karsten Hopp 85da60
! # define USR_VIMRC_FILE3 "home:vimfiles:vimrc"
Karsten Hopp 85da60
! #endif
Karsten Hopp 85da60
! #ifndef USR_VIMRC_FILE4
Karsten Hopp 85da60
! # define USR_VIMRC_FILE4 "$VIM/.vimrc"
Karsten Hopp 85da60
  #endif
Karsten Hopp 85da60
  #ifndef EVIM_FILE
Karsten Hopp 85da60
  # define EVIM_FILE	"$VIMRUNTIME/evim.vim"
Karsten Hopp 85da60
***************
Karsten Hopp 85da60
*** 171,177 ****
Karsten Hopp 85da60
  # define USR_GVIMRC_FILE2 "home:.gvimrc"
Karsten Hopp 85da60
  #endif
Karsten Hopp 85da60
  #ifndef USR_GVIMRC_FILE3
Karsten Hopp 85da60
! # define USR_GVIMRC_FILE3 "$VIM/.gvimrc"
Karsten Hopp 85da60
  #endif
Karsten Hopp 85da60
  
Karsten Hopp 85da60
  #ifdef FEAT_VIMINFO
Karsten Hopp 85da60
--- 174,183 ----
Karsten Hopp 85da60
  # define USR_GVIMRC_FILE2 "home:.gvimrc"
Karsten Hopp 85da60
  #endif
Karsten Hopp 85da60
  #ifndef USR_GVIMRC_FILE3
Karsten Hopp 85da60
! # define USR_GVIMRC_FILE3 "home:vimfiles:gvimrc"
Karsten Hopp 85da60
! #endif
Karsten Hopp 85da60
! #ifndef USR_GVIMRC_FILE4
Karsten Hopp 85da60
! # define USR_GVIMRC_FILE4 "$VIM/.gvimrc"
Karsten Hopp 85da60
  #endif
Karsten Hopp 85da60
  
Karsten Hopp 85da60
  #ifdef FEAT_VIMINFO
Karsten Hopp 85da60
*** ../vim-7.3.1177/src/os_dos.h	2010-08-15 21:57:27.000000000 +0200
Karsten Hopp 85da60
--- src/os_dos.h	2013-06-12 20:09:44.000000000 +0200
Karsten Hopp 85da60
***************
Karsten Hopp 85da60
*** 20,26 ****
Karsten Hopp 85da60
  # define USR_VIMRC_FILE		"$HOME\\_vimrc"
Karsten Hopp 85da60
  #endif
Karsten Hopp 85da60
  #ifndef USR_VIMRC_FILE2
Karsten Hopp 85da60
! # define USR_VIMRC_FILE2	"$VIM\\_vimrc"
Karsten Hopp 85da60
  #endif
Karsten Hopp 85da60
  #ifndef EVIM_FILE
Karsten Hopp 85da60
  # define EVIM_FILE		"$VIMRUNTIME\\evim.vim"
Karsten Hopp 85da60
--- 20,29 ----
Karsten Hopp 85da60
  # define USR_VIMRC_FILE		"$HOME\\_vimrc"
Karsten Hopp 85da60
  #endif
Karsten Hopp 85da60
  #ifndef USR_VIMRC_FILE2
Karsten Hopp 85da60
! # define USR_VIMRC_FILE2	"$HOME\\vimfiles\\vimrc"
Karsten Hopp 85da60
! #endif
Karsten Hopp 85da60
! #ifndef USR_VIMRC_FILE3
Karsten Hopp 85da60
! # define USR_VIMRC_FILE3	"$VIM\\_vimrc"
Karsten Hopp 85da60
  #endif
Karsten Hopp 85da60
  #ifndef EVIM_FILE
Karsten Hopp 85da60
  # define EVIM_FILE		"$VIMRUNTIME\\evim.vim"
Karsten Hopp 85da60
***************
Karsten Hopp 85da60
*** 41,47 ****
Karsten Hopp 85da60
  #  define USR_GVIMRC_FILE	"$HOME\\_gvimrc"
Karsten Hopp 85da60
  # endif
Karsten Hopp 85da60
  # ifndef USR_GVIMRC_FILE2
Karsten Hopp 85da60
! #  define USR_GVIMRC_FILE2	"$VIM\\_gvimrc"
Karsten Hopp 85da60
  # endif
Karsten Hopp 85da60
  # ifndef SYS_MENU_FILE
Karsten Hopp 85da60
  #  define SYS_MENU_FILE		"$VIMRUNTIME\\menu.vim"
Karsten Hopp 85da60
--- 44,53 ----
Karsten Hopp 85da60
  #  define USR_GVIMRC_FILE	"$HOME\\_gvimrc"
Karsten Hopp 85da60
  # endif
Karsten Hopp 85da60
  # ifndef USR_GVIMRC_FILE2
Karsten Hopp 85da60
! #  define USR_GVIMRC_FILE2	"$HOME\\vimfiles\\gvimrc"
Karsten Hopp 85da60
! # endif
Karsten Hopp 85da60
! # ifndef USR_GVIMRC_FILE3
Karsten Hopp 85da60
! #  define USR_GVIMRC_FILE3	"$VIM\\_gvimrc"
Karsten Hopp 85da60
  # endif
Karsten Hopp 85da60
  # ifndef SYS_MENU_FILE
Karsten Hopp 85da60
  #  define SYS_MENU_FILE		"$VIMRUNTIME\\menu.vim"
Karsten Hopp 85da60
*** ../vim-7.3.1177/src/os_unix.h	2012-11-20 16:53:34.000000000 +0100
Karsten Hopp 85da60
--- src/os_unix.h	2013-06-12 20:09:44.000000000 +0200
Karsten Hopp 85da60
***************
Karsten Hopp 85da60
*** 294,304 ****
Karsten Hopp 85da60
  # endif
Karsten Hopp 85da60
  #endif
Karsten Hopp 85da60
  
Karsten Hopp 85da60
! #if !defined(USR_VIMRC_FILE2) && defined(OS2)
Karsten Hopp 85da60
! # define USR_VIMRC_FILE2 "$VIM/.vimrc"
Karsten Hopp 85da60
  #endif
Karsten Hopp 85da60
! #if !defined(USR_VIMRC_FILE2) && defined(VMS)
Karsten Hopp 85da60
! # define USR_VIMRC_FILE2 "sys$login:_vimrc"
Karsten Hopp 85da60
  #endif
Karsten Hopp 85da60
  
Karsten Hopp 85da60
  #ifndef USR_GVIMRC_FILE
Karsten Hopp 85da60
--- 294,317 ----
Karsten Hopp 85da60
  # endif
Karsten Hopp 85da60
  #endif
Karsten Hopp 85da60
  
Karsten Hopp 85da60
! 
Karsten Hopp 85da60
! #if !defined(USR_EXRC_FILE2)
Karsten Hopp 85da60
! # ifdef OS2
Karsten Hopp 85da60
! #  define USR_VIMRC_FILE2	"$HOME/vimfiles/vimrc"
Karsten Hopp 85da60
! # else
Karsten Hopp 85da60
! #  ifdef VMS
Karsten Hopp 85da60
! #   define USR_VIMRC_FILE2	"sys$login:vimfiles:vimrc"
Karsten Hopp 85da60
! #  else
Karsten Hopp 85da60
! #    define USR_VIMRC_FILE2	"~/.vim/vimrc"
Karsten Hopp 85da60
! #  endif
Karsten Hopp 85da60
! # endif
Karsten Hopp 85da60
! #endif
Karsten Hopp 85da60
! 
Karsten Hopp 85da60
! #if !defined(USR_VIMRC_FILE3) && defined(OS2)
Karsten Hopp 85da60
! # define USR_VIMRC_FILE3 "$VIM/.vimrc"
Karsten Hopp 85da60
  #endif
Karsten Hopp 85da60
! #if !defined(USR_VIMRC_FILE3) && defined(VMS)
Karsten Hopp 85da60
! # define USR_VIMRC_FILE3 "sys$login:_vimrc"
Karsten Hopp 85da60
  #endif
Karsten Hopp 85da60
  
Karsten Hopp 85da60
  #ifndef USR_GVIMRC_FILE
Karsten Hopp 85da60
***************
Karsten Hopp 85da60
*** 309,317 ****
Karsten Hopp 85da60
  # endif
Karsten Hopp 85da60
  #endif
Karsten Hopp 85da60
  
Karsten Hopp 85da60
  #ifdef VMS
Karsten Hopp 85da60
! # ifndef USR_GVIMRC_FILE2
Karsten Hopp 85da60
! #  define USR_GVIMRC_FILE2  "sys$login:_gvimrc"
Karsten Hopp 85da60
  # endif
Karsten Hopp 85da60
  #endif
Karsten Hopp 85da60
  
Karsten Hopp 85da60
--- 322,342 ----
Karsten Hopp 85da60
  # endif
Karsten Hopp 85da60
  #endif
Karsten Hopp 85da60
  
Karsten Hopp 85da60
+ #ifndef USR_GVIMRC_FILE2
Karsten Hopp 85da60
+ # ifdef OS2
Karsten Hopp 85da60
+ #  define USR_GVIMRC_FILE2	"$HOME/vimfiles/gvimrc"
Karsten Hopp 85da60
+ # else
Karsten Hopp 85da60
+ #  ifdef VMS
Karsten Hopp 85da60
+ #   define USR_GVIMRC_FILE2	"sys$login:vimfiles:gvimrc"
Karsten Hopp 85da60
+ #  else
Karsten Hopp 85da60
+ #   define USR_GVIMRC_FILE2	"~/.vim/gvimrc"
Karsten Hopp 85da60
+ #  endif
Karsten Hopp 85da60
+ # endif
Karsten Hopp 85da60
+ #endif
Karsten Hopp 85da60
+ 
Karsten Hopp 85da60
  #ifdef VMS
Karsten Hopp 85da60
! # ifndef USR_GVIMRC_FILE3
Karsten Hopp 85da60
! #  define USR_GVIMRC_FILE3  "sys$login:_gvimrc"
Karsten Hopp 85da60
  # endif
Karsten Hopp 85da60
  #endif
Karsten Hopp 85da60
  
Karsten Hopp 85da60
*** ../vim-7.3.1177/src/version.c	2013-06-12 19:52:11.000000000 +0200
Karsten Hopp 85da60
--- src/version.c	2013-06-12 20:34:25.000000000 +0200
Karsten Hopp 85da60
***************
Karsten Hopp 85da60
*** 730,731 ****
Karsten Hopp 85da60
--- 730,733 ----
Karsten Hopp 85da60
  {   /* Add new patch number below this line */
Karsten Hopp 85da60
+ /**/
Karsten Hopp 85da60
+     1178,
Karsten Hopp 85da60
  /**/
Karsten Hopp 85da60
Karsten Hopp 85da60
-- 
Karsten Hopp 85da60
If Microsoft would build a car...
Karsten Hopp 85da60
... the oil, water temperature, and alternator warning lights would
Karsten Hopp 85da60
all be replaced by a single "General Protection Fault" warning light.
Karsten Hopp 85da60
Karsten Hopp 85da60
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 85da60
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 85da60
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 85da60
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///