Vim omni completion for LP bugs uses Debian Bugs information

Bug #196112 reported by Miguel Ruiz
6
Affects Status Importance Assigned to Milestone
vim (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: vim

I'm using the vim (7.1-138+1ubuntu3) on Hardy Heron up to date.

I tried to use the omni completion feature for LP Bugs, but the bugs related to the package were obtained from the Debian BTS (instead of LP).

It would be great if this issue can be fixed ASAP. Is a good feature for vim lovers :-)

Cheers!

Related branches

CVE References

Miguel Ruiz (mruiz)
description: updated
Revision history for this message
Daniel Hahler (blueyed) wrote :

It is currently only supposed to work directly after a "LP: #" and if you do it e.g. after "LP: #1", it will use debbugs instead.
I'm considering this a bug, too and have just looked into fixing this.

Fore reference: it works with "LP: #<ctrl-x><ctrl-o>", but fails if there's already a digit, e.g. "LP: #1<ctrl-x><ctrl-o>"

Here's the post from Colin, who has implemented this: http://www.chiark.greenend.org.uk/ucgi/~cjwatson/blosxom/2008/01/31

Changed in vim:
assignee: nobody → blueyed
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Daniel Hahler (blueyed) wrote :
Revision history for this message
Daniel Hahler (blueyed) wrote :

Colin, I've subscribed you, because I believe that you may like that :)
Thanks for having implemented it in the first place, very nice indeed!

Changed in vim:
assignee: blueyed → nobody
status: In Progress → Triaged
Revision history for this message
Miguel Ruiz (mruiz) wrote :

Daniel,

Thanks for take care of this bug.

Cheers!

Revision history for this message
Colin Watson (cjwatson) wrote :

This isn't critical enough to go into Hardy at this point, so I'm unsubscribing the sponsorship list, but I'll milestone it for "later" to look at for Intrepid.

Revision history for this message
Colin Watson (cjwatson) wrote :

(I recall this being really hard to get even as right as I managed!)

Changed in vim:
milestone: none → later
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (18.5 KiB)

This bug was fixed in the package vim - 1:7.1.293-2ubuntu1

---------------
vim (1:7.1.293-2ubuntu1) intrepid; urgency=low

  * Resynchronise with Debian (LP: #183935); thanks to James Vega for
    including a number of our changes! Remaining changes:
    - Enable detection of GNU screen as a mouse-capable terminal.
    - Add NoDisplay=true to gvim.desktop.
    - Drop vim-lesstif package and lesstif2-dev build-dependency.
    - Build-depend on libxt-dev.
    - Restore a number of Conflicts/Replaces and include
      /usr/share/man/ru.{KOI8-R,UTF-8}{,/man1}, both to help with upgrade
      problems from 6.06.
    - Enable Python interpreter on basic builds.
    - Create a .pot file for translations.
    - Disable autoindent, line-wrapping, and backup files by default.
    - Add intrepid to lists of Ubuntu distributions.
    - Add metapackages to list of allowed debian/control sections.
    - Add omni completion support for Launchpad bugs via
      python-launchpad-bugs.
  * Improve omni completion for Launchpad and debbugs, so that it allows
    completion of bug number parts (base), e.g.
    "LP:<space>#1<ctrl-x><ctrl-o>" will include all bugs from the package
    beginning with "1". Previously, this would have invoked a completion
    using debbugs (thanks, Daniel Hahler; LP: #196112).

vim (1:7.1.293-2) unstable; urgency=low

  * debian/rules:
    - Fix expansion of @VIMCUR@ in vimrc.tiny. Based off a patch by Daniel
      Hahler. (Closes: #477379)
    - Create a separate install-stamp-vim-tiny target.
    - Add the proper lines for vimrc.tiny to vim-tiny.{install,links} in the
      install-stamp-vim-tiny target.
  * debian/control:
    - Correct the vim-common and vim-runtime descriptions with regard to
      vimtutor.
    - Add Conflicts/Replaces to vim-tiny against vim-common since
      /etc/vim/vimrc.tiny is moving to the vim-tiny package.
  * runtime/syntax/messages.vim:
    - Support highlighting of RFC3339 timestamps. (Closes: #475568)
  * runtime/scripts.vim:
    - Detect Mozilla Thunderbird's mbox file as mail filetype. Thanks to
      Kevin B. McCarty for the patch. (Closes: #475300)
  * runtime/filetype.vim:
    - Add detection of more passwd/shadow related files. Based on a patch by
      Jarek Kamiński. (Closes: #420304)
    - Improve filetype detection of strace logs. Thanks to Philipp Marek for
      the patch. (Closes: #473967)
    - Add filetype detection of more Apache config files. Thanks to Josh
      Triplett and Xavier Guimard for the patch. (Closes: #421312)
    - Fix a missing comma in the cron filetype detection.

vim (1:7.1.293-1) unstable; urgency=low

  * debian/control:
    - Add Provides for vim-{ruby,python,perl,tcl} to any variant that supports
      those language bindings since some packages benefit from being able to
      specify a Depends on a vim package with support for a specific language.
    - Only Build-Depend on libselinux1-dev for linux systems.
    - Remove Provides from the transition packages.
  * runtime/filetype.vim:
    - Use "setf" instead of "set ft" when setting the filetype to git so that
      we don't override another filetype which may have been set during
      filetype det...

Changed in vim:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.