This is how I would do the renaming (see attachment).
So I wouldn't use around-compile as I want the renaming to be effective on cl-source-file.
I also have to admit that there might be a more efficient way which would do this on the top level if there is any compilation in the plan. But I don't know how to implement that way.

If you like it, I can finish the implementation...

`bg`


2011/10/17 Gábor Balázs <gabalz@gmail.com>

I don't see how can you manipulate things by defining subclasses of cl-source-file.

I have to admit that I don't understand how components are created in asdf. My best guess (by looking at the class-for-type function) is that everything defined in the defsystem by :file and having .lisp extension becomes *default-component-class* which is cl-source-file.

And I neither want to introduce a new syntax next to :file, nor change my lisp file extensions to something else.
So I don't see how your components can become subclasses of cl-source-file at all.

`bg`



2011/10/17 Faré <fahree@gmail.com>
NB: I committed this :around-compile feature with some minimal
documentation as 2.017.18.

—♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• http://fare.tunes.org
Foreign aid might be defined as a transfer from poor people in rich countries
to rich people in poor countries. — Douglas Casey