[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 12:50:28 +0100 |
On Tue, Mar 2, 2010 at 12:48 PM, Johan Andersson <johan.rejeep@gmail.com> wrote:
> I'm not sure how that would help me? Do you mean something like this?
> (let ((var "some variable"))
> (call-process "emacs" nil "*scratch*" t "-Q" "--batch" "-l"
> "~/test.el"))
> Using call-process would reset the state, but how do I reach var in test.el?
> I thought that was what you meant with dynamic scoping?
Using dynamic scoping and call-process are too different ways. When
using call-process you have to write some output in the inferior emacs
process and investigate that in the original emacs process.
- 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 <=
- 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