Re: nested presentations
- From: Rainer Joswig <joswig@xxxxxxx>
- Date: Tue, 31 Oct 2006 01:27:34 +0200
In article <joswig-324C70.18011730102006@xxxxxxxxxxxxxxxxxxxxxxxx>,
Rainer Joswig <joswig@xxxxxxx> wrote:
In article <Rip1h.15390$j7.332875@xxxxxxxxxxxxxx>,
David Golden <david.golden@xxxxxxxxxxxxx> wrote:
Hi,
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.
But I can't find the criticism now with google (maybe
just having a bout of long-weekend searching incompetence),
so was just wondering if anyone had such an explanation
handy?
Example:
If you have a CLIM Listener and you type:
? (list 'foo 'bar 'baz)
The system responds with the resulting list.
(foo bar baz)
Next the Listener again expects a command or an expression.
If you move the mouse over the result list, the list should be
mouse sensitive. But if the mouse cursor is over a symbol
in that list, only the symbol should be mouse sensitive.
So, accept (in general not just in this Listener example)
should look for the smallest applicable presentation
within nested presentations. This is how it worked in
the commercial CLIM and also with DW (Dynamic Windows).
This also means that when you 'present' something,
you should not only record this presentation, but also
presentations of sub-items...
Regards,
Rainer
plus:
DW and CLIM 2 are doing this for all kinds of presentations
that have subcomponents. Not just for lists. Also
for arrays, structures, objects and so on. You
also don't need to call PRESENT yourself on those
subcomponents, standard CL printing
routines are sufficient. Those will use the presentation
mechanism to recursively print and present compound
things.
In DW's listener you can also list a directory and
refer to the whole directory listing or to the
individual files/subdirectories.
DW also comes with the added feature that you can edit
the subcomponents in place. Means you can
click on any subitem and change its printing
environment or the item itself.
Having subcomponents mouse sensitive also works
in Zmacs when you point to content in an editor buffer.
.
- References:
- nested presentations
- From: David Golden
- Re: nested presentations
- From: Rainer Joswig
- nested presentations
- Prev by Date: Re: (asdf:oos 'asdf:unload-op 'cl-spont)
- Next by Date: Re: Using (CASE ...) with strings?
- Previous by thread: Re: nested presentations
- Next by thread: Re: nested presentations
- Index(es):
Relevant Pages
|