Bjorn, Thanks for making this wonderful product. It's better than any other IDE I have used in the past.
I don't think I understand the full scope of this problem. I just know the symptoms. I was wondering if this behavior could be turned into a variable of some kind? Then we could allow different types of behavior in terms of when to set the pwd. Thanks. David On Oct 2, 1:01 pm, björn <[email protected]> wrote: > On 2 October 2010 03:26, Alec Thomas <[email protected]> wrote: > > > > > > > On Sep 3, 5:12 am, David Salgado <[email protected]> wrote: > > >> I think I'll leave things as they are; if more people complain about > >> it I'll start thinking about a better solution. (It's only a guess, > >> but I think most people do want the pwd to be set to the first file > >> they open.) > > > Hi Björn, > > > There's a long discussion about this issue on this PeepOpen bug > > tracker issue:http://github.com/topfunky/PeepOpen-Issues/issues#issue/62 > > > PeepOpen is an external application launched from vim. It offers up a > > nice efficient file dialog. Once a file is selected PeepOpen tells > > MacVim to open the file, which is where it hits this issue. > > > For reference, here's how I typically use MacVim in order of > > frequency: > > > 1. Open it from the dock, then ":cd <project-root>", then use PeepOpen > > to open various files under the project root. > > 2. Cd into the project directory from the command line then run mvim > > (though since this change I now run "mvim ."). > > 3. Open MacVim by clicking or right-clicking on files (typically > > source I've downloaded to check out) in Finder. > > > Here are some suggestions that might help (any of which would solve > > this issue for PeepOpen users specifically): > > > 1. Disable the feature as soon as any command is typed into MacVim at > > all. > > 2. Disable the feature if the user launches MacVim via mvim. > > 3. Add a MacVim-specific option to disable the feature. > > I see that something has to change...but I'm still not sure how. The > current behavior is confusing to say the least -- when I change it I > want it to be completely obvious what is going on. I'd rather avoid > introducing another option for this. > > Under what circumstances _should_ the pwd be set? > > Well, if new files open in a new window then I guess it should always > be set when opening a file (?), so the question only really applies to > when you've set MacVim to open files in the "current" window. Maybe > with this option set the pwd should never be touched? At least this > is consistent (I think your suggestions 1 & 2 may lead to some > confusion however). > > Does anybody have comments on this (please make yourselves heard)? > > Let me rephrase this slightly: is there anybody out there who has got > MacVim set to open files in the "current" window and who wants the pwd > to be set when they open a new file? (If so, when?) > > > PS. Thanks for your work on MacVim, it is fantastic :) > > I'm glad you like it! > > 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
