Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#530 closed defect (fixed)

Need better error handling for "file not found" while doing meta-dot

Reported by: jaj Owned by: mikel
Priority: major Milestone: Cocoa IDE v1
Component: IDE Version: 1.3
Keywords: Cc:


In the IDE: 1.4-dev-r12199M-trunk (DarwinX8664)

If you meta-dot a name, and the file it's looking for doesn't exist, the alt console pops up with an error and you get a "sky is falling" dialog. This behavior might make sense if there is an error in the event handling code that needs to be debugged. But in this case, just a simple message saying "File ~s not found" would be much better. I think a beep and a message in the mini-buffer might be the best way to handle this case.

A simple way to reproduce: rename ccl/level-1/l1-files.lisp to something else (temporarily) type "load" into a listener or editor window with the insertion bar in or next to "load", type meta-dot

There are probably a lot of potential errors that are signaled in the IDE, that should be handled without bringing up the alt console.

Change History (3)

comment:1 Changed 12 years ago by mikel

  • Owner set to mikel
  • Status changed from new to assigned

comment:2 Changed 12 years ago by gz

  • Resolution set to fixed
  • Status changed from assigned to closed

This apparently got fixed at some point, I see no dialog, just a message in the echo area.

comment:3 Changed 12 years ago by gb

My recollection is that there are/were a few other ways of getting a file-not-found error when trying to find a definition, and that only M-. in the editor tried to handle that error.

If that recollection's correct, we might want to re-open this or split the remaining cases into another ticket.

Note: See TracTickets for help on using tickets.