<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.lisp.allegro">
    <title>gmane.lisp.allegro</title>
    <link>http://blog.gmane.org/gmane.lisp.allegro</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.allegro/553"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.allegro/552"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.allegro/551"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.allegro/550"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.allegro/553">
    <title>Returning a string from a LISP callable</title>
    <link>http://permalink.gmane.org/gmane.lisp.allegro/553</link>
    <description>&lt;pre&gt;Hello,

I am trying to put together an application in ACL 8.0 where a C++
server periodically calls into LISP (I am integrating with a C++
communications library). It needs to pass a string (char*) argument
into LISP, and return a string (char*) as well.

I can make the callables that pass in a string to LISP, and return
nothing, work. But I cannot return a string sensibly.

So far, I have tried a :returning declaration in
defun-foreign-callable, and setting the convert-to-c-types parameter
in register-foreign-callable to t. In both cases, a null pointer was
returned. I also tried setting a global LISP variable to the return
string value, and accessing it with lisp_value from C. I could not
figure out how the macros in lisp.h work, so the several combinations
I have tried either don't compile, or return a segmentation violation.

If someone could provide me with an example of how this can be done, I
would very much appreciate it.

Myrosia


&lt;/pre&gt;</description>
    <dc:creator>Myrosia Dzikovska</dc:creator>
    <dc:date>2009-10-22T14:20:49</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.allegro/552">
    <title>Weird CLOS MOP behavior</title>
    <link>http://permalink.gmane.org/gmane.lisp.allegro/552</link>
    <description>&lt;pre&gt;Hi,

This is on Allegro 8.1 on Mac OS X.

Assume I have the following definitions:

(use-package :clos)

(defclass my-generic-function (standard-generic-function)
   ()
   (:metaclass funcallable-standard-class))

(defmethod compute-discriminating-function ((mf my-generic-function))
   (let ((disc (call-next-method)))
     (lambda (&amp;amp;rest args)
       (print args)
       (apply disc args))))

(defgeneric foo (x y z)
   (:method (x y z) (+ x y z))
   (:generic-function-class my-generic-function))


If I load and test these definitions, I get the following output:

CL-USER(1): (load "clos-test")
; Fast loading /Users/costanza/Muell/clos.fasl

(#&amp;lt;Closure (:INTERNAL
             (METHOD COMPUTE-DISCRIMINATING-FUNCTION
              (MY-GENERIC-FUNCTION))
             0)
    &amp;lt; at &amp;gt; #x1000aa8bb2&amp;gt;)
T
CL-USER(2): (foo 4 5 6)

(4 5 6)
(#&amp;lt;Function (METHOD FOO (T T T))&amp;gt;)
15
CL-USER(3): (foo 4 5 6)

(4 5 6)
15


Does anybody have an idea where the internal closer and functions come  
from that seem to be passed to the discriminating function? Is there a  
way to suppress that? This makes it hard to write portable extensions  
of generic functions...


Thanks a lot for any hints...


Pascal

&lt;/pre&gt;</description>
    <dc:creator>Pascal Costanza</dc:creator>
    <dc:date>2009-09-06T20:39:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.allegro/551">
    <title>auto load after start</title>
    <link>http://permalink.gmane.org/gmane.lisp.allegro/551</link>
    <description>&lt;pre&gt;Hello,

I have a simple question. I just want to load a lisp file
automatically after start up. Important is, that the package
COMMON-GRAPHICS-USER has already been loaded. By using the attribute
-L the file will be loaded with the COMMON-LISP-USER package, which
won't work with my lisp file. What can I do?

Thanks for help,
Phil

&lt;/pre&gt;</description>
    <dc:creator>phil</dc:creator>
    <dc:date>2009-08-18T14:26:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.allegro/550">
    <title>European Common Lisp Meeting</title>
    <link>http://permalink.gmane.org/gmane.lisp.allegro/550</link>
    <description>&lt;pre&gt;Hi,
 
We just want to remind you that the registration deadline for this year's
ECLM (European Common Lisp Meeting) is August 15.  You can still register
at
 
  http://weitz.de/eclm2009
 
We hope to see you in Hamburg,
 
Edi Weitz &amp;amp; Arthur Lemmens





&lt;/pre&gt;</description>
    <dc:creator>Arthur Lemmens</dc:creator>
    <dc:date>2009-08-07T13:14:51</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.lisp.allegro">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.lisp.allegro</link>
  </textinput>
</rdf:RDF>
