Karsten Hopp 8bc426
To: vim_dev@googlegroups.com
Karsten Hopp 8bc426
Subject: Patch 7.3.064
Karsten Hopp 8bc426
Fcc: outbox
Karsten Hopp 8bc426
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 8bc426
Mime-Version: 1.0
Karsten Hopp 8bc426
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 8bc426
Content-Transfer-Encoding: 8bit
Karsten Hopp 8bc426
------------
Karsten Hopp 8bc426
Karsten Hopp 8bc426
Patch 7.3.064
Karsten Hopp 8bc426
Problem:    Win32: ":dis +" shows nothing, but "+p does insert text.
Karsten Hopp 8bc426
Solution:   Display the * register, since that's what will be inserted.
Karsten Hopp 8bc426
	    (Christian Brabandt)
Karsten Hopp 8bc426
Files:	    src/globals.h, src/ops.c
Karsten Hopp 8bc426
Karsten Hopp 8bc426
Karsten Hopp 8bc426
*** ../vim-7.3.063/src/globals.h	2010-08-15 21:57:27.000000000 +0200
Karsten Hopp 8bc426
--- src/globals.h	2010-11-24 14:06:47.000000000 +0100
Karsten Hopp 8bc426
***************
Karsten Hopp 8bc426
*** 510,515 ****
Karsten Hopp 8bc426
--- 510,516 ----
Karsten Hopp 8bc426
  EXTERN VimClipboard clip_plus;	/* CLIPBOARD selection in X11 */
Karsten Hopp 8bc426
  # else
Karsten Hopp 8bc426
  #  define clip_plus clip_star	/* there is only one clipboard */
Karsten Hopp 8bc426
+ #  define ONE_CLIPBOARD
Karsten Hopp 8bc426
  # endif
Karsten Hopp 8bc426
  EXTERN int	clip_unnamed INIT(= FALSE);
Karsten Hopp 8bc426
  EXTERN int	clip_autoselect INIT(= FALSE);
Karsten Hopp 8bc426
*** ../vim-7.3.063/src/ops.c	2010-10-09 17:21:42.000000000 +0200
Karsten Hopp 8bc426
--- src/ops.c	2010-11-24 14:26:25.000000000 +0100
Karsten Hopp 8bc426
***************
Karsten Hopp 8bc426
*** 3979,3985 ****
Karsten Hopp 8bc426
      for (i = -1; i < NUM_REGISTERS && !got_int; ++i)
Karsten Hopp 8bc426
      {
Karsten Hopp 8bc426
  	name = get_register_name(i);
Karsten Hopp 8bc426
! 	if (arg != NULL && vim_strchr(arg, name) == NULL)
Karsten Hopp 8bc426
  	    continue;	    /* did not ask for this register */
Karsten Hopp 8bc426
  
Karsten Hopp 8bc426
  #ifdef FEAT_CLIPBOARD
Karsten Hopp 8bc426
--- 3979,3990 ----
Karsten Hopp 8bc426
      for (i = -1; i < NUM_REGISTERS && !got_int; ++i)
Karsten Hopp 8bc426
      {
Karsten Hopp 8bc426
  	name = get_register_name(i);
Karsten Hopp 8bc426
! 	if (arg != NULL && vim_strchr(arg, name) == NULL
Karsten Hopp 8bc426
! #ifdef ONE_CLIPBOARD
Karsten Hopp 8bc426
! 	    /* Star register and plus register contain the same thing. */
Karsten Hopp 8bc426
! 		&& (name != '*' || vim_strchr(arg, '+') == NULL)
Karsten Hopp 8bc426
! #endif
Karsten Hopp 8bc426
! 		)
Karsten Hopp 8bc426
  	    continue;	    /* did not ask for this register */
Karsten Hopp 8bc426
  
Karsten Hopp 8bc426
  #ifdef FEAT_CLIPBOARD
Karsten Hopp 8bc426
*** ../vim-7.3.063/src/version.c	2010-11-24 12:35:14.000000000 +0100
Karsten Hopp 8bc426
--- src/version.c	2010-11-24 14:24:03.000000000 +0100
Karsten Hopp 8bc426
***************
Karsten Hopp 8bc426
*** 716,717 ****
Karsten Hopp 8bc426
--- 716,719 ----
Karsten Hopp 8bc426
  {   /* Add new patch number below this line */
Karsten Hopp 8bc426
+ /**/
Karsten Hopp 8bc426
+     64,
Karsten Hopp 8bc426
  /**/
Karsten Hopp 8bc426
Karsten Hopp 8bc426
-- 
Karsten Hopp 8bc426
FIRST SOLDIER:  So they wouldn't be able to bring a coconut back anyway.
Karsten Hopp 8bc426
SECOND SOLDIER: Wait a minute! Suppose two swallows carried it together?
Karsten Hopp 8bc426
FIRST SOLDIER:  No, they'd have to have it on a line.
Karsten Hopp 8bc426
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
Karsten Hopp 8bc426
Karsten Hopp 8bc426
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 8bc426
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 8bc426
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 8bc426
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///