GVim BufReadCmd complains when opened from nautilus

Bug #125204 reported by Samuel Hangouët
6
Affects Status Importance Assigned to Milestone
vim (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: vim-gnome

GVIM complains when the filename is passed on command line as a URL :

$ gvim file:///home/shangouet/.bashrc

Error detected while processing BufReadCmd Auto commands for "file://*":
E37: No write since last change (add ! to override)
Press ENTER or type command to continue

After pressing ENTER, the edit window is empty. We have to type :e to make gvim reopen the file.

What's annoying is that this is the way nautilus calls gvim, even with the following line in
~/.local/share/applications/gvim-usercustom.desktop:

Exec=gvim %F

Revision history for this message
Andreas Moog (ampelbein) wrote : Old standing Report

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thank you for taking the time to report this bug and helping to make
Ubuntu better. You reported this bug a while ago and there hasn't been
any activity in it recently. We were wondering is this still an issue
for you? Can you try with latest Ubuntu release? Thanks in advance.

 status incomplete
 subscribe

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkit6uMACgkQ06FgkPZwicSsAgCgkI25q3SE59BKf3jQf1mDwFDf
HHcAnA7QXkyZKXWPZM2JNL7bu9Zrincb
=LMeY
-----END PGP SIGNATURE-----

Changed in vim:
status: New → Incomplete
Revision history for this message
Javier Jardón (jjardon) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in vim:
status: Incomplete → Invalid
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.