<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi John,</p>
<p>The main problem with the file selection in Allegro under Linux
has been that clicking on directories to get to subdirectories
hasn't worked for years. If you type the full path name for the
directory into the selection box, which is the suggested work
around, you get the file list, though sometimes clicking doesn't
work smoothly even then. That's consistently the case in the
Computer Lab systems and others have found it elsewhere too. I
think most regular users ended up using a Lisp command to load the
grammar.<br>
</p>
<p> I haven't used the Windows version for ages, but I don't recall
a problem there.</p>
<p>Your dialog screen shot looks good!<br>
</p>
All best,<br>
<br>
Ann<br>
<br>
<div class="moz-cite-prefix">On 01/12/2016 23:31, John Carroll
wrote:<br>
</div>
<blockquote
cite="mid:33A0873C-A99F-454E-AF19-DB15C2531EFE@sussex.ac.uk"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
This has been taking me much longer than I expected. Although
McCLIM is functionally almost complete, it’s a bit fragile if you
don’t exactly play by the rules, and often the rules have to be
guessed at or worked out from the source code. Also, I’ve had to
work around the unsatisfactory appearance of some things,
especially windows created by accept-values. I’ve done new
implementations of all of the LKB accept-values calls by
explicitly programming gadgets and callbacks.
<div><br>
</div>
<div>As an example, I attach a screenshot of my select-file
dialog. I've realised why select-file is missing from McCLIM -
as of CLIM 2 it’s been removed from the standard!</div>
<div><br>
</div>
<div>Ann: so I can test it well, what problems have you had with
file selection in Allegro? Are the problems in Windows or in
Linux? Might they be caused by having lots of mounted network
filesystems, unusual structures of symbolic links, or some of
the weird varieties of Microsoft file system mounting (see <a
moz-do-not-send="true"
href="https://sourceforge.net/p/sbcl/mailman/message/19520335/">https://sourceforge.net/p/sbcl/mailman/message/19520335/</a>)?</div>
<div><br>
</div>
<div>Apart from the amount of time I’ve spent, I’m pretty pleased
with how it’s shaping up.</div>
<div><br>
</div>
<div>John</div>
<div><br>
<br>
<div>
<div>On 7 Nov 2016, at 11:17, Ann Copestake <<a
moz-do-not-send="true" href="mailto:aac10@cl.cam.ac.uk">aac10@cl.cam.ac.uk</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div bgcolor="#FFFFFF" text="#000000">
<p>sounds good - re 1 - file selection is barely working
in Allegro right now anyway. I'll be happy to do some
testing if you like, just not this week ...<br>
</p>
it would be nice to fix that type bug but not exactly
essential ... it's been there quite a few years, after
all.<br>
<br>
All best,<br>
<br>
Ann<br>
<br>
<div class="moz-cite-prefix">On 07/11/2016 11:14, John
Carroll wrote:<br>
</div>
<blockquote
cite="mid:39A8AA9F-762D-4EA2-8AB5-575EE1840CCD@sussex.ac.uk"
type="cite"> This is going so well that I think it’s
going to end up as a viable new public version of the
LKB for the average non-expert user. So I’ll finish the
job off and make sure it runs in SBCL. Clozure CL and
SBCL both have good Linux versions, so it might also be
useful for the average Linux user.
<div>
<div><br>
</div>
<div>In total I’ve made around 50 minor edits to LKB
code. The main reasons have been:
<div><br>
</div>
<div>1. McCLIM does not (yet) implement all of the
CLIM spec</div>
<div>2. The CLIM spec is unclear in places, and the
LKB sometimes relies too much on the behaviour of
Allegro CL CLIM</div>
<div>3. Some LKB code uses features of Allegro CL
CLIM that are not in the spec</div>
<div><br>
</div>
<div>Re 1, the largest gap is lack of select-file,
so I’m adopting/adapting a file selector from
another CLIM-based program. In category 2, the
most widespread problems are omission of
explicit define-presentation-type declarations for
presentation types, and an assumption that panes
are created ‘eagerly’ - whereas McCLIM does this
lazily when it actually displays the window (which
seems to be allowed by the spec). There’s one
issue in category 3 that currently has me stumped
for a work-around (changing the colour of text
before a redisplay) but I’m sure I’ll figure
something out.</div>
<div><br>
</div>
<div>So far I haven’t tried to go further than
(load-system "lkb”), and haven’t looked at any
non-graphics related code, e.g. in pvm, psql.</div>
<div><br>
</div>
<div>John</div>
<div><br>
</div>
<div>PS While I’m at it, should I fix the bug
described at <a moz-do-not-send="true"
href="http://moin.delph-in.net/LkbBugs">http://moin.delph-in.net/LkbBugs</a>
? It’s probably in code I originally wrote in
src/main/checktypes.lsp</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>
<div>On 5 Nov 2016, at 08:01, Ann Copestake <<a
moz-do-not-send="true"
href="mailto:aac10@cl.cam.ac.uk">aac10@cl.cam.ac.uk</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div bgcolor="#FFFFFF" text="#000000">
<p>Hi,</p>
<p>Fantastic! <br>
</p>
<p>Did you manage to sort out the other
Allegro-specific stuff? I don't remember
exactly what the remaining issues were
with the SBCL version.</p>
<p>All best,</p>
<p>Ann</p>
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 04/11/2016
23:56, John Carroll wrote:<br>
</div>
<blockquote
cite="mid:47893745-DBD8-406B-B2EC-615B894E67DC@sussex.ac.uk"
type="cite">Hi,
<div><br>
</div>
<div>See the attached screenshot (or <a
moz-do-not-send="true"
href="http://users.sussex.ac.uk/%7Ejohnca/LKB_CCL_McCLIM_2016-11-04.jpg">http://users.sussex.ac.uk/~johnca/LKB_CCL_McCLIM_2016-11-04.jpg</a>
if the mailing list strips it out): the
LKB with McCLIM graphics running in
Clozure Common Lisp on a Mac. It’s taken
me around 3 days to get it working.
There are still a few interface glitches
and hacks I need to sort out, but the
basics are there.</div>
<div><br>
</div>
<div>John</div>
<div><br>
</div>
<div>PS There was a posting in January by
a guy asking about LKB/McCLIM, but it
turned out to be much more tricky than
he was suggesting.</div>
<div><br>
</div>
<div><br>
</div>
</blockquote>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
<br>
</div>
<div><img apple-inline="yes"
id="E81841A4-158F-4B2E-91EA-80A0A7338568" apple-width="yes"
apple-height="yes"
src="cid:part6.991F8AA1.3BBB5011@cl.cam.ac.uk" height="449"
width="546"></div>
<div><br>
</div>
</blockquote>
<br>
</body>
</html>