[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Multiple parallel environments
From: |
Peter Brett |
Subject: |
Multiple parallel environments |
Date: |
Wed, 29 Jul 2009 18:34:35 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
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 <address@hidden>
Remote Sensing Research Group
Surrey Space Centre
- Multiple parallel environments,
Peter Brett <=