Karsten Hopp 35e11c
To: vim_dev@googlegroups.com
Karsten Hopp 35e11c
Subject: Patch 7.3.934
Karsten Hopp 35e11c
Fcc: outbox
Karsten Hopp 35e11c
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 35e11c
Mime-Version: 1.0
Karsten Hopp 35e11c
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 35e11c
Content-Transfer-Encoding: 8bit
Karsten Hopp 35e11c
------------
Karsten Hopp 35e11c
Karsten Hopp 35e11c
Patch 7.3.934
Karsten Hopp 35e11c
Problem:    E381 and E380 make the user think nothing happened.
Karsten Hopp 35e11c
Solution:   Display the message indicating what error list is now active.
Karsten Hopp 35e11c
	    (Christian Brabandt)
Karsten Hopp 35e11c
Files:	    src/quickfix.c
Karsten Hopp 35e11c
Karsten Hopp 35e11c
Karsten Hopp 35e11c
*** ../vim-7.3.933/src/quickfix.c	2013-05-06 04:21:35.000000000 +0200
Karsten Hopp 35e11c
--- src/quickfix.c	2013-05-11 13:50:56.000000000 +0200
Karsten Hopp 35e11c
***************
Karsten Hopp 35e11c
*** 2085,2091 ****
Karsten Hopp 35e11c
  	    if (qi->qf_curlist == 0)
Karsten Hopp 35e11c
  	    {
Karsten Hopp 35e11c
  		EMSG(_("E380: At bottom of quickfix stack"));
Karsten Hopp 35e11c
! 		return;
Karsten Hopp 35e11c
  	    }
Karsten Hopp 35e11c
  	    --qi->qf_curlist;
Karsten Hopp 35e11c
  	}
Karsten Hopp 35e11c
--- 2085,2091 ----
Karsten Hopp 35e11c
  	    if (qi->qf_curlist == 0)
Karsten Hopp 35e11c
  	    {
Karsten Hopp 35e11c
  		EMSG(_("E380: At bottom of quickfix stack"));
Karsten Hopp 35e11c
! 		break;
Karsten Hopp 35e11c
  	    }
Karsten Hopp 35e11c
  	    --qi->qf_curlist;
Karsten Hopp 35e11c
  	}
Karsten Hopp 35e11c
***************
Karsten Hopp 35e11c
*** 2094,2106 ****
Karsten Hopp 35e11c
  	    if (qi->qf_curlist >= qi->qf_listcount - 1)
Karsten Hopp 35e11c
  	    {
Karsten Hopp 35e11c
  		EMSG(_("E381: At top of quickfix stack"));
Karsten Hopp 35e11c
! 		return;
Karsten Hopp 35e11c
  	    }
Karsten Hopp 35e11c
  	    ++qi->qf_curlist;
Karsten Hopp 35e11c
  	}
Karsten Hopp 35e11c
      }
Karsten Hopp 35e11c
      qf_msg(qi);
Karsten Hopp 35e11c
- 
Karsten Hopp 35e11c
  }
Karsten Hopp 35e11c
  
Karsten Hopp 35e11c
      static void
Karsten Hopp 35e11c
--- 2094,2105 ----
Karsten Hopp 35e11c
  	    if (qi->qf_curlist >= qi->qf_listcount - 1)
Karsten Hopp 35e11c
  	    {
Karsten Hopp 35e11c
  		EMSG(_("E381: At top of quickfix stack"));
Karsten Hopp 35e11c
! 		break;
Karsten Hopp 35e11c
  	    }
Karsten Hopp 35e11c
  	    ++qi->qf_curlist;
Karsten Hopp 35e11c
  	}
Karsten Hopp 35e11c
      }
Karsten Hopp 35e11c
      qf_msg(qi);
Karsten Hopp 35e11c
  }
Karsten Hopp 35e11c
  
Karsten Hopp 35e11c
      static void
Karsten Hopp 35e11c
*** ../vim-7.3.933/src/version.c	2013-05-11 13:56:12.000000000 +0200
Karsten Hopp 35e11c
--- src/version.c	2013-05-11 15:46:36.000000000 +0200
Karsten Hopp 35e11c
***************
Karsten Hopp 35e11c
*** 730,731 ****
Karsten Hopp 35e11c
--- 730,733 ----
Karsten Hopp 35e11c
  {   /* Add new patch number below this line */
Karsten Hopp 35e11c
+ /**/
Karsten Hopp 35e11c
+     934,
Karsten Hopp 35e11c
  /**/
Karsten Hopp 35e11c
Karsten Hopp 35e11c
-- 
Karsten Hopp 35e11c
"A mouse can be just as dangerous as a bullet or a bomb."
Karsten Hopp 35e11c
             (US Representative Lamar Smith, R-Texas)
Karsten Hopp 35e11c
Karsten Hopp 35e11c
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 35e11c
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 35e11c
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 35e11c
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///