Timer code normally turns off C-g so that you won't interrupt it
by accident.  (After all, you can't predict when the timer code
will be running.)  If ECB is going to do something potentially
slow from a timer, it should probably bind inhibit-quit to nil
around that code, after displaying a message in the echo area
to inform the user what is happening.

Alternatively, it could use start-process to run ls asychronously
as a way to find out whether the directory is empty.  The process
sentinel could take action based on whether the output was empty.
Then you wouldn't have any such problem.
I suggest forwarding this to the ECB developers.


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to