[plt-scheme] handler:edit-file in Windows

From: Gregory Cooper (greg at cs.brown.edu)
Date: Tue Aug 28 09:24:44 EDT 2007

I don't have a simple, self-contained test case, but in the debugger,
I've been using it to switch to the file in which execution has just
stopped.  In Linux and MacOS, it always seems to reuse tabs, but in
Windows it keeps opening new tabs with the same file.  Is there a more
direct way of switching to a tab (since I know which tab I want)?  My
code essentially calls:

    (handler:edit-file (send a-definitions-text get-filename))


On 8/28/07, Robby Findler <robby at cs.uchicago.edu> wrote:
> No, it reuses frames the same on all platforms. What differs is the
> test for whether or not the files are the same. Probably it isn't
> using quite the right filename comparison function for your purposes.
> I don't suppose you have a test case that doesn't work right?
> Robby
> On 8/27/07, Gregory Cooper <greg at cs.brown.edu> wrote:
> > The documentation for handler:edit-file says:
> >
> > "This function creates a frame or re-uses an existing frame to edit a file."
> >
> > As far as I can tell, in Linux and MacOS, it always reuses an existing
> > frame (when present), while in Windows it always creates a new frame.
> > Is this the intended behavior?  If so, is there some other procedure I
> > should be using to switch to the tab containing a given file?
> >
> > Thanks,
> > Greg
> > _________________________________________________
> >   For list-related administrative tasks:
> >   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> >

Posted on the users mailing list.