Hello Max,

I tried the code than Ben Hyde published and that worked. It took some testing before I discovered that was working though.

As I played around with Ben's code, I came to the realization that your code was working also. I just didn't give it enough testing to see.

I have this one lisp file that I use to build the project that I was working on, and the fasl always showed up in my source directory, but that file is the one that calls asdf and it's not in the asdf system file so it never shows up in the asdf fasl location. So I thought your code wasn't working, but when I did compile/load with other code, your code worked fine.

I've commented out Ben's code in ~/.emacs and I have your code in ~/.slime.lisp and it appears to be working fine.

My apologies Max, for thinking your code wasn't working.

I put much of the above in a message to Ben Hyde, which I CCd you on, so You'll see this again when that mail gets to you.

Sincerely,

Paul Bowyer


On 06/17/2013 03:57 PM, Max Mikhanosha wrote:
At Mon, 17 Jun 2013 10:52:36 -0700,
Paul Bowyer wrote:
Hello Max,

I tried the code in *inferior-lisp* and it produced this function
#<FUNCTION (LAMBDA (PATH OPTIONS)) {100657C57B}>

I then tried compiling/loading a file, but the fasl still goes in my 
source directory.
Well, I have no idea how its possible, how old is your Slime? I suggest
trying slime from CVS first.. It seems symbol is there, but its not being
called. 

If that fails to work, then I'm all out of ideas. It seems to work fine for
Ben Hyde.

I tried placing the code in ~/.swank.lisp, started emacs/slime, 
compiled/loaded a file, and still the fasl ends up in my source directory.

Is there some glue code that connect this function to compile-file in 
slime that might be missing?

By the way, when you email me, I get two messages per mailing.
My email program automatically does To <person> and Cc: Slime-devel, the usual
scenario is that mailing list software is smart enough not to duplicate such emails
to the person mentioned in tho To: field, but new common-lisp.net does not seem
to do it.

I removed you from To: and this email simply goes to Cc: slime-devel


Regards,
 Max