Karsten Hopp b5582f
To: vim-dev@vim.org
Karsten Hopp b5582f
Subject: patch 7.1.026
Karsten Hopp b5582f
Fcc: outbox
Karsten Hopp b5582f
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp b5582f
Mime-Version: 1.0
Karsten Hopp b5582f
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp b5582f
Content-Transfer-Encoding: 8bit
Karsten Hopp b5582f
------------
Karsten Hopp b5582f
Karsten Hopp b5582f
Patch 7.1.026
Karsten Hopp b5582f
Problem:    "[p" doesn't work in Visual mode. (David Brown)
Karsten Hopp b5582f
Solution:   Use checkclearop() instead of checkclearopq().
Karsten Hopp b5582f
Files:	    src/normal.c
Karsten Hopp b5582f
Karsten Hopp b5582f
Karsten Hopp b5582f
*** ../vim-7.1.025/src/normal.c	Thu May 10 18:45:26 2007
Karsten Hopp b5582f
--- src/normal.c	Wed Jul  4 21:16:36 2007
Karsten Hopp b5582f
***************
Karsten Hopp b5582f
*** 6379,6385 ****
Karsten Hopp b5582f
       */
Karsten Hopp b5582f
      else if (cap->nchar == 'p' || cap->nchar == 'P')
Karsten Hopp b5582f
      {
Karsten Hopp b5582f
! 	if (!checkclearopq(cap->oap))
Karsten Hopp b5582f
  	{
Karsten Hopp b5582f
  	    prep_redo_cmd(cap);
Karsten Hopp b5582f
  	    do_put(cap->oap->regname,
Karsten Hopp b5582f
--- 6379,6385 ----
Karsten Hopp b5582f
       */
Karsten Hopp b5582f
      else if (cap->nchar == 'p' || cap->nchar == 'P')
Karsten Hopp b5582f
      {
Karsten Hopp b5582f
! 	if (!checkclearop(cap->oap))
Karsten Hopp b5582f
  	{
Karsten Hopp b5582f
  	    prep_redo_cmd(cap);
Karsten Hopp b5582f
  	    do_put(cap->oap->regname,
Karsten Hopp b5582f
*** ../vim-7.1.025/src/version.c	Tue Jul 10 13:27:46 2007
Karsten Hopp b5582f
--- src/version.c	Tue Jul 10 14:01:52 2007
Karsten Hopp b5582f
***************
Karsten Hopp b5582f
*** 668,669 ****
Karsten Hopp b5582f
--- 668,671 ----
Karsten Hopp b5582f
  {   /* Add new patch number below this line */
Karsten Hopp b5582f
+ /**/
Karsten Hopp b5582f
+     26,
Karsten Hopp b5582f
  /**/
Karsten Hopp b5582f
Karsten Hopp b5582f
-- 
Karsten Hopp b5582f
BRIDGEKEEPER: What is the air-speed velocity of an unladen swallow?
Karsten Hopp b5582f
ARTHUR:       What do you mean?  An African or European swallow?
Karsten Hopp b5582f
BRIDGEKEEPER: Er ...  I don't know that ... Aaaaarrrrrrggghhh!
Karsten Hopp b5582f
   BRIDGEKEEPER is cast into the gorge.
Karsten Hopp b5582f
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
Karsten Hopp b5582f
Karsten Hopp b5582f
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp b5582f
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp b5582f
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp b5582f
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///