Re: SCM systems and pathnames question

"Tim Bradshaw (as tfb at tfeb dot org)" <[email protected]> Mon, 18 May 2026 14:47:57 +0100
Newsgroups gmane.lisp.lispworks.general
Message-ID <[email protected]>
On 17 May 2026, at 22:27, Marco Antoniotti (as marco dot antoniotti at unimib dot it) <[email protected]> wrote:
> 
> Hi
> 
> Apologies if this is a very stupod question.
> 
> Is there a way to get the actual pathname a SCM-SCM-SYSTEM was defined in? 

I don't know if you can rely on this, but system names are dspecs, so you can use dspec-definition-locations to find them:

> (dspec:dspec-definition-locations '(defsystem "FOO"))
(((defsystem "FOO") #P"/private/tmp/x.lisp") ((defsystem "FOO") :listener))

(Yes, I defined it once in the listner before realising that was not the thing to do>)

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
[email protected]
http://www.lispworks.com/support/lisp-hug.html