]> git.pld-linux.org Git - packages/vim.git/blob - 7.3.233
- new
[packages/vim.git] / 7.3.233
1 To: vim_dev@googlegroups.com
2 Subject: Patch 7.3.233
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.233
11 Problem:    ":scriptnames" and ":breaklist" show long file names.
12 Solution:   Shorten to use "~/" when possible. (Jean-Rene David)
13 Files:      src/ex_cmds2.c 
14
15
16 *** ../vim-7.3.232/src/ex_cmds2.c       2011-05-19 18:26:34.000000000 +0200
17 --- src/ex_cmds2.c      2011-06-26 04:20:24.000000000 +0200
18 ***************
19 *** 682,691 ****
20         for (i = 0; i < dbg_breakp.ga_len; ++i)
21         {
22             bp = &BREAKP(i);
23             smsg((char_u *)_("%3d  %s %s  line %ld"),
24                     bp->dbg_nr,
25                     bp->dbg_type == DBG_FUNC ? "func" : "file",
26 !                   bp->dbg_name,
27                     (long)bp->dbg_lnum);
28         }
29   }
30 --- 682,693 ----
31         for (i = 0; i < dbg_breakp.ga_len; ++i)
32         {
33             bp = &BREAKP(i);
34 +           if (bp->dbg_type == DBG_FILE)
35 +               home_replace(NULL, bp->dbg_name, NameBuff, MAXPATHL, TRUE);
36             smsg((char_u *)_("%3d  %s %s  line %ld"),
37                     bp->dbg_nr,
38                     bp->dbg_type == DBG_FUNC ? "func" : "file",
39 !                   bp->dbg_type == DBG_FUNC ? bp->dbg_name : NameBuff,
40                     (long)bp->dbg_lnum);
41         }
42   }
43 ***************
44 *** 3268,3274 ****
45   
46       for (i = 1; i <= script_items.ga_len && !got_int; ++i)
47         if (SCRIPT_ITEM(i).sn_name != NULL)
48 !           smsg((char_u *)"%3d: %s", i, SCRIPT_ITEM(i).sn_name);
49   }
50   
51   # if defined(BACKSLASH_IN_FILENAME) || defined(PROTO)
52 --- 3270,3280 ----
53   
54       for (i = 1; i <= script_items.ga_len && !got_int; ++i)
55         if (SCRIPT_ITEM(i).sn_name != NULL)
56 !       {
57 !           home_replace(NULL, SCRIPT_ITEM(i).sn_name,
58 !                                                   NameBuff, MAXPATHL, TRUE);
59 !           smsg((char_u *)"%3d: %s", i, NameBuff);
60 !         }
61   }
62   
63   # if defined(BACKSLASH_IN_FILENAME) || defined(PROTO)
64 *** ../vim-7.3.232/src/version.c        2011-06-26 04:01:37.000000000 +0200
65 --- src/version.c       2011-06-26 04:23:48.000000000 +0200
66 ***************
67 *** 711,712 ****
68 --- 711,714 ----
69   {   /* Add new patch number below this line */
70 + /**/
71 +     233,
72   /**/
73
74 -- 
75 hundred-and-one symptoms of being an internet addict:
76 223. You set up a web-cam as your home's security system.
77
78  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
79 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
80 \\\  an exciting new programming language -- http://www.Zimbu.org        ///
81  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.043812 seconds and 3 git commands to generate.