here you go.... as you can see, opening the MacVim app doesn't write anything (but does start application with no window), but mvim does.
Thanks. T $: defaults write org.vim.MacVim MMLogLevel 7 $: sudo syslog -c syslogd -d Set ASL Data Store syslog filter mask: Emergency - Debug $: defaults write org.vim.MacVim MMLogToStdErr 1 $: open -a MacVim $: mvim $: Sat Sep 25 12:17:01 thomas-lahrs-macbook-pro.local Vim[49290] <Debug>: gui_macvim_after_fork_i...@120: Sat Sep 25 12:17:01 thomas-lahrs-macbook-pro.local Vim[49290] <Debug>: gui_mch_i...@177: Sat Sep 25 12:17:01 thomas-lahrs-macbook-pro.local MacVim[49291] <Info>: -[MMAppController applicationDidFinishLaunching:]...@377: MacVim finished launching Sat Sep 25 12:17:01 thomas-lahrs-macbook-pro.local MacVim[49291] <Debug>: -[MMAppController connectBackend:pid:]...@1187: pid=49290 Sat Sep 25 12:17:01 thomas-lahrs-macbook-pro.local MacVim[49291] <Info>: -[MMVimView initWithFrame:vimController:]...@98: Use renderer=0 Sat Sep 25 12:17:01 thomas-lahrs-macbook-pro.local Vim[49290] <Debug>: gui_mch_new_col...@537: back=1f1f1f norm=dcdccc Sat Sep 25 12:17:01 thomas-lahrs-macbook-pro.local MacVim[49291] <Debug>: -[MMAppController(Private) addVimController:]...@2208: Add Vim controller pid=49290 id=1 Sat Sep 25 12:17:01 thomas-lahrs-macbook-pro.local MacVim[49291] <Debug>: -[MMAppController(Private) activatewhennextwindowope...@1960: Activate MacVim when next window opens Sat Sep 25 12:17:01 thomas-lahrs-macbook-pro.local Vim[49290] <Debug>: gui_mch_init_f...@913: font_name='(null)' fontset=0 Sat Sep 25 12:17:01 thomas-lahrs-macbook-pro.local Vim[49290] <Debug>: gui_mch_get_screen_dimensi...@1504: Columns=191 Rows=58 Sat Sep 25 12:17:01 thomas-lahrs-macbook-pro.local Vim[49290] <Debug>: gui_mch_set_shells...@1554: width=191 height=58 min_width=12 min_height=2 base_width=0 base_height=0 direction=15 Sat Sep 25 12:17:01 thomas-lahrs-macbook-pro.local Vim[49290] <Debug>: -[MMBackend flushQueue:]...@661: Flushing queue: SetVimStateMsgID SetDefaultColorsMsgID SetDefaultColorsMsgID AdjustLinespaceMsgID SetFontMsgID SetWideFontMsgID ShowToolbarMsgID SetTextDimensionsMsgID OpenWindowMsgID SetTooltipMsgID BatchDrawMsgID AddMenuItemMsgID(394) AddMenuMsgID(32) EnableMenuItemMsgID(56) SetScrollbarPositionMsgID(1) SetScrollbarThumbMsgID(1) ShowScrollbarMsgID(4) CreateScrollbarMsgID(3) Sat Sep 25 12:17:01 thomas-lahrs-macbook-pro.local MacVim[49291] <Debug>: -[MMAppController processInput:forIdentifier:]...@1227: QUEUE for identifier=1: <<< SetVimStateMsgID SetDefaultColorsMsgID SetDefaultColorsMsgID AdjustLinespaceMsgID SetFontMsgID SetWideFontMsgID ShowToolbarMsgID SetTextDimensionsMsgID OpenWindowMsgID SetTooltipMsgID BatchDrawMsgID AddMenuItemMsgID(394) AddMenuMsgID(32) EnableMenuItemMsgID(56) SetScrollbarPositionMsgID(1) SetScrollbarThumbMsgID(1) ShowScrollbarMsgID(4) CreateScrollbarMsgID(3) >>> Sat Sep 25 12:17:01 thomas-lahrs-macbook-pro.local MacVim[49291] <Debug>: -[MMVimController sendMessage:data:]...@326: msg=SetWindowPositionMsgID (isInitialized=1) Sat Sep 25 12:17:01 thomas-lahrs-macbook-pro.local Vim[49290] <Info>: - [MMBackend registerServerWithName:]...@1411: Registered server with name: VIM Sat Sep 25 12:17:01 thomas-lahrs-macbook-pro.local Vim[49290] <Debug>: gui_mch_setti...@1595: title='[No Name] - VIM' icon='[No Name]' Sat Sep 25 12:17:01 thomas-lahrs-macbook-pro.local Vim[49290] <Debug>: -[MMBackend flushQueue:]...@661: Flushing queue: SetVimStateMsgID SetServerNameMsgID SetPreEditPositionMsgID BuffersNotModifiedMsgID SetWindowTitleMsgID SetDocumentFilenameMsgID SetPreEditPositionMsgID BatchDrawMsgID SetScrollbarPositionMsgID(1) SetScrollbarThumbMsgID(1) ShowScrollbarMsgID(1) Sat Sep 25 12:17:01 thomas-lahrs-macbook-pro.local Vim[49290] <Debug>: -[MMBackend(Private) processinputque...@1822: (1) SetWindowPositionMsgID Sat Sep 25 12:17:01 thomas-lahrs-macbook-pro.local Vim[49290] <Debug>: -[MMBackend(Private) handleInputEvent:data:]...@2069: SetWindowPositionMsgID: x=84 y=878 Sat Sep 25 12:17:01 thomas-lahrs-macbook-pro.local Vim[49290] <Debug>: -[MMBackend flushQueue:]...@661: Flushing queue: SetVimStateMsgID BatchDrawMsgID Sat Sep 25 12:17:01 thomas-lahrs-macbook-pro.local MacVim[49291] <Debug>: -[MMVimController sendMessage:data:]...@326: msg=SetWindowPositionMsgID (isInitialized=1) Sat Sep 25 12:17:01 thomas-lahrs-macbook-pro.local Vim[49290] <Debug>: -[MMBackend(Private) processinputque...@1822: (1) SetWindowPositionMsgID Sat Sep 25 12:17:01 thomas-lahrs-macbook-pro.local Vim[49290] <Debug>: -[MMBackend(Private) handleInputEvent:data:]...@2069: SetWindowPositionMsgID: x=29 y=873 Sat Sep 25 12:17:01 thomas-lahrs-macbook-pro.local Vim[49290] <Debug>: -[MMBackend flushQueue:]...@661: Flushing queue: SetVimStateMsgID BatchDrawMsgID Sat Sep 25 12:17:01 thomas-lahrs-macbook-pro.local MacVim[49291] <Debug>: -[MMAppController processInput:forIdentifier:]...@1227: QUEUE for identifier=1: <<< SetVimStateMsgID SetServerNameMsgID SetPreEditPositionMsgID BuffersNotModifiedMsgID SetWindowTitleMsgID SetDocumentFilenameMsgID SetPreEditPositionMsgID BatchDrawMsgID SetScrollbarPositionMsgID(1) SetScrollbarThumbMsgID(1) ShowScrollbarMsgID(1) >>> Sat Sep 25 12:17:01 thomas-lahrs-macbook-pro.local MacVim[49291] <Debug>: -[MMVimController sendMessage:data:]...@326: msg=GotFocusMsgID (isInitialized=1) Sat Sep 25 12:17:01 thomas-lahrs-macbook-pro.local Vim[49290] <Debug>: -[MMBackend(Private) processinputque...@1822: (1) GotFocusMsgID Sat Sep 25 12:17:01 thomas-lahrs-macbook-pro.local Vim[49290] <Debug>: -[MMBackend flushQueue:]...@661: Flushing queue: SetVimStateMsgID BatchDrawMsgID Sat Sep 25 12:17:01 thomas-lahrs-macbook-pro.local MacVim[49291] <Debug>: -[MMAppController processInput:forIdentifier:]...@1227: QUEUE for identifier=1: <<< SetVimStateMsgID BatchDrawMsgID >>> Sat Sep 25 12:17:01 thomas-lahrs-macbook-pro.local MacVim[49291] <Debug>: -[MMAppController processInput:forIdentifier:]...@1227: QUEUE for identifier=1: <<< SetVimStateMsgID BatchDrawMsgID >>> Sat Sep 25 12:17:01 thomas-lahrs-macbook-pro.local MacVim[49291] <Debug>: -[MMAppController processInput:forIdentifier:]...@1227: QUEUE for identifier=1: <<< SetVimStateMsgID BatchDrawMsgID >>> Sat Sep 25 12:17:02 thomas-lahrs-macbook-pro.local Vim[49290] <Debug>: -[MMBackend flushQueue:]...@661: Flushing queue: SetVimStateMsgID BatchDrawMsgID Sat Sep 25 12:17:02 thomas-lahrs-macbook-pro.local MacVim[49291] <Debug>: -[MMAppController processInput:forIdentifier:]...@1227: QUEUE for identifier=1: <<< SetVimStateMsgID BatchDrawMsgID >>> Sat Sep 25 12:17:02 thomas-lahrs-macbook-pro.local MacVim[49291] <Debug>: -[MMVimController sendMessage:data:]...@326: msg=LostFocusMsgID (isInitialized=1) Sat Sep 25 12:17:02 thomas-lahrs-macbook-pro.local Vim[49290] <Debug>: -[MMBackend(Private) processinputque...@1822: (1) LostFocusMsgID Sat Sep 25 12:17:02 thomas-lahrs-macbook-pro.local Vim[49290] <Debug>: -[MMBackend flushQueue:]...@661: Flushing queue: SetVimStateMsgID BatchDrawMsgID Sat Sep 25 12:17:02 thomas-lahrs-macbook-pro.local MacVim[49291] <Debug>: -[MMAppController processInput:forIdentifier:]...@1227: QUEUE for identifier=1: <<< SetVimStateMsgID BatchDrawMsgID >>> On Sep 25, 11:26 am, björn <[email protected]> wrote: > On 25 September 2010 17:16, Thomas <[email protected]> wrote: > > > Do you know which log I should be looking in? > > > I see the syslog commands showing up under Database Searches -> All > > Commands, but starting MacVim or mvim generates nothing. Unless I'm > > looking in the wrong place. > > Hmmm...it should pop up under "All messages". Maybe it is easier if > you send the logs to stderr instead. Open Terminal.app and in > addition to the two commands I mentioned previously also type > > $ defaults write org.vim.MacVim MMLogToStdErr 1 > > Then open MacVim via "open -a MacVim" and "mvim". The debug logs > should pop up in Terminal.app. > > When done, in addition to the two steps in my previous post, also type > > $ defaults delete org.vim.MacVim MMLogToStdErr > > Björn -- 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
