On 20/07/12 3:09 AM, dv1...@wayne.edu wrote:
I don't know if this is a bug, or even if it is, whether it's a bug in MacVim,
but it is of interest. To reproduce:
0. Have MacVim as an open app (there needn't be a window actually open).
1. Pick one of the following:
(1a) Set mutt up to use the Vim inside MacVim, i.e., MacVim-but-in-the-console,
as $editor for mail composition. I do 'set
editor=/Applications/MacVim.app/Contents/Macos/Vim'. Start mutt in
Terminal.app. Begin composing a message, which takes you to
MacVim-in-the-console.
(1b) In the terminal, do "export
PAGER=/Applications/MacVim.app/Contents/MacOS/Vim -". Note the dash at the
very end. Then do "man ls".
2. Whichever you chose, you'll be in MacVim-in-the-Console, either starting to
compose a message or looking at the (mangled) man page for ls.
3. Do ":gui"
Expected behavior: the MacVim gui launches, and the Terminal waits until
you're done with the Gui.
Acutal behavior: Like the expected behavior, except for two things.
First, a second instance of MacVim is activated, so that the Dock has two green
diamond icons in it---the message you are now composing (or the manpage you are
looking at) is within this second instance of MacVim. Second, the Terminal
emits the following error message of some sort:
2012-07-19 11:21:53.432 MacVim[66493:10b] *** CFMessagePort:
bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x3803,
name = 'org.vim.MacVim.ServiceProvider'
See /usr/include/servers/bootstrap_defs.h for the error codes.
Despite your detailed instructions, I can't reproduce this.
Since your error is 'permission denied', though, my first step would be
to check the ownership and permissions of MacVim.app and its contents.
And then maybe try 'repair permissions' in Disk Utility in case it's a
system file that has had permissionsed messed up by something.
On my system, MacVim.app and its contents are owned by ben:admin (ben is
the user I am usually logged in as), and permissions are 644 or 755 as
appropriate.
Ben.
--
You received this message from the "vim_mac" 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