[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reset Emacs state
From: |
Lennart Borgman |
Subject: |
Re: Reset Emacs state |
Date: |
Tue, 2 Mar 2010 11:50:07 +0100 |
On Tue, Mar 2, 2010 at 11:41 AM, Johan Andersson <johan.rejeep@gmail.com> wrote:
> Hey,
> I'm looking for a way to reset Emacs. By reset I mean like something you
> would want to do in a testing framework. So if you set a variable in one
> test, it will not be set in the next.
> The only way I find this possible is to run each test as a Emacs Batch
> script:
> (dolist (test tests)
> (shell-command "./run-test"))
> I guess that would work. However, there is a problem with this. run-test
> does not have the test object. I could solve that by for each test output
> the object to a file and then read it in run-test.
> This solution seems rather clumpy though and I'm wondering if you can think
> of any good way to do it.
Dynamic scoping?
- Reset Emacs state, Johan Andersson, 2010/03/02
- Re: Reset Emacs state,
Lennart Borgman <=
- Re: Reset Emacs state, Johan Andersson, 2010/03/02
- Re: Reset Emacs state, Lennart Borgman, 2010/03/02
- Re: Reset Emacs state, Johan Andersson, 2010/03/02
- Re: Reset Emacs state, Lennart Borgman, 2010/03/02
- Re: Reset Emacs state, Johan Andersson, 2010/03/02
- Re: Reset Emacs state, Lennart Borgman, 2010/03/02
- Re: Reset Emacs state, Johan Andersson, 2010/03/02
- Re: Reset Emacs state, Lennart Borgman, 2010/03/02