|
Karsten Hopp |
2e6fe6 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
2e6fe6 |
Subject: Patch 7.3.761
|
|
Karsten Hopp |
2e6fe6 |
Fcc: outbox
|
|
Karsten Hopp |
2e6fe6 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
2e6fe6 |
Mime-Version: 1.0
|
|
Karsten Hopp |
2e6fe6 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
2e6fe6 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
2e6fe6 |
------------
|
|
Karsten Hopp |
2e6fe6 |
|
|
Karsten Hopp |
2e6fe6 |
Patch 7.3.761
|
|
Karsten Hopp |
2e6fe6 |
Problem: In Visual mode a "-p does not work. (Marcin Szamotulski)
|
|
Karsten Hopp |
2e6fe6 |
Solution: Avoid writing to "- before putting it. (Christian Brabandt)
|
|
Karsten Hopp |
2e6fe6 |
Files: src/normal.c, src/testdir/test48.in, src/testdir/test48.ok
|
|
Karsten Hopp |
2e6fe6 |
|
|
Karsten Hopp |
2e6fe6 |
|
|
Karsten Hopp |
2e6fe6 |
*** ../vim-7.3.760/src/normal.c 2012-12-12 17:33:26.000000000 +0100
|
|
Karsten Hopp |
2e6fe6 |
--- src/normal.c 2012-12-12 18:11:06.000000000 +0100
|
|
Karsten Hopp |
2e6fe6 |
***************
|
|
Karsten Hopp |
2e6fe6 |
*** 9412,9425 ****
|
|
Karsten Hopp |
2e6fe6 |
# ifdef FEAT_CLIPBOARD
|
|
Karsten Hopp |
2e6fe6 |
adjust_clip_reg(®name);
|
|
Karsten Hopp |
2e6fe6 |
# endif
|
|
Karsten Hopp |
2e6fe6 |
! if (regname == 0 || regname == '"' || VIM_ISDIGIT(regname)
|
|
Karsten Hopp |
2e6fe6 |
# ifdef FEAT_CLIPBOARD
|
|
Karsten Hopp |
2e6fe6 |
|| (clip_unnamed && (regname == '*' || regname == '+'))
|
|
Karsten Hopp |
2e6fe6 |
# endif
|
|
Karsten Hopp |
2e6fe6 |
|
|
Karsten Hopp |
2e6fe6 |
)
|
|
Karsten Hopp |
2e6fe6 |
{
|
|
Karsten Hopp |
2e6fe6 |
! /* the delete is going to overwrite the register we want to
|
|
Karsten Hopp |
2e6fe6 |
* put, save it first. */
|
|
Karsten Hopp |
2e6fe6 |
reg1 = get_register(regname, TRUE);
|
|
Karsten Hopp |
2e6fe6 |
}
|
|
Karsten Hopp |
2e6fe6 |
--- 9412,9426 ----
|
|
Karsten Hopp |
2e6fe6 |
# ifdef FEAT_CLIPBOARD
|
|
Karsten Hopp |
2e6fe6 |
adjust_clip_reg(®name);
|
|
Karsten Hopp |
2e6fe6 |
# endif
|
|
Karsten Hopp |
2e6fe6 |
! if (regname == 0 || regname == '"'
|
|
Karsten Hopp |
2e6fe6 |
! || VIM_ISDIGIT(regname) || regname == '-'
|
|
Karsten Hopp |
2e6fe6 |
# ifdef FEAT_CLIPBOARD
|
|
Karsten Hopp |
2e6fe6 |
|| (clip_unnamed && (regname == '*' || regname == '+'))
|
|
Karsten Hopp |
2e6fe6 |
# endif
|
|
Karsten Hopp |
2e6fe6 |
|
|
Karsten Hopp |
2e6fe6 |
)
|
|
Karsten Hopp |
2e6fe6 |
{
|
|
Karsten Hopp |
2e6fe6 |
! /* The delete is going to overwrite the register we want to
|
|
Karsten Hopp |
2e6fe6 |
* put, save it first. */
|
|
Karsten Hopp |
2e6fe6 |
reg1 = get_register(regname, TRUE);
|
|
Karsten Hopp |
2e6fe6 |
}
|
|
Karsten Hopp |
2e6fe6 |
*** ../vim-7.3.760/src/testdir/test48.in 2010-08-15 21:57:29.000000000 +0200
|
|
Karsten Hopp |
2e6fe6 |
--- src/testdir/test48.in 2012-12-12 18:09:21.000000000 +0100
|
|
Karsten Hopp |
2e6fe6 |
***************
|
|
Karsten Hopp |
2e6fe6 |
*** 54,61 ****
|
|
Karsten Hopp |
2e6fe6 |
--- 54,65 ----
|
|
Karsten Hopp |
2e6fe6 |
^O?3li??4li??4li? <-- should show the name of a noted text editor?
|
|
Karsten Hopp |
2e6fe6 |
^o?4li??4li??4li? <-- and its version number?-dd
|
|
Karsten Hopp |
2e6fe6 |
:"
|
|
Karsten Hopp |
2e6fe6 |
+ :" Test for yanking and pasting using the small delete register
|
|
Karsten Hopp |
2e6fe6 |
+ gg/^foo
|
|
Karsten Hopp |
2e6fe6 |
+ dewve"-p
|
|
Karsten Hopp |
2e6fe6 |
:wq! test.out
|
|
Karsten Hopp |
2e6fe6 |
ENDTEST
|
|
Karsten Hopp |
2e6fe6 |
+ foo, bar
|
|
Karsten Hopp |
2e6fe6 |
keyword keyw
|
|
Karsten Hopp |
2e6fe6 |
all your base are belong to us
|
|
Karsten Hopp |
2e6fe6 |
1 2 3 4 5 6
|
|
Karsten Hopp |
2e6fe6 |
*** ../vim-7.3.760/src/testdir/test48.ok 2010-08-15 21:57:29.000000000 +0200
|
|
Karsten Hopp |
2e6fe6 |
--- src/testdir/test48.ok 2012-12-12 18:09:25.000000000 +0100
|
|
Karsten Hopp |
2e6fe6 |
***************
|
|
Karsten Hopp |
2e6fe6 |
*** 1,3 ****
|
|
Karsten Hopp |
2e6fe6 |
--- 1,4 ----
|
|
Karsten Hopp |
2e6fe6 |
+ , foo
|
|
Karsten Hopp |
2e6fe6 |
keyword keyword
|
|
Karsten Hopp |
2e6fe6 |
all your base
|
|
Karsten Hopp |
2e6fe6 |
are belong to vim
|
|
Karsten Hopp |
2e6fe6 |
*** ../vim-7.3.760/src/version.c 2012-12-12 17:33:26.000000000 +0100
|
|
Karsten Hopp |
2e6fe6 |
--- src/version.c 2012-12-12 18:19:51.000000000 +0100
|
|
Karsten Hopp |
2e6fe6 |
***************
|
|
Karsten Hopp |
2e6fe6 |
*** 727,728 ****
|
|
Karsten Hopp |
2e6fe6 |
--- 727,730 ----
|
|
Karsten Hopp |
2e6fe6 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
2e6fe6 |
+ /**/
|
|
Karsten Hopp |
2e6fe6 |
+ 761,
|
|
Karsten Hopp |
2e6fe6 |
/**/
|
|
Karsten Hopp |
2e6fe6 |
|
|
Karsten Hopp |
2e6fe6 |
--
|
|
Karsten Hopp |
2e6fe6 |
You are not really successful until someone claims he sat
|
|
Karsten Hopp |
2e6fe6 |
beside you in school.
|
|
Karsten Hopp |
2e6fe6 |
|
|
Karsten Hopp |
2e6fe6 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
2e6fe6 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
2e6fe6 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
2e6fe6 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|