On 13/dic/2009, at 13.06, björn wrote:

> 2009/12/13 Gianni:
>> I originally posted this to vim_use but after further investigation it
>> seems to be MacVim specific.
>> 
>> I'm using MacVim with the gnupg plugin which has always worked fine
>> for me up until recently (possibly when I switched to 10.6 but not
>> 100% sure), now when I try to save a new file with the .asc suffix I
>> get the errors below.
> 
> Did you try an older version?  E.g. try the stable build.
> 
>> Error detected while processing function
>> <SNR>3_GPGEncrypt..<SNR>3_GPGDebug:
>> line    1:
>> E121: Undefined variable: g:GPGDebugLevel
>> ...
> 
> I can't help with debugging Vim script problems...have you tried
> contacting the author of this plugin?
> 
> 
>> Plugin is installed in /Applications/MacVim.app/Contents/Resources/vim/
>> runtime/plugin/ and opening existing encrypted .asc files still works
>> fine, I get the passphrase dialog and the file is decrypted; which
>> would suggest the plugin is installed correctly.
> 
> This is not the correct place to install plugins: you should put it in
> ~/.vim/plugin.  Moving the plugin files won't help with your problem,
> but I just want to point out that its a bad idea to put files inside
> the app bundle.
> 
> 
>> I've rebuilt the 10.6 binary and followed the ReportingBugs steps,
>> also the built-in vim works fine with the gnupg plugin.
> 
> Did you try starting MacVim without the GUI?  In Terminal type:
> 
> /Applications/MacVim.app/Contents/MacOS/Vim
> 
> Does it work then?
> 
> Björn

Thanks for the reply, the stable build and MacVim without the GUI both have the 
same problem.
I'll get in touch with the plugin author.
Gianni

-- 
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php

Reply via email to