Package: vim-full
Version: 1:6.3-086+1
Severity: normal
Tags: patch
The file /usr/share/applications/gvim.desktop launches gvim without -f.
This breaks using gvim as the default text editor, or via "open with"
from other kde applications. Typically these will write to a temporary
file, spawn gvim, then delete the temporary file when gvim "exits".
When launched without -f gvim detaches immediately, so the controlling
process deletes the temporary file before gvim gets chance to read it.
The fix is to add -f to the gvim commandline. Attached patch does this.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.2-w64
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Versions of packages vim-full depends on:
ii libart-2.0-2 2.3.17-1 Library of functions for 2D graphi
ii libatk1.0-0 1.10.3-1 The ATK accessibility toolkit
ii libbonobo2-0 2.10.1-1 Bonobo CORBA interfaces library
ii libbonoboui2-0 2.10.1-1 The Bonobo UI library
ii libc6 2.3.5-6 GNU C Library: Shared libraries an
ii libgconf2-4 2.10.1-2 GNOME configuration database syste
ii libglib2.0-0 2.8.0-1 The GLib library of C routines
ii libgnome2-0 2.10.1-1 The GNOME 2 library - runtime file
ii libgnomecanvas2-0 2.10.2-2 A powerful object-oriented display
ii libgnomeui-0 2.10.1-1 The GNOME 2 libraries (User Interf
ii libgnomevfs2-0 2.10.1-5 The GNOME virtual file-system libr
ii libgpmg1 1.19.6-21 General Purpose Mouse - shared lib
ii libgtk2.0-0 2.6.10-1 The GTK+ graphical user interface
ii libice6 6.8.2.dfsg.1-7 Inter-Client Exchange library
ii libncurses5 5.4-9 Shared libraries for terminal hand
ii liborbit2 1:2.12.2-3 libraries for ORBit2 - a CORBA ORB
ii libpango1.0-0 1.8.2-2 Layout and rendering of internatio
ii libperl5.8 5.8.7-5 Shared Perl library
ii libpopt0 1.7-5 lib for parsing cmdline parameters
ii libruby1.8 1.8.2-9 Libraries necessary to run Ruby 1.
ii libsm6 6.8.2.dfsg.1-7 X Window System Session Management
ii libx11-6 6.8.2.dfsg.1-7 X Window System protocol client li
ii libxml2 2.6.22-1 GNOME XML library
ii libxt6 6.8.2.dfsg.1-7 X Toolkit Intrinsics
ii python2.3 2.3.5-8 An interactive high-level object-o
ii tcl8.4 8.4.11-1 Tcl (the Tool Command Language) v8
ii vim 1:6.3-086+1 Vi IMproved - enhanced vi editor
ii xlibs 6.8.2.dfsg.1-7 X Window System client libraries m
ii zlib1g 1:1.2.3-4 compression library - runtime
vim-full recommends no packages.
-- no debconf information
patch
Description: Text document
Thread at a glance:
Previous Message by Date:
click to view message preview
Processed: Re: vim-common: matchit.vim problems with fortran 90 module procedure statements
Processing commands for control@xxxxxxxxxxxxxxx:
> tags 308865 + help
Bug#308865: vim-common: matchit.vim problems with fortran 90 module procedure
statements
There were no tags set.
Tags added: help
> thanks
Stopping processing here.
Please contact me if you need assistance.
Debian bug tracking system administrator
(administrator, Debian Bugs database)
Next Message by Date:
click to view message preview
r313 - trunk/vim/debian
Author: nobse
Date: 2005-09-21 08:33:57 +0000 (Wed, 21 Sep 2005)
New Revision: 313
Modified:
trunk/vim/debian/changelog
trunk/vim/debian/vim-variant.desktop
Log:
Exec vim with -f parameter in .desktop file.
Modified: trunk/vim/debian/changelog
===================================================================
--- trunk/vim/debian/changelog 2005-09-20 18:46:31 UTC (rev 312)
+++ trunk/vim/debian/changelog 2005-09-21 08:33:57 UTC (rev 313)
@@ -2,6 +2,7 @@
* Norbert Tretkowski <nobse@xxxxxxxxxx>:
+ Updated Standards-Version to 3.6.2 (no changes needed).
+ + Exec vim with -f parameter in .desktop file. (closes: #329292)
* Stefano Zacchiroli <zack@xxxxxxxxxx>:
+ debian/rules: set SHELL=/bin/bash since we use bashisms.
@@ -19,7 +20,7 @@
+ Added patch 203_zh_TW.UTF8.po.diff, which fixes a translation
error in locale zh_TW.UTF-8. (closes: #319420)
- -- Debian VIM Maintainers <pkg-vim-maintainers@xxxxxxxxxxxxxxxxxxxxxxx> Sat,
03 Sep 2005 01:11:09 +0200
+ -- Debian VIM Maintainers <pkg-vim-maintainers@xxxxxxxxxxxxxxxxxxxxxxx> Wed,
21 Sep 2005 10:31:34 +0200
vim (1:6.3-086+1) unstable; urgency=low
Modified: trunk/vim/debian/vim-variant.desktop
===================================================================
--- trunk/vim/debian/vim-variant.desktop 2005-09-20 18:46:31 UTC (rev
312)
+++ trunk/vim/debian/vim-variant.desktop 2005-09-21 08:33:57 UTC (rev
313)
@@ -69,7 +69,7 @@
Comment[wa]=Asspougnà des fitchÃs tecses
Comment[zh_CN]=çèæææä
Comment[zh_TW]=çèæåæ
-Exec=gvim %U
+Exec=gvim -f %U
Terminal=false
Type=Application
Icon=/usr/share/pixmaps/vim.svg
Previous Message by Thread:
click to view message preview
Bug#319420: patch for po file for Chinese, Traditional (Taiwan)
On Tue, Sep 20, 2005 at 11:26:32PM +0200, Bram Moolenaar wrote:
> Note that the maintainer for the zh_TW.UTF-8.po file is now Hung-Te Lin
> <piaip@xxxxxxxxxxxxxxx>. And the file already changed, although this
> message appears to be the same. See
> ftp://ftp.vim.org/pub/vim/messages/zh_TW.UTF-8.po
Uhm ... even if the name is different, the email address is the same as
those reported for Francis S.Lin in the version of the po file I have
(shipped with vim 6.3-086). Is the name or the email address which is
wrong?
In the former case I already sent the request to the right person, in
the latter I've not.
Cheers.
--
Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy
zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. -!-
Next Message by Thread:
click to view message preview
Bug#329292: vim-full: Kde "open with" menu entry broken
tags 329292 +pending
thanks
* Paul Brook wrote:
> The file /usr/share/applications/gvim.desktop launches gvim without
> -f.
>
> This breaks using gvim as the default text editor, or via "open
> with" from other kde applications. Typically these will write to a
> temporary file, spawn gvim, then delete the temporary file when gvim
> "exits". When launched without -f gvim detaches immediately, so the
> controlling process deletes the temporary file before gvim gets
> chance to read it.
>
> The fix is to add -f to the gvim commandline. Attached patch does
> this.
Added to svn, thanks.
Norbert