Re: nested presentations
- From: Robert Strandh <strandh@xxxxxxxx>
- Date: 31 Oct 2006 05:39:40 +0100
David Golden <david.golden@xxxxxxxxxxxxx> writes:
I have a vague memory of a criticism on someone's part
of both SLIME and McCLIM, about neither supporting
nested presentations. I'm trying to find a description
of how such nested presentations worked traditionally.
McCLIM does support nested presentations. To see that, fire up the
listener and type something like:
(in-package :clim-user)
(with-output-as-presentation (*standard-output* 123 'number)
(princ "hello")
(with-output-as-presentation (*standard-output* 456 'integer)
(princ "hi"))
(princ "there"))
and you will see:
hellohithere
Now, type:
(accept 'number)
You will be prompted for a number. If you drag the pointer over the
middle "hi" of the output, you will see only those two letters
highlighted, and clicking there will accept the number 456. If,
instead, you drag the pointer over some other part of the output, the
entire output will be highlighted, and 123 will be accepted.
Typing:
(accept 'integer)
will make only the "hi" part sensitive as expected.
--
Robert Strandh
---------------------------------------------------------------------
Greenspun's Tenth Rule of Programming: any sufficiently complicated C
or Fortran program contains an ad hoc informally-specified bug-ridden
slow implementation of half of Common Lisp.
---------------------------------------------------------------------
.
- References:
- nested presentations
- From: David Golden
- nested presentations
- Prev by Date: Re: Current state of Symbolics
- Next by Date: Re: logo design
- Previous by thread: Re: nested presentations
- Next by thread: Re: CL implementations and tail-call optimization
- Index(es):
Relevant Pages
|