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