]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - vim/patches/vim-7.3.233.patch0
vim: Update configuration file.
[people/arne_f/ipfire-3.x.git] / vim / patches / vim-7.3.233.patch0
CommitLineData
c6060300
MT
1To: vim_dev@googlegroups.com
2Subject: Patch 7.3.233
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.3.233
11Problem: ":scriptnames" and ":breaklist" show long file names.
12Solution: Shorten to use "~/" when possible. (Jean-Rene David)
13Files: 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--
75hundred-and-one symptoms of being an internet addict:
76223. 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 ///