mit-scheme-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Edwin: Check if in X windows at startup


From: Matt Birkholz
Subject: Re: Edwin: Check if in X windows at startup
Date: Mon, 30 Mar 2020 09:58:15 -0700
User-agent: Evolution 3.34.1-2

On Mon, 2020-03-30 at 12:25 -0400, Nicholas Papadonis wrote:

On Mar 29, 2020, at 3:12 PM, Matt Birkholz <address@hidden> wrote:

On Sun, 2020-03-29 at 13:05 -0400, Nicholas Papadonis wrote:
Does anyone know how to accomplish this?  Is there a function which returns whether Edwin is started in X or not?

(display-type/name (current-display-type))

unbound-variable error when evaluating.

Using MIT Scheme v10

~/.edwin is loaded into the (edwin) package inside the dynamic extent of a fluid-binding of current-editor. If you are not evaluating in the (edwin) package, you should get an unbound variable error. If you are evaluating the sexpr in a REPL in the (edwin) package but not in Edwin, you should get an unassigned variable error. So... use the REPL in Edwin and evaluate (ge '(edwin)) first. And mention the name of the unbound variable next time.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]