unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Multiple parallel environments
@ 2009-07-29 17:34 Peter Brett
  2009-07-30 13:14 ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Brett @ 2009-07-29 17:34 UTC (permalink / raw)
  To: guile-user

Hi folks,

I've got an interesting problem I need some help with.  I'm
implementing an editor which permits per-directory configuration
files, written in Guile Scheme. (There is also a system and user
configuration, as usual).  Quite a lot of the editing actions are
implemented as Scheme procedures, etc.

What I'd like to do is something like the following:

  * Load system config
  * Load user config
  * Save environment ==> [0]

  * User opens /path/to/a/file
  * Load config from /path/to/a/editor.conf
  * Edit, edit, hack, hack.

  * User opens /path/to/another/file
  * Save environment ==> [1]
  * Restore environment <== [0]
  * Load config from /path/to/another/editor.conf
  * Edit, edit, hack, hack.

  * User switches back to editing /path/to/a/file
  * Save environment ==> [2]
  * Restore environment <== [1]
  * Edit, edit, hack, hack.

  ... etc.

Is such a thing possible with Guile?

Thanks in advance,

                               Peter

-- 
Peter Brett <peter@peter-b.co.uk>
Remote Sensing Research Group
Surrey Space Centre





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-07-30 15:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-29 17:34 Multiple parallel environments Peter Brett
2009-07-30 13:14 ` Ludovic Courtès
2009-07-30 14:12   ` Peter Brett
2009-07-30 14:45     ` Ludovic Courtès
2009-07-30 15:19       ` Peter Brett
2009-07-30 15:45         ` Ludovic Courtès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).