]> git.pld-linux.org Git - packages/vim.git/blob - 7.3.200
- new: 7.3.261
[packages/vim.git] / 7.3.200
1 To: vim_dev@googlegroups.com
2 Subject: Patch 7.3.200
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.3.200 (after 7.3.198)
11 Problem:    CTRL-D doesn't complete :lang.
12 Solution:   Add the missing part of the change. (Dominique Pelle)
13 Files:      src/ex_docmd.c
14
15
16 *** ../mercurial/vim73/src/ex_docmd.c   2011-05-19 14:50:49.000000000 +0200
17 --- src/ex_docmd.c      2011-05-25 12:45:02.000000000 +0200
18 ***************
19 *** 3861,3873 ****
20   #if (defined(HAVE_LOCALE_H) || defined(X_LOCALE)) \
21         && (defined(FEAT_GETTEXT) || defined(FEAT_MBYTE))
22         case CMD_language:
23 !           if (*skiptowhite(arg) == NUL)
24             {
25                 xp->xp_context = EXPAND_LANGUAGE;
26                 xp->xp_pattern = arg;
27             }
28             else
29 !               xp->xp_context = EXPAND_NOTHING;
30             break;
31   #endif
32   #if defined(FEAT_PROFILE)
33 --- 3861,3884 ----
34   #if (defined(HAVE_LOCALE_H) || defined(X_LOCALE)) \
35         && (defined(FEAT_GETTEXT) || defined(FEAT_MBYTE))
36         case CMD_language:
37 !           p = skiptowhite(arg);
38 !           if (*p == NUL)
39             {
40                 xp->xp_context = EXPAND_LANGUAGE;
41                 xp->xp_pattern = arg;
42             }
43             else
44 !           {
45 !               if ( STRNCMP(arg, "messages", p - arg) == 0
46 !                 || STRNCMP(arg, "ctype", p - arg) == 0
47 !                 || STRNCMP(arg, "time", p - arg) == 0)
48 !               {
49 !                   xp->xp_context = EXPAND_LOCALES;
50 !                   xp->xp_pattern = skipwhite(p);
51 !               }
52 !               else
53 !                   xp->xp_context = EXPAND_NOTHING;
54 !           }
55             break;
56   #endif
57   #if defined(FEAT_PROFILE)
58 *** ../vim-7.3.199/src/version.c        2011-05-25 12:09:46.000000000 +0200
59 --- src/version.c       2011-05-25 12:49:49.000000000 +0200
60 ***************
61 *** 711,712 ****
62 --- 711,714 ----
63   {   /* Add new patch number below this line */
64 + /**/
65 +     200,
66   /**/
67
68 -- 
69 hundred-and-one symptoms of being an internet addict:
70 105. When someone asks you for your address, you tell them your URL.
71
72  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
73 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
74 \\\  an exciting new programming language -- http://www.Zimbu.org        ///
75  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.03579 seconds and 3 git commands to generate.