Re: Editing component being compiled when compilation failed.

2015-07-08 Thread Faré
On Wed, Jul 8, 2015 at 5:40 PM, 73budden . wrote: > Take a look at latest commit: > > https://bitbucket.org/budden/budden-tools/src/3cc8612a622055a4ac58be7f496c506332ab01de/asdf-3.1.4-tools.lisp?at=default >>> Also, you might want to split this into modifications/extensions to ASDF >>> and code

Re: Editing component being compiled when compilation failed.

2015-07-08 Thread 73budden .
And one more comment to be as clear as possible :) My file contains several independent things: 1. package-file, of-system: are not very interesting, lets ignore them. 2. fake restart to allow calling editor from the debugger. The most interesting. 3. tools to enable finding a form definition by

Re: Editing component being compiled when compilation failed.

2015-07-08 Thread 73budden .
I see my previous reply was unclear >It looks like what you are building is an >extension to ASDF not an extension but a patch >that hooks it into an editor yes >(perhaps specifically the >lispworks IDE?). No. I use lispworks IDE for Lispworks and EMACS (via SWANK callback) for SBCL. EMACS/SW

Re: Editing component being compiled when compilation failed.

2015-07-08 Thread 73budden .
Thanks for valuable comments. Take a look at latest commit: https://bitbucket.org/budden/budden-tools/src/3cc8612a622055a4ac58be7f496c506332ab01de/asdf-3.1.4-tools.lisp?at=default Most of dead code is deleted. >It looks like what you are building is an >extension to ASDF that hooks it into an ed

Re: Editing component being compiled when compilation failed.

2015-07-08 Thread Faré
On Wed, Jul 8, 2015 at 10:17 AM, Robert Goldman wrote: > >> Also I define asdf::e and asdf::ep symbol macros that access special >> variables. >> >> When compilation fails, I have an EDIT-COMPONENT restart, which is >> not needed - it is just a help string. >> Then user should eval asdf::e in

Re: Editing component being compiled when compilation failed.

2015-07-08 Thread Robert Goldman
On 7/8/15 Jul 8 -6:33 AM, 73budden . wrote: > Hi! > > I still don't know what is the official way to edit component being > compiled. I asked at comp.lang.lisp but had no reply. I'm not sure I understand. It looks like what you are building is an extension to ASDF that hooks it into an editor

Editing component being compiled when compilation failed.

2015-07-08 Thread 73budden .
Hi! I still don't know what is the official way to edit component being compiled. I asked at comp.lang.lisp but had no reply. But I have developed my own solution. For this I had to redefine several asdf functions. I bind special variables so that current component is known at the time of com