[plt-scheme] obtaining list of opened files in DrScheme

From: pedro pinto (pedro.e.pinto at gmail.com)
Date: Wed Oct 4 18:20:01 EDT 2006

Hi there,

I posted about this issue some months ago. I want to extend DrScheme
with a change buffer dialog.  Guillaume Marceau was kind enough to
point me to some example code [1], which seems to indicate that I have
to transverse some objects, beginning at the editor<%> argument that
is passed to my event handler, until I find someone that has the list
of open files. Unfortunately, I don't know my way around the framework
very well. Can anyone point me in the right direction?

Thanks in advance,
-pp


[1] http://list.cs.brown.edu/pipermail/plt-scheme/2006-May/013171.html


On 10/4/06, plt-scheme-request at list.cs.brown.edu <
plt-scheme-request at list.cs.brown.edu> wrote:
>
> Send plt-scheme mailing list submissions to
>         plt-scheme at list.cs.brown.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> or, via email, send a message with subject or body 'help' to
>         plt-scheme-request at list.cs.brown.edu
>
> You can reach the person managing the list at
>         plt-scheme-owner at list.cs.brown.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of plt-scheme digest..."
>
>
> [Please handle PLT Scheme list administrative tasks through the Web:
>    http://list.cs.brown.edu/mailman/listinfo/plt-scheme]
>
>
> Today's Topics:
>
>    1. Vancouver Lisp Users Group meeting for October - The      PLT
>       Scheme Inference Collection (Bill Clementson)
>    2. Re: PLT Scheme Source Search (Jens Axel S?gaard)
>    3. Menu keybindings interfering with other keybindings?
>       (Ittai Balaban)
>    4. Re: Using FrTime (Corey Sweeney)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 3 Oct 2006 09:20:30 -0700
> From: "Bill Clementson" <billclem at gmail.com>
> Subject: [plt-scheme] Vancouver Lisp Users Group meeting for October -
>         The     PLT Scheme Inference Collection
> To: undisclosed-recipients: ;
> Message-ID:
>         <8757cb490610030920n7b3f4e48g68d5babf001d3294 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi all,
>
> For our October lispvan meeting, Doug Williams will be presenting the
> 3rd component of the "Knowledge-based Simulation Environment" that he
> has been developing in PLT Scheme over the past few years. I saw him
> present the first of these components (the Science Collection) in
> Colorado back in 2004 (there is a movie and pdf available of that
> presentation). He presented the second component (the Simulation
> Collection) here in Vancouver at the February, 2006 lispvan meeting
> (the movie, presentation and related material are available as links
> from my summary of the meeting). So, the Inference Collection is the
> last component of Doug's "Knowledge-based Simulation Environment" and
> is the one that I personally will be the most interested in seeing him
> present!
>
> Doug will also conduct a mini-workshop after the presentation which
> will be a more hands-on and interactive means of experiencing the
> code. So, be sure to bring your laptops!
>
> Here's the "official" meeting notice:
>
> Topic: PLT Scheme Inference Collection
> Presenter: Doug Williams
> Date: Thursday, October 26, 2006
> Time: 7pm - 10pm (or whenever)
> Venue: Think!, 4512 West 10th Ave., Vancouver (see map)
> Summary: I am attempting to recreate - and extend - in PLT Scheme the
> knowledge-based simulation environment I had originally developed in
> Symbolics Common Lisp. It consists of three PLT Scheme collections:
>
>    1. Science Collection: The PLT Scheme Science Collection is a port
> of portions of the GNU Scientific Library (GSL). It provides a
> foundation of numerical routines for implementing the other
> collections as well as providing data analysis functions. Version 2.0
> included ordinary differential equation solvers. The current version
> available from the PLaneT Package Repository is Version 2.4.
>    2. Simulation Collection: The PLT Scheme Simulation Collection
> provides a simulation engine for combined discrete and continuous
> simulation models. The discrete simulation capability is based on a
> process interaction model. The current version available from the
> PLaneT Package Repository is Version 2.0.
>    3. Inference Collection: The PLT Scheme Inference Collection
> provides an efficient rule-based inference engine that supports both
> data-driven (forward chaining) and goal-directed (backward chaining)
> inferencing. The current version available from the PLaneT Package
> Repository is Version 1.2.
>
> In this talk, I will present the PLT Scheme Inference Collection. I
> will discuss the functionality provided by the inference collection
> with examples and demonstrations throughout the presentation. An
> informal, hands-on workshop will be included where we will go through
> installing and running PLT Scheme and the science, simulation, and
> inference collections. We will go through developing and running
> inference systems with the inference collection. So, bring your
> laptops. The topics are:
>
>     * Introduction
>     * PLT Scheme Inference Collection
>           o Inference Environments (Basic)
>           o Inference Control
>           o Assertions
>           o Rule Sets
>           o Rules
>                 + Data-Driven (Forward Chaining)
>                 + Goal-Driven (Backward Chaining)
>                 + Bi-Directional Chaining
>                 + Pattern Clauses
>                       # Binding Clauses
>                       # Existential Clauses
>                 + Patterns
>                       # List Patterns
>                       # Association List Patterns
>                       # Vector Patterns
>                       # Structure Patterns
>                       # Object Patterns
>           o Rule Networks
>           o Conflict Resolution Strategies
>           o Inference Environment (Hierarchical)
>           o Assumption Processing
>     * Future Plans
>     * Questions and Answers
>     * Workshop
>
> This should be another terrific session! I plan to record the talk and
> make it available on my blog, barring technical difficulties (knocks
> on wood, rubs rabbit foot, crosses fingers), for people who are not in
> the Vancouver area.
>
> For those of you who want to have an advance look at the Inference
> Collection (so that you can throw tough questions at Doug ;-) and
> kibbitz intelligently during the meeting), you can download and run it
> by doing the following:
>
>    1. Download & install DrScheme from here
>    2. Run DrScheme and change the Language level to" PLT/Pretty Big"
> by selecting the menu option "Language/Choose Language..."
>    3. Download & install the Science, Simulation, and Inference
> collections from the PLaneT Package Repository by entering the
> following statement in the DrScheme REPL:
>
>       (require (planet "simulation-with-graphics.ss" ("williams"
> "simulation.plt" 1 0)))
>       (require (planet "inference.ss" ("williams" "inference.plt" 1 2)))
>
>    4. Run the example programs in the examples directory (on my Mac,
> they were installed in "~/Library/PLT
> Scheme/planet/300/352/cache/williams/inference.plt/1/2/examples")
>
> Incidentally, Doug also posts about his projects on his blog - check
> it out to get some further insights into the development of his
> "Knowledge-based Simulation Environment". See you at the meeting!
>
> --
> Bill Clementson
> P.S. - Additional links are available on my blog posting of the
> meeting: http://bc.tech.coop/blog/061003.html
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 03 Oct 2006 23:06:23 +0200
> From: Jens Axel S?gaard <jensaxel at soegaard.net>
> Subject: Re: [plt-scheme] PLT Scheme Source Search
> To: Jens Axel S?gaard <jensaxel at soegaard.net>
> Cc: PLT-list <plt-scheme at list.cs.brown.edu>
> Message-ID: <4522D0CF.3000702 at soegaard.net>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Jens Axel Søgaard skrev:
> > An alpha version of my search project is now live at:
> >
> >     <http://www.scheme.dk/search-plt/>
> >
> > The source of all collections and all PLaneT packages
> > have been indexed. Search results link to the source
> > browser.
> ...
> > For the time being the collections indexed are from 301,
>
> Today both the source browser and search engine were
> updated to use the v352 collections.
>
> As a quick hack the code for the R6RS reference
> implementation were added - by cheating the source
> browser to think the code were a PLaneT package.
>
> <http://ja.soegaard.net/planet/html/r6rs/r6rs/1/0/>
>
> --
> Jens Axel Søgaard
> Scheme Blogs: <http://www.scheme.dk/planet/>
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Wed, 04 Oct 2006 01:09:57 -0400
> From: Ittai Balaban <balaban at cs.nyu.edu>
> Subject: [plt-scheme] Menu keybindings interfering with other
>         keybindings?
> To: plt-scheme <plt-scheme at list.cs.brown.edu>
> Message-ID: <1159938597.4648.7.camel at ittai-laptop>
> Content-Type: text/plain
>
> Hi.
> I first noticed this in the 352 line: On my Linux box, when
> framework:menu-bindings in .plt-scheme/plt-prefs.ss is #t, various other
> bindings stop working. Notably, some modifier keys seem to be simply
> ignored. For example, alt-ctrl-; and alt-ctrl-= (comment/uncomment
> region) act as if you've pressed ctrl-; , ctrl-= , respectively.
>
> Is this a known bug?
>
> --
> Ittai
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 4 Oct 2006 09:24:48 -0500
> From: "Corey Sweeney" <corey.sweeney at gmail.com>
> Subject: Re: [plt-scheme] Using FrTime
> To: "Jon Rafkind" <workmin at ccs.neu.edu>
> Cc: Prabhakar Ragde <plragde at uwaterloo.ca>,
>         plt-scheme at list.cs.brown.edu,   Daniel Jonathan Ignatoff
>         <dignatof at cs.brown.edu>
> Message-ID:
>         <d1c0755b0610040724p16550b14led5b4fbfdc54725d at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> In reference to the GUI delay, What version of drscheme are you
> using?  the
> "released" 352, or a SVN version?   I'm trying to isolate a thread lag
> that
> seems to be related to GUI updates (from window sizing or whatever).
>
> If you try to run it in mred instead of drscheme does it still have the
> lag
> in GUI updates?
>
> If it's slow in drscheme and not in mred and your using the "released"
> 352,
> then try a SVN version and let me know if it works.
>
> Corey
>
>
>
> On 10/1/06, Jon Rafkind <workmin at ccs.neu.edu> wrote:
> >
> > You mean the one in frtime/demos/spreadsheet? I tested it and it seemed
> > fine for the most part. The GUI took quite a while to update when I
> > adjusted the window size or scrolled the cells.
> >
> > Gregory Cooper wrote:
> > > The spreadsheet has been suffering off and on from a few performance
> > > and stability issues, so we decided to take it out of the
> > > distribution.  Dan might have some time to look into reviving it.
> > > Otherwise, I should be able to do so, but probably not for a week or
> > > so.
> > >
> > > On 10/1/06, Prabhakar Ragde <plragde at uwaterloo.ca> wrote:
> > >> > Im reading "Crossing State Lines: Adapting Object-Oriented
> > >> Frameworks to
> > >> > Functional Reactive Languages" by Ignatoff, Cooper, and
> Krishnamurthi
> > >> > and would like to try out the first example but can't get it
> > >> working in
> > >> > drscheme 352.
> > >>
> > >> Interesting paper. Is code for the spreadsheet application available
> > >> somewhere? I think I could learn a lot from looking at it. Thanks.
> --PR
> > >> _________________________________________________
> > >>   For list-related administrative tasks:
> > >>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> > >>
> > > _________________________________________________
> > >  For list-related administrative tasks:
> > >  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> > >
> > >
> > _________________________________________________
> >   For list-related administrative tasks:
> >   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> >
>
>
>
> --
> ((lambda (y) (y y)) (lambda (y) (y y)))
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://list.cs.brown.edu/pipermail/plt-scheme/attachments/20061004/ee19179a/attachment.html
>
> End of plt-scheme Digest, Vol 14, Issue 6
> *****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20061004/ed46c62f/attachment.html>

Posted on the users mailing list.