Karsten Hopp 417234
To: vim_dev@googlegroups.com
Karsten Hopp 417234
Subject: Patch 7.3.471
Karsten Hopp 417234
Fcc: outbox
Karsten Hopp 417234
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 417234
Mime-Version: 1.0
Karsten Hopp 417234
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 417234
Content-Transfer-Encoding: 8bit
Karsten Hopp 417234
------------
Karsten Hopp 417234
Karsten Hopp 417234
Patch 7.3.471
Karsten Hopp 417234
Problem:    Can't abort listing placed signs.
Karsten Hopp 417234
Solution:   Check "got_int". (Christian Brabandt)
Karsten Hopp 417234
Files:	    src/buffer.c, src/ex_cmds.c
Karsten Hopp 417234
Karsten Hopp 417234
Karsten Hopp 417234
*** ../vim-7.3.470/src/buffer.c	2012-03-07 22:52:30.000000000 +0100
Karsten Hopp 417234
--- src/buffer.c	2012-03-16 13:54:48.000000000 +0100
Karsten Hopp 417234
***************
Karsten Hopp 417234
*** 5557,5563 ****
Karsten Hopp 417234
  	buf = firstbuf;
Karsten Hopp 417234
      else
Karsten Hopp 417234
  	buf = rbuf;
Karsten Hopp 417234
!     while (buf != NULL)
Karsten Hopp 417234
      {
Karsten Hopp 417234
  	if (buf->b_signlist != NULL)
Karsten Hopp 417234
  	{
Karsten Hopp 417234
--- 5557,5563 ----
Karsten Hopp 417234
  	buf = firstbuf;
Karsten Hopp 417234
      else
Karsten Hopp 417234
  	buf = rbuf;
Karsten Hopp 417234
!     while (buf != NULL && !got_int)
Karsten Hopp 417234
      {
Karsten Hopp 417234
  	if (buf->b_signlist != NULL)
Karsten Hopp 417234
  	{
Karsten Hopp 417234
***************
Karsten Hopp 417234
*** 5565,5571 ****
Karsten Hopp 417234
  	    MSG_PUTS_ATTR(lbuf, hl_attr(HLF_D));
Karsten Hopp 417234
  	    msg_putchar('\n');
Karsten Hopp 417234
  	}
Karsten Hopp 417234
! 	for (p = buf->b_signlist; p != NULL; p = p->next)
Karsten Hopp 417234
  	{
Karsten Hopp 417234
  	    vim_snprintf(lbuf, BUFSIZ, _("    line=%ld  id=%d  name=%s"),
Karsten Hopp 417234
  			   (long)p->lnum, p->id, sign_typenr2name(p->typenr));
Karsten Hopp 417234
--- 5565,5571 ----
Karsten Hopp 417234
  	    MSG_PUTS_ATTR(lbuf, hl_attr(HLF_D));
Karsten Hopp 417234
  	    msg_putchar('\n');
Karsten Hopp 417234
  	}
Karsten Hopp 417234
! 	for (p = buf->b_signlist; p != NULL && !got_int; p = p->next)
Karsten Hopp 417234
  	{
Karsten Hopp 417234
  	    vim_snprintf(lbuf, BUFSIZ, _("    line=%ld  id=%d  name=%s"),
Karsten Hopp 417234
  			   (long)p->lnum, p->id, sign_typenr2name(p->typenr));
Karsten Hopp 417234
*** ../vim-7.3.470/src/ex_cmds.c	2012-03-07 14:57:50.000000000 +0100
Karsten Hopp 417234
--- src/ex_cmds.c	2012-03-16 13:58:50.000000000 +0100
Karsten Hopp 417234
***************
Karsten Hopp 417234
*** 6729,6735 ****
Karsten Hopp 417234
  	if (idx == SIGNCMD_LIST && *arg == NUL)
Karsten Hopp 417234
  	{
Karsten Hopp 417234
  	    /* ":sign list": list all defined signs */
Karsten Hopp 417234
! 	    for (sp = first_sign; sp != NULL; sp = sp->sn_next)
Karsten Hopp 417234
  		sign_list_defined(sp);
Karsten Hopp 417234
  	}
Karsten Hopp 417234
  	else if (*arg == NUL)
Karsten Hopp 417234
--- 6729,6735 ----
Karsten Hopp 417234
  	if (idx == SIGNCMD_LIST && *arg == NUL)
Karsten Hopp 417234
  	{
Karsten Hopp 417234
  	    /* ":sign list": list all defined signs */
Karsten Hopp 417234
! 	    for (sp = first_sign; sp != NULL && !got_int; sp = sp->sn_next)
Karsten Hopp 417234
  		sign_list_defined(sp);
Karsten Hopp 417234
  	}
Karsten Hopp 417234
  	else if (*arg == NUL)
Karsten Hopp 417234
*** ../vim-7.3.470/src/version.c	2012-03-07 22:55:17.000000000 +0100
Karsten Hopp 417234
--- src/version.c	2012-03-16 13:55:28.000000000 +0100
Karsten Hopp 417234
***************
Karsten Hopp 417234
*** 716,717 ****
Karsten Hopp 417234
--- 716,719 ----
Karsten Hopp 417234
  {   /* Add new patch number below this line */
Karsten Hopp 417234
+ /**/
Karsten Hopp 417234
+     471,
Karsten Hopp 417234
  /**/
Karsten Hopp 417234
Karsten Hopp 417234
-- 
Karsten Hopp 417234
Some of the well know MS-Windows errors:
Karsten Hopp 417234
	EMEMORY		Memory error caused by..., eh...
Karsten Hopp 417234
	ELICENSE	Your license has expired, give us more money!
Karsten Hopp 417234
	EMOUSE		Mouse moved, reinstall Windows
Karsten Hopp 417234
	EILLEGAL	Illegal error, you are not allowed to see this
Karsten Hopp 417234
	EVIRUS		Undetectable virus found
Karsten Hopp 417234
Karsten Hopp 417234
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 417234
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 417234
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 417234
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///