[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#1082: 23.0.60; read-char unexpectedly halts execution of script
From: |
Markus Triska |
Subject: |
bug#1082: 23.0.60; read-char unexpectedly halts execution of script |
Date: |
Sat, 4 Oct 2008 19:58:16 +0200 (CEST) |
Let filter.el consist of the forms:
(defun bc-filter (proc string)
(message "%s" string))
(message "starting")
(setq bc (start-process "bc" nil "/usr/bin/bc"))
(set-process-filter bc 'bc-filter)
(while t
(let ((char (read-char nil nil 0.1)))
(message "char: %s" char)))
Where "/usr/bin/bc" is the GNU arbitrary precision calculator. Now:
mt-computer:~ mt$ emacs --script filter.el
starting
mt-computer:~ mt$
I expect non-termination in this case, as in eval-buffer on filter.el.
In GNU Emacs 23.0.60.1 (i386-apple-darwin8.11.1, GTK+ Version 2.12.9)
of 2008-09-24 on mt-computer.local
Windowing system distributor `The XFree86 Project, Inc', version 11.0.40400000
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_GB.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: nil
default-enable-multibyte-characters: t
- bug#1082: 23.0.60; read-char unexpectedly halts execution of script,
Markus Triska <=