Open pdbradley opened 10 years ago
@pdbradley vim must be compiled with the +clientserver feature for Vmail to work. This was a recent change and I will add to the instructions soon. To check if vim has the feature, run vim --version
and check for the +clientserver flag.
Well, I do have that flag set, actually. Any other ideas?
On Thu, Jun 26, 2014 at 10:42 AM, Alex notifications@github.com wrote:
@pdbradley https://github.com/pdbradley vim must be compiled with the +clientserver feature for Vmail to work. This was a recent change and I will add to the instructions soon. To check if vim has the feature, run vim --version and check for the +clientserver flag.
— Reply to this email directly or view it on GitHub https://github.com/danchoi/vmail/issues/173#issuecomment-47234258.
Does the command vim --servername bradley
open a vim instance on your machine?
On non X11 machines you need to compile Vim with some additional X11 packages. More details here.
It does indeed. % vim --servername bradley opens an empty vim session
On Thu, Jun 26, 2014 at 12:03 PM, Alex notifications@github.com wrote:
On non X11 machines you need to compile Vim with some additional X11 packages. More details here http://unix.stackexchange.com/questions/23589/how-to-install-light-weight-vim-and-to-be-able-to-efficiently-load-files-into-on#answer-23601 .
— Reply to this email directly or view it on GitHub https://github.com/danchoi/vmail/issues/173#issuecomment-47244973.
Additionally, +clientserver is discussed in stackoverflow too. http://stackoverflow.com/questions/10231223/compile-vim-7-3-with-clientserver-feature-on-mac-os-x I personally took the following steps to include +clientserver (tested on OS X 10.11.2).
brew uninstall --force vim
sudo brew install vim --with-client-server
brew install Caskroom/cask/xquartz
brew link --overwrite vim
I just used MacVim to get around this in OSX 10.7.5:
VMAIL_VIM=mvim vmail
Danchoi;
Where is your donate button? This looks to be a wonderful tool. If only I could get it running. Here is what I'm seeing. I tried different versions of ruby / vim and even ran vmail on a vanilla .vimrc to see if there was something in my own that was causing an issue. Same error every time.
Philips-Mac-mini% vmail Starting vmail 2.9.0 Setting VMAIL_BROWSER to 'open' Setting VMAIL_HTML_PART_READER to 'elinks -dump' Changing working directory to /Users/philip/.vmail/default Using config file: /Users/philip/.vmailrc Using contacts file: vmail-contacts.txt Starting vmail imap client for xxxxx@gmail.com INBOX polling disabled. Working directory: /Users/philip/.vmail/default Checking vmail.db version... OK Connecting to database Starting Vmail::ImapClient in dir /Users/philip/.vmail/default Starting gmail service at druby://philips-mac-mini.local:52255 Mailbox: INBOX Query: ["all"] Query String: all DRB_URI=druby://philips-mac-mini.local:52255 VMAIL_CONTACTS_FILE=vmail-contacts.txt VMAIL_MAILBOX=INBOX VMAIL_QUERY="all" /usr/bin/vim --servername VMAIL:pdbradley@gmail.com -S /Users/philip/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/vmail-2.9.0/lib/vmail.vim -c '' vmailbuffer Using buffer file: vmailbuffer VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Aug 24 2013 18:58:47) Unknown option argument: "--servername" More info with: "vim -h" Closing imap connection Bye