Merge lp:~barry/ubuntu/maverick/exuberant-ctags/618979-python into lp:ubuntu/maverick/exuberant-ctags

Proposed by Barry Warsaw
Status: Merged
Merged at revision: 9
Proposed branch: lp:~barry/ubuntu/maverick/exuberant-ctags/618979-python
Merge into: lp:ubuntu/maverick/exuberant-ctags
Diff against target: 27 lines (+8/-1)
2 files modified
debian/changelog (+7/-0)
python.c (+1/-1)
To merge this branch: bzr merge lp:~barry/ubuntu/maverick/exuberant-ctags/618979-python
Reviewer Review Type Date Requested Status
Colin Watson Approve
Review via email: mp+32885@code.launchpad.net

Description of the change

Disables tagging of Python import statements by default. Re-enable with --python-kinds=+i

To post a comment you must log in.
Revision history for this message
Gustavo Niemeyer (niemeyer) wrote :

Looks nice! Thanks Barry.

Revision history for this message
Colin Watson (cjwatson) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2010-07-12 10:12:13 +0000
3+++ debian/changelog 2010-08-17 15:15:59 +0000
4@@ -1,3 +1,10 @@
5+exuberant-ctags (1:5.8-3ubuntu1ppa0) maverick; urgency=low
6+
7+ * For Python, disable -i so imports are not tagged by default.
8+ (LP: #618979)
9+
10+ -- Barry Warsaw <barry@canonical.com> Tue, 17 Aug 2010 10:50:00 -0400
11+
12 exuberant-ctags (1:5.8-3) unstable; urgency=low
13
14 * Compile with -D_FILE_OFFSET_BITS=64 in order to support 64-bit inode
15
16=== modified file 'python.c'
17--- python.c 2009-07-14 15:05:23 +0000
18+++ python.c 2010-08-17 15:15:59 +0000
19@@ -56,7 +56,7 @@
20 {TRUE, 'f', "function", "functions"},
21 {TRUE, 'm', "member", "class members"},
22 {TRUE, 'v', "variable", "variables"},
23- {TRUE, 'i', "namespace", "imports"}
24+ {FALSE, 'i', "namespace", "imports"}
25 };
26
27 static char const * const singletriple = "'''";

Subscribers

People subscribed via source and target branches

to all changes: