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