From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Making while interruptable Date: Tue, 07 Jul 2009 07:43:09 +0900 Message-ID: <87skh9sa9u.fsf@catnip.gol.com> References: Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1246920215 27126 80.91.229.12 (6 Jul 2009 22:43:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 6 Jul 2009 22:43:35 +0000 (UTC) Cc: Emacs-Devel devel To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 07 00:43:28 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MNwuD-0004Ql-BY for ged-emacs-devel@m.gmane.org; Tue, 07 Jul 2009 00:43:25 +0200 Original-Received: from localhost ([127.0.0.1]:39140 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MNwuC-00007d-S2 for ged-emacs-devel@m.gmane.org; Mon, 06 Jul 2009 18:43:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MNwu7-00007Y-OJ for emacs-devel@gnu.org; Mon, 06 Jul 2009 18:43:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MNwu2-00006b-91 for emacs-devel@gnu.org; Mon, 06 Jul 2009 18:43:18 -0400 Original-Received: from [199.232.76.173] (port=41848 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MNwu2-00006V-6H for emacs-devel@gnu.org; Mon, 06 Jul 2009 18:43:14 -0400 Original-Received: from smtp12.dentaku.gol.com ([203.216.5.74]:34071) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MNwu0-0001Pb-8o; Mon, 06 Jul 2009 18:43:12 -0400 Original-Received: from 218.33.237.150.eo.eaccess.ne.jp ([218.33.237.150] helo=catnip.gol.com) by smtp12.dentaku.gol.com with esmtpa (Dentaku) id 1MNwty-0001DE-3k; Tue, 07 Jul 2009 07:43:10 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id 73B8FDF32; Tue, 7 Jul 2009 07:43:09 +0900 (JST) System-Type: x86_64-unknown-linux-gnu In-Reply-To: (Lennart Borgman's message of "Mon, 6 Jul 2009 21:40:44 +0200") Original-Lines: 15 X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:112107 Archived-At: Lennart Borgman writes: > The idea is that the user with some let bound variable can control how > every call to `while' handles pending input. If pending input is > detected then `while' will throw to a catch symbol that is let bound > by the user. This is very, very, bad. It _will_ screw up lots of code in hard to debug and confusing ways. Using a dedicated form like `while-no-input' is proper thing to do. -Miles -- My spirit felt washed. With blood. [Eli Shin, on "The Passion of the Christ"]