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.

Error detected while processing function
<SNR>3_GPGEncrypt..<SNR>3_GPGDebug:
line    1:
E121: Undefined variable: g:GPGDebugLevel
E15: Invalid expression: (g:GPGDebugLevel >= a:level)
E121: Undefined variable: g:GPGDebugLevel
E15: Invalid expression: (g:GPGDebugLevel >= a:level)
E121: Undefined variable: g:GPGDebugLevel
E15: Invalid expression: (g:GPGDebugLevel >= a:level)
Error detected while processing function <SNR>3_GPGEncrypt:
line   51:
E121: Undefined variable: b:GPGRecipients
E116: Invalid arguments for function s:GPGCheckRecipients
(b:GPGRecipients)
E15: Invalid expression: s:GPGCheckRecipients(b:GPGRecipients)
line   54:
E121: Undefined variable: unknownrecipients
E116: Invalid arguments for function len(unknownrecipients) > 0)
E15: Invalid expression: (len(unknownrecipients) > 0)
line   65:
E121: Undefined variable: recipients
E116: Invalid arguments for function len(recipients) > 0)
E15: Invalid expression: (len(recipients) > 0)
line   80:
E121: Undefined variable: s:shellredir
...

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.

I've rebuilt the 10.6 binary and followed the ReportingBugs steps,
also the built-in vim works fine with the gnupg plugin.

I'd appreciate some suggestions.

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

Reply via email to