From 5cd38c88356f69e8ebd2ec86d454e8b2d72157de Mon Sep 17 00:00:00 2001 From: Karsten Hopp Date: Jun 04 2008 10:24:34 +0000 Subject: - patchlevel 306 --- diff --git a/7.1.306 b/7.1.306 new file mode 100644 index 0000000..ba3d49d --- /dev/null +++ b/7.1.306 @@ -0,0 +1,61 @@ +To: vim-dev@vim.org +Subject: Patch 7.1.306 +Fcc: outbox +From: Bram Moolenaar +Mime-Version: 1.0 +Content-Type: text/plain; charset=ISO-8859-1 +Content-Transfer-Encoding: 8bit +------------ + +Patch 7.1.306 +Problem: Some Unicode characters are handled like word characters while + they are symbols. +Solution: Adjust the table for Unicode classification. +Files: src/mbyte.c + + +*** ../vim-7.1.305/src/mbyte.c Wed Feb 20 11:27:59 2008 +--- src/mbyte.c Wed May 21 20:49:34 2008 +*************** +*** 1973,1980 **** + {0x205f, 0x205f, 0}, + {0x2060, 0x27ff, 1}, /* punctuation and symbols */ + {0x2070, 0x207f, 0x2070}, /* superscript */ +! {0x2080, 0x208f, 0x2080}, /* subscript */ +! {0x2983, 0x2998, 1}, + {0x29d8, 0x29db, 1}, + {0x29fc, 0x29fd, 1}, + {0x3000, 0x3000, 0}, /* ideographic space */ +--- 1973,1982 ---- + {0x205f, 0x205f, 0}, + {0x2060, 0x27ff, 1}, /* punctuation and symbols */ + {0x2070, 0x207f, 0x2070}, /* superscript */ +! {0x2080, 0x2094, 0x2080}, /* subscript */ +! {0x20a0, 0x27ff, 1}, /* all kinds of symbols */ +! {0x2800, 0x28ff, 0x2800}, /* braille */ +! {0x2900, 0x2998, 1}, /* arrows, brackets, etc. */ + {0x29d8, 0x29db, 1}, + {0x29fc, 0x29fd, 1}, + {0x3000, 0x3000, 0}, /* ideographic space */ +*** ../vim-7.1.305/src/version.c Thu May 29 22:41:19 2008 +--- src/version.c Wed Jun 4 10:54:36 2008 +*************** +*** 668,669 **** +--- 673,676 ---- + { /* Add new patch number below this line */ ++ /**/ ++ 306, + /**/ + +-- +Engineers are always delighted to share wisdom, even in areas in which they +have no experience whatsoever. Their logic provides them with inherent +insight into any field of expertise. This can be a problem when dealing with +the illogical people who believe that knowledge can only be derived through +experience. + (Scott Adams - The Dilbert principle) + + /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ +/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ +\\\ download, build and distribute -- http://www.A-A-P.org /// + \\\ help me help AIDS victims -- http://ICCF-Holland.org /// diff --git a/README.patches b/README.patches index d53aebf..fdf6ae5 100644 --- a/README.patches +++ b/README.patches @@ -338,3 +338,4 @@ Individual patches for Vim 7.1: 1409 7.1.303 (after 7.1.302) compilation error on MS-Windows, again 12135 7.1.304 shortpath_for_invalid_fname() is too complex and wrong 4735 7.1.305 can't edit compressed file with special characters in the name + 2153 7.1.306 some Unicode symbol chars are handled like word chars diff --git a/vim.spec b/vim.spec index d69e06f..00b2b03 100644 --- a/vim.spec +++ b/vim.spec @@ -18,7 +18,7 @@ #used for pre-releases: %define beta %{nil} %define vimdir vim71%{?beta} -%define patchlevel 305 +%define patchlevel 306 Summary: The VIM editor URL: http://www.vim.org/ @@ -361,6 +361,7 @@ Patch302: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.302 Patch303: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.303 Patch304: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.304 Patch305: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.305 +Patch306: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.306 Patch3000: vim-7.0-syntax.patch Patch3002: vim-7.1-nowarnings.patch @@ -803,6 +804,7 @@ perl -pi -e "s,bin/nawk,bin/awk,g" runtime/tools/mve.awk %patch303 -p0 %patch304 -p0 %patch305 -p0 +%patch306 -p0 # install spell files @@ -1221,6 +1223,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/icons/hicolor/*/apps/* %changelog +* Wed Jun 04 2008 Karsten Hopp 7.1.306-1 +- patchlevel 306, fixes some unicode characters + * Tue Jun 03 2008 Karsten Hopp 7.1.305-1 - patchlevel 305 - put /etc/vimrc autocmd's into fedora augroup (similar to #241308)