[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AW: Can't interrupt directory_files_internal runfromtimer-event-handler
From: |
klaus.berndl |
Subject: |
AW: Can't interrupt directory_files_internal runfromtimer-event-handler |
Date: |
Mon, 8 Aug 2005 13:29:33 +0200 |
>> while-no-input is in the Lisp manual. throw-on-input is not for users
>> to use; perhaps we should rename it to while-no-input-throw-internal.
>In its current form, a caller of while-no-input cannot differentiate
>between BODY returning nil as a normal return value or BODY being
>interrupted.
>Furthermore, caller cannot know if BODY was interrupted by input or C-g.
>As I need to differentiate between all three cases in ido, I had to
>use throw-on-input directly.
>For that reason, I think we should either document throw-on-input (and
>keep its name), or [better] change while-no-input to return 'quit for
>C-g, 'input-pending-p for input, and value of BODY otherwise.
IMHO such an interface would be the best of elisp-programmers.... for an
application like ECB this would be a great help....
Klaus
--
Kim F. Storm <address@hidden> http://www.cua.dk
_______________________________________________
Emacs-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-devel
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- AW: Can't interrupt directory_files_internal runfromtimer-event-handler,
klaus.berndl <=