Bug#406586: GVIM should be opening files instead of URLs when invoked from Nautilus

Ernesto Hernández-Novich emhn at movistar.net.ve
Fri Jan 12 02:11:39 UTC 2007


Package: vim-gui-common
Version: 7.0-122+1

The current /usr/share/applications/gvim.desktop has

Exec=gvim -f %U

meaning Nautilus will pass one o more URLs to gvim when invoking it. If
you invoke GVIM from Nautilus on one or more filenames with UTF-8
encodings usin %U, the filenames will not be correctly handled and GVIM
is not able to open them.

For instance, I have a file named

/home/emhn/Guías/ldap.txt

(note the 'i acute', under en_US.UTF-8 in my case). If I use Nautilus to
open this file using GVIM, it fails miserably arguing it cannot open

/home/emhn/Guías/ldap.txt

If I use %F instead of %U in the gvim.desktop file, it works fine
opening multiple files.

I believe this could also help bug #370082
-- 
Ernesto Hernández-Novich - Linux 2.6.17 i686 - Unix: Live free or die!
Geek by nature, Linux by choice, Debian of course.
If you can't aptitude it, it isn't useful or doesn't exist.
GPG Key Fingerprint = 438C 49A2 A8C7 E7D7 1500 C507 96D6 A3D6 2F4C 85E3





More information about the pkg-vim-maintainers mailing list