<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#003333">
<br>
<div class="moz-cite-prefix">On 10/30/2013 12:21 PM, Jeff Cunningham
wrote:<br>
</div>
<blockquote cite="mid:52715C4F.40308@jkcunningham.com" type="cite">(describe
'cl-ppcre:regex-apropos)
</blockquote>
<br>
This is really strange. As an experiment I just created a
dirt-simple source file named "test1.lisp" in an isolated directory.
<br>
<br>
(require :cl-ppcre)<br>
(use-package :cl-ppcre)<br>
(describe 'cl-ppcre:regex-apropos) <br>
<br>
When I compile and run this I get the following:<br>
<br>
; compiling file "/home/jcunningham/slime/test1.lisp" (written 30
OCT 2013 12:50:50 PM):<br>
<br>
; /home/jcunningham/slime/test1.fasl written<br>
; compilation finished in 0:00:00.002<br>
CL-PPCRE:REGEX-APROPOS<br>
[symbol]<br>
<br>
REGEX-APROPOS names a compiled function:<br>
Lambda-list: (REGEX &OPTIONAL PACKAGES &KEY
(CASE-INSENSITIVE T))<br>
Derived type: (FUNCTION (T &OPTIONAL T &KEY
(:CASE-INSENSITIVE T))<br>
(VALUES &OPTIONAL))<br>
Documentation:<br>
Similar to the standard function APROPOS but returns a list of
all<br>
symbols which match the regular expression REGEX. If
CASE-INSENSITIVE<br>
is true and REGEX isn't already a scanner, a case-insensitive
scanner<br>
is used.<br>
<b>Source file: /home/jcunningham/quest/robom/plotwave.lisp</b><br>
<br>
This is a fresh slime session started in a new emacs. The file it is
pointing to is something I haven't been working with for more than a
week and most definitely does NOT contain regex-apropos by any
package name. But it does contain a defpackage, which looks like
this:<br>
<br>
(require 'cl-fad)<br>
(require 'cl-extra)<br>
(require 'cl-ppcre)<br>
(require 'quaternion)<br>
(require 'graham))<br>
(defpackage #:cnc-user (:use :cl :quaternion :cl-extra :graham
:cl-fad :cl-ppcre))<br>
(in-package :cnc-user)<br>
<br>
<br>
It would appear that somehow when I last compiled this piece of code
it modified something persistently for slime so that it now thinks -
from any session I start - that functions in these packages have
source code located in this file. The functions are found by SBCL
because they do work. It is Slime that is going wrong here. <br>
<br>
I see that I was using the 'cl-ppcre designation for the package
that you say is not legal Common Lisp. I have no idea how that would
affect things. I will change this in the future, but I am at a loss
to see how to get back to the behavior Alt-. once had. <br>
<br>
I am running SBCL 1.1.11 on this machine, and SLIME 2013-06-26<br>
<br>
Regards,<br>
--Jeff<br>
<br>
<br>
</body>
</html>