Vim Tips Wiki
Line 37: Line 37:
 
*Error Message: OutlookVim: Please install the plugin OutlookVim from www.vim.org to continue
 
*Error Message: OutlookVim: Please install the plugin OutlookVim from www.vim.org to continue
 
**Is there any fix for this?
 
**Is there any fix for this?
  +
  +
=== "Message" dialog box on startup; Must "double-click" for plugin to work ===
  +
Environment:
  +
MS WinXP Professional, v2002, SP3
  +
MS Office Outlook 2007 (12.0.6539.5000)SP2 MSO (12.0.6545.5004)
  +
gvim 7.2.0 (2008 Aug 9, compiled Aug 9 2008 at 18:46:22) ('':version'' give no "included patches" line.)
  +
  +
Ever since installing the plugin and script, ''every time'' vim is invoked (whether by the Outlook button or from the startup menu or via the desktop shortcut), a dialog box appears titled, "Message". The message reads as follows:
  +
  +
Error detected while processing C:\Program Files\Vim\vimfiles\plugin\outlook.vim:
  +
line 179:
  +
E118: Too many arguments for function: globpath
  +
E116: Invalid arguments for function strlen(globpath(substitute($PATH, '\\\?;', ',', 'g'),
  +
  +
The "Message" dialog box presents only one option: the OK button. I click it, and vim appears to operate normally.
  +
  +
Except for one thing: the outlookvim plugin only works fully when an instance of vim is already running when the outlook button is pressed. If there are no instances of vim running prior to pressing the outlookvim button, I get the same "Message" dialog box, and a vim instance opens, but it has no file name, and no text, whatsoever (i.e. my auto-signature on a new message, or my signature above the contents of the email I'm replying to in a reply); it's just completely blank. In short, vim does not appear "linked" to outlook.
  +
  +
Are these two issues related? I do not know. Thanks
   
 
=two errors in the outlookvim webpage description section=
 
=two errors in the outlookvim webpage description section=

Revision as of 20:26, 18 March 2011

Use this page to discuss script 3087 3087

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on vim.org).
  • This page may be out of date: check the script's vim.org page above, and its release notes.

New Feature Requests

1. Be able to spawn a new instance of Vim instead of using one already running (Gareth Oakes)

  • Added to OutlookVim 3.0

2. Auto-quote an email for response (Gareth Oakes)

  • OutlookVim sets the filetype of the email to Vim's "mail". This allows you to use any of the standard Vim mechanisms to customize the emails. One of the mail ftplugins available on www.vim.org I use to perform this type of block quoting and unquoting is:

3. Open emails in a specified Vim instance (Zsolt Botykai)

  • Added to OutlookVim 4.0

4. Open each email in a separate tab (Zsolt Botykai)

  • Added to OutlookVim 4.0

5. An update for Outlook 2010 (T.H.) [Ver5.0 is working fine on Vim 7.3 + Outlook 2010 + Win 7(64bit), except that the opened Vim window does not come to the foreground (but, this problem disappears once the Visual Basic script file is opened in the VB even without saving the file.]

Get language and encoding from outlook and set spelllang

Now vim creates a new mail always with enc=latin1.

Bug Reports

  • Please always include your patch level of Vim (7.2.411) and operating system
  • Please always include the version of OutlookVim

Could not create email file

  • Vim 7.2.411, OutlookVim 2.0 (Botykai Zsolt)

Message Box reports: Could not create email file [\] Object required

  • Fixed in OutlookVim 3.0
  • Added a trouble shooting section to the Help, :h outlook-troubleshooting

Error while launching macro

I have followed each and everystep given in the help file, still I am getting following error.

  • Environment:
  Operating System: Windows XP
  Outlook 2007
  gvim73
  • Error Message: OutlookVim: Please install the plugin OutlookVim from www.vim.org to continue
    • Is there any fix for this?

"Message" dialog box on startup; Must "double-click" for plugin to work

Environment: MS WinXP Professional, v2002, SP3 MS Office Outlook 2007 (12.0.6539.5000)SP2 MSO (12.0.6545.5004) gvim 7.2.0 (2008 Aug 9, compiled Aug 9 2008 at 18:46:22) (:version give no "included patches" line.)

Ever since installing the plugin and script, every time vim is invoked (whether by the Outlook button or from the startup menu or via the desktop shortcut), a dialog box appears titled, "Message". The message reads as follows:

  Error detected while processing C:\Program Files\Vim\vimfiles\plugin\outlook.vim:
  line  179:
  E118: Too many arguments for function: globpath
  E116: Invalid arguments for function strlen(globpath(substitute($PATH, '\\\?;', ',', 'g'),

The "Message" dialog box presents only one option: the OK button. I click it, and vim appears to operate normally.

Except for one thing: the outlookvim plugin only works fully when an instance of vim is already running when the outlook button is pressed. If there are no instances of vim running prior to pressing the outlookvim button, I get the same "Message" dialog box, and a vim instance opens, but it has no file name, and no text, whatsoever (i.e. my auto-signature on a new message, or my signature above the contents of the email I'm replying to in a reply); it's just completely blank. In short, vim does not appear "linked" to outlook.

Are these two issues related? I do not know. Thanks

two errors in the outlookvim webpage description section

First, regarding :helptags

outlookvim.txt needed to be moved from

  %VIM/vimfiles/plugins/doc

to

  $VIM/vimfiles/doc

before :helptags $VIM/vimfiles/doc would work

Second, regarding :h

executing :h from within vim required the command to be changed from

  :h outlookvim.txt

to

  :h outlookvim