Hello, I found the problem. The publishing function must return the file name, which it should do... except there was a bug in it. I used something like (fboundp 'foo) as a condition and foo is a variable. I wonder how that ever did something useful...
Sorry for the noise hmw