unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: guile-user@gnu.org
Subject: Re: Multiple parallel environments
Date: Thu, 30 Jul 2009 15:14:44 +0200	[thread overview]
Message-ID: <87r5vyl3cr.fsf@gnu.org> (raw)
In-Reply-To: we1mbpn3fl5g.fsf@ssclt003.ee.surrey.ac.uk

Hello,

Peter Brett <peter@peter-b.co.uk> writes:

> 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.

Before answering, I'd like to make sure I understand what you want to
achieve.

What do you mean by "environment"?  All the global variables associated
with a given file in the editor?

What do you mean by "save"?  Serialize to a file the "environment"
associated with a file (or the difference compared to the initial
environment)?

Thanks,
Ludo'.





  reply	other threads:[~2009-07-30 13:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-29 17:34 Multiple parallel environments Peter Brett
2009-07-30 13:14 ` Ludovic Courtès [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r5vyl3cr.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).