Perhaps I was not clear. The string 'textedit' has nothing to do with gvim 
internals or scripts or plugins. It's the URL used by the xdg-open process 
when running gvim in server mode, so that the file is opened on a given 
line and column. The textedit string is embedded in the PDFs as a way of 
linking objects in the PDF to the source code line for them. It's got 
nothing to do with any plugins. It's a standard and common technique with 
PDF files.

Gvim works fine in servermode, and the file is opened at the right place. 
It very inconvenient to see this long message for no good reason - it's not 
an error, it's not useful information, and to have to press ENTER each 
time, when you are going back and forth between a music score and its note 
objects and the Lilypond source code hundreds of times. I can't see any 
reason for this behaviour from gvim, and it actually makes it pretty much 
unusable for this use case.

If you set up a handler for the MIME type x-scheme-handler/textedit then 
xdg-open textedit:///home/acb/work/test.ly:4:2:3 will open the file test.ly 
in the editor you have set for handling text documents on your system and 
go to the location. In the same way that clicking a URL in a PDF opens your 
browser on the page.

I'm not reporting an error, but a usability issue, bad enough to make me 
have to switch to alternative editor for the task. This used to work int he 
past where you could set cmdheight to 2, but that no longer suppresses the 
message ion version 9.0.

Andrew


-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/33faf6d4-25aa-4777-adaa-74969aec3a86n%40googlegroups.com.

Reply via email to