diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2013-11-04 17:08:47 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2018-05-31 22:57:36 +0200 |
commit | 76fc4757ac91ac7947a01fb7b53dddf9a78a01d1 (patch) | |
tree | 9b98e6e193c7870cb27ac861394c1c4592850922 /source/ap/vim/patches/7.3.534 | |
parent | 9664bee729d487bcc0a0bc35859f8e13d5421c75 (diff) | |
download | current-76fc4757ac91ac7947a01fb7b53dddf9a78a01d1.tar.gz |
Slackware 14.1slackware-14.1
Mon Nov 4 17:08:47 UTC 2013
Slackware 14.1 x86_64 stable is released!
It's been another interesting release cycle here at Slackware bringing
new features like support for UEFI machines, updated compilers and
development tools, the switch from MySQL to MariaDB, and many more
improvements throughout the system. Thanks to the team, the upstream
developers, the dedicated Slackware community, and everyone else who
pitched in to help make this release a reality.
The ISOs are off to be replicated, a 6 CD-ROM 32-bit set and a
dual-sided
32-bit/64-bit x86/x86_64 DVD. Please consider supporting the Slackware
project by picking up a copy from store.slackware.com. We're taking
pre-orders now, and offer a discount if you sign up for a subscription.
Have fun! :-)
Diffstat (limited to 'source/ap/vim/patches/7.3.534')
-rw-r--r-- | source/ap/vim/patches/7.3.534 | 101 |
1 files changed, 0 insertions, 101 deletions
diff --git a/source/ap/vim/patches/7.3.534 b/source/ap/vim/patches/7.3.534 deleted file mode 100644 index 618d6e4e..00000000 --- a/source/ap/vim/patches/7.3.534 +++ /dev/null @@ -1,101 +0,0 @@ -To: vim_dev@googlegroups.com -Subject: Patch 7.3.534 -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.534 (after 7.3.461) -Problem: When using an InsertCharPre autocommand autoindent fails. -Solution: Proper handling of v:char. (Alexey Radkov) -Files: src/edit.c - - -*** ../vim-7.3.533/src/edit.c 2012-05-18 16:35:17.000000000 +0200 ---- src/edit.c 2012-06-01 14:41:06.000000000 +0200 -*************** -*** 10108,10129 **** - do_insert_char_pre(c) - int c; - { -! char_u *res; - - /* Return quickly when there is nothing to do. */ - if (!has_insertcharpre()) - return NULL; - - /* Lock the text to avoid weird things from happening. */ - ++textlock; -! set_vim_var_char(c); /* set v:char */ - - if (apply_autocmds(EVENT_INSERTCHARPRE, NULL, NULL, FALSE, curbuf)) -! /* Get the new value of v:char. It may be empty or more than one -! * character. */ -! res = vim_strsave(get_vim_var_str(VV_CHAR)); -! else -! res = NULL; - - set_vim_var_string(VV_CHAR, NULL, -1); /* clear v:char */ - --textlock; ---- 10108,10147 ---- - do_insert_char_pre(c) - int c; - { -! char_u *res; -! #ifdef FEAT_MBYTE -! char_u buf[MB_MAXBYTES + 1]; -! #else -! char_u buf[2]; -! #endif - - /* Return quickly when there is nothing to do. */ - if (!has_insertcharpre()) - return NULL; - -+ #ifdef FEAT_MBYTE -+ if (has_mbyte) -+ buf[(*mb_char2bytes)(c, buf)] = NUL; -+ else -+ #endif -+ { -+ buf[0] = c; -+ buf[1] = NUL; -+ } -+ - /* Lock the text to avoid weird things from happening. */ - ++textlock; -! set_vim_var_string(VV_CHAR, buf, -1); /* set v:char */ - -+ res = NULL; - if (apply_autocmds(EVENT_INSERTCHARPRE, NULL, NULL, FALSE, curbuf)) -! { -! /* Get the value of v:char. It may be empty or more than one -! * character. Only use it when changed, otherwise continue with the -! * original character to avoid breaking autoindent. */ -! if (STRCMP(buf, get_vim_var_str(VV_CHAR)) != 0) -! res = vim_strsave(get_vim_var_str(VV_CHAR)); -! } - - set_vim_var_string(VV_CHAR, NULL, -1); /* clear v:char */ - --textlock; -*** ../vim-7.3.533/src/version.c 2012-06-01 13:46:06.000000000 +0200 ---- src/version.c 2012-06-01 14:42:19.000000000 +0200 -*************** -*** 716,717 **** ---- 716,719 ---- - { /* Add new patch number below this line */ -+ /**/ -+ 534, - /**/ - --- -hundred-and-one symptoms of being an internet addict: -11. You find yourself typing "com" after every period when using a word - processor.com - - /// 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 /// |