From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Markus Triska Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1082: 23.0.60; read-char unexpectedly halts execution of script Date: Sat, 4 Oct 2008 19:58:16 +0200 (CEST) Message-ID: <20081004175816.6076AB16233@mt-computer.local> Reply-To: Markus Triska , 1082@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1223143818 31389 80.91.229.12 (4 Oct 2008 18:10:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 Oct 2008 18:10:18 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 04 20:11:15 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KmBaw-0001ao-OD for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Oct 2008 20:11:11 +0200 Original-Received: from localhost ([127.0.0.1]:57036 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmBZt-0005Ka-Bi for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Oct 2008 14:10:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KmBZp-0005KB-L1 for bug-gnu-emacs@gnu.org; Sat, 04 Oct 2008 14:10:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KmBZn-0005Je-NT for bug-gnu-emacs@gnu.org; Sat, 04 Oct 2008 14:10:00 -0400 Original-Received: from [199.232.76.173] (port=52400 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmBZn-0005JP-9n for bug-gnu-emacs@gnu.org; Sat, 04 Oct 2008 14:09:59 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:49310) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KmBZm-0006ko-P8 for bug-gnu-emacs@gnu.org; Sat, 04 Oct 2008 14:09:59 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m94I9uuj029830; Sat, 4 Oct 2008 11:09:56 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m94I543D028714; Sat, 4 Oct 2008 11:05:04 -0700 X-Loop: don@donarmstrong.com Resent-From: Markus Triska Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 04 Oct 2008 18:05:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1082 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122314312126722 (code B ref -1); Sat, 04 Oct 2008 18:05:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 4 Oct 2008 17:58:41 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m94HwbqK026716 for ; Sat, 4 Oct 2008 10:58:39 -0700 Original-Received: from mail.gnu.org ([199.232.76.166]:41273 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KmBMY-00045E-II for emacs-pretest-bug@gnu.org; Sat, 04 Oct 2008 13:56:18 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KmBOj-00023R-UK for emacs-pretest-bug@gnu.org; Sat, 04 Oct 2008 13:58:35 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:33851) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KmBOj-00021u-D6 for emacs-pretest-bug@gnu.org; Sat, 04 Oct 2008 13:58:33 -0400 Original-Received: (qmail invoked by alias); 04 Oct 2008 17:58:29 -0000 Original-Received: from chello062178240212.3.14.tuwien.teleweb.at (EHLO mt-computer.local) [62.178.240.212] by mail.gmx.net (mp001) with SMTP; 04 Oct 2008 19:58:29 +0200 X-Authenticated: #4064391 X-Provags-ID: V01U2FsdGVkX19cvTI0KGVcLZMZkweNpe4sAHU6FEeZG2lGzU1hD9 211SVt/3vdkD/7 Original-Received: by mt-computer.local (Postfix, from userid 502) id 6076AB16233; Sat, 4 Oct 2008 19:58:16 +0200 (CEST) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.53 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sat, 04 Oct 2008 14:10:00 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:21103 gmane.emacs.pretest.bugs:23143 Archived-At: 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