After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 612028 - gtkdoc-fixxref should call /usr/bin/vim -n -e -u NONE -T xterm
gtkdoc-fixxref should call /usr/bin/vim -n -e -u NONE -T xterm
Status: RESOLVED FIXED
Product: gtk-doc
Classification: Platform
Component: general
1.13
Other Linux
: Normal normal
: 1.16
Assigned To: gtk-doc maintainers
gtk-doc maintainers
Depends on:
Blocks:
 
 
Reported: 2010-03-06 20:48 UTC by Nirbheek Chauhan
Modified: 2010-09-03 11:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Use -u NONE instead of -u /dev/null (701 bytes, patch)
2010-03-06 20:48 UTC, Nirbheek Chauhan
none Details | Review

Description Nirbheek Chauhan 2010-03-06 20:48:40 UTC
Created attachment 155441 [details] [review]
Use -u NONE instead of -u /dev/null

in gtkdoc-fixxref, inside HighlightSourceVim(), while running the ViM highlighting commands, vim should be called with -u NONE instead of -u /dev/null

The reason for preferring -u NONE is that it implies no plugins are called either. This is obviously much faster, and the behaviour is desired (and probably what was intended with -u /dev/null)

The attached patch does this.

In case you were wondering where this comes from, this caused a strange bug downsteam: http://bugs.gentoo.org/show_bug.cgi?id=306569
Comment 1 Pacho Ramos 2010-09-02 20:49:31 UTC
I think this commit fixed this:
http://git.gnome.org/browse/gtk-doc/commit/?id=2bffebcf9c125f5610b8fb660d42c3c5b9dfd4f0
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2010-09-03 11:53:16 UTC
Yes its fixed and will be release in 1.16.