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 <pe...@peter-b.co.uk>
Remote Sensing Research Group
Surrey Space Centre



Reply via email to