On Jul 14, 7:13 am, björn <[email protected]> wrote: > 2009/7/14 David Alan Hjelle: > > > > > > > > > I really like using MacVim, but there is one persistent annoyance I > > have at the moment. > > > I often have a several different MacVim windows open, often one per > > space. (I tend to group my spaces topically: one for programming, one > > for job-hunting, one for email, etc.) Then, I will often want to open > > a file from the Finder in a space without a MacVim window. Currently, > > that action will open the file in one of the already opened MacVim > > windows…in another space. That's basically never what I want. I > > noticed a patch to fix this problem when using mvim…is it possible to > > fix it for a standard Finder double-click? > > > Unfortunately, Safari behaves this way, too… > > > Thanks for any help, fixes, and/or suggestions! > > Hi David, > > This behavior with Spaces annoys the living cr#p out of me too (with > MacVim and other apps). I try to fix these things as I notice them > but I guess I don't use the Finder to open files often enough so I > hadn't noticed the problem you just described. Hmmm...I just tried to > reproduce the bug but I can't seem to do so over here (double click in > Finder always lead to a new window opening in the same Space as the > Finder window I double clicked in) . Must be a timing related problem > so it can be a bit tricky. > > Still, I'll try to figure out why this happens and see if I can fix it > (but since I can't repro it is tremendously helpful if you can try to > debug the problem yourself and let me know what's going on). Does > this happen with all files? E.g. if you open a really tiny text file > does it still happen (i.e. a file that should open quickly). Does the > Quickstart option make any difference if toggled on/off? > > Björn
Hi Björn, I just tried the QuickStart option, and also tried with a file of one character and a file of a few lines, and it seemed to happen all of the time. In this instance, I have two windows open in Space 5, and am in Space 1. MacVim doesn't have any specific assignments in Spaces preferences. I did notice, however, that there is a preference that probably affects this, but I'm a bit unsure how it ought to be set for the behavior I want. It's in General → Open Files from Applications: I have it set to "In the current window" "with a tab for each file." as that is the behavior that I want within a single space. It appears that if I set it to "In a new window" "with a tab for each file" that the double-click stays within the current Space as desired, but, of course, subsequent double-clicks open up new windows. I *think* that most people would want the "in the current window" options to only hold true while there is a current window in the current space, but I can't claim to be an omniscient user. Does toggling that option allow you to reproduce the bug? David --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_mac" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
