[Openmcl-devel] What is the right way to tell if you're running the IDE?

Greg Pfeil greg at clozure.com
Mon May 18 20:36:50 PDT 2009


On 18 May 2009, at 22:37, Gary Byers wrote:

> There are several ad hoc ways to tell (somewhat reliably) if you're
> running in the IDE or not, but you're right that there should be a
> single, reliable, advertised way.  Note that it'd still be awkward
> to say (in your ~/ccl-init.lisp file)
>
> (if (reliable-way-of-determining-if-running-under-IDE)
>   (progn
>     (hi:: ...)
>     (gui:...)))
>
> and you'd have to do something like (EVAL (READ-FROM-STRING  
> "(HI::...")).

Seems to call for :CCL-IDE in *FEATURES*.



More information about the Openmcl-devel mailing list