From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Making while interruptable Date: Tue, 7 Jul 2009 02:17:49 +0200 Message-ID: References: <87skh9sa9u.fsf@catnip.gol.com> <878wj1s897.fsf@catnip.gol.com> <873a99s6rh.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1246925890 7781 80.91.229.12 (7 Jul 2009 00:18:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Jul 2009 00:18:10 +0000 (UTC) Cc: Emacs-Devel devel To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 07 02:18:03 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 1MNyNl-0000z0-Bv for ged-emacs-devel@m.gmane.org; Tue, 07 Jul 2009 02:18:01 +0200 Original-Received: from localhost ([127.0.0.1]:33306 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MNyNk-0003AY-CD for ged-emacs-devel@m.gmane.org; Mon, 06 Jul 2009 20:18:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MNyNg-0003AM-W6 for emacs-devel@gnu.org; Mon, 06 Jul 2009 20:17:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MNyNb-0003A1-SQ for emacs-devel@gnu.org; Mon, 06 Jul 2009 20:17:55 -0400 Original-Received: from [199.232.76.173] (port=52925 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MNyNb-00039y-Ly for emacs-devel@gnu.org; Mon, 06 Jul 2009 20:17:51 -0400 Original-Received: from mail-bw0-f228.google.com ([209.85.218.228]:52685) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MNyNa-0005uC-CR; Mon, 06 Jul 2009 20:17:50 -0400 Original-Received: by bwz28 with SMTP id 28so1280884bwz.42 for ; Mon, 06 Jul 2009 17:17:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=d03md3EmlJzK0fsFOeOy/VEKVrGQ/N8t9VEOQL0DySY=; b=N/VDlmfvfkWYZMc+fEcLaHFiQabvhuS+wlhQ3UnH76OjfIWhTyQCjrRdqxO49KLyvC D7xfceT9D+YW9SitAgBFw5UtwluMDxU6vBv7oDX19g0Y2ar467hW0eNPgaHEQ+GfaL4X uu5jBXK5ilUzNSHcgnoC9Bn9/Cw+yi35rW1cA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=h9b8UM+u2q5O1gfM5eQ/fjqbSneepk50Cl3svkrNtAFGDE0JGWkquNGUVMt8xEaggC g5NQTyUeDdgLeXMrSJUx0NhWckc7ftPZPFu6iIwSCFgPAK8ZOsW9F0v+k7hqLs8OUo/r /lczhhqUyJ6wHhIsZb0hoB1AeyeqzzQygzh4Q= Original-Received: by 10.239.167.10 with SMTP id d10mr410202hbe.118.1246925869093; Mon, 06 Jul 2009 17:17:49 -0700 (PDT) In-Reply-To: <873a99s6rh.fsf@catnip.gol.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:112112 Archived-At: On Tue, Jul 7, 2009 at 1:58 AM, Miles Bader wrote: > Lennart Borgman writes: >> However this mechanism would just be used only for code that you are >> running in a timer - in cases where the code does not explicitly >> handle pending input. Of course, changing that code is better, but you >> can not always do that. > > Nonetheless, the cure seems far worse than the disease. I am just trying to be modern. Modern so called scientific medicin prefers this type of cure. It is good for the economy and therefore by definition good. Sigh. Or maybe I have just got too much bad influences (reading to much incredibly bad peer reviewed medical articles with good reputation). Or perhaps I am just looking for an excuse that is not worse than those I have seen in other places. At least I did not hurt anyone with my suggestion. Ok. You convinced me that this is not the road forward. > People writing > timers need to be very careful. =C2=A0If there are important functions ti= mers > need to call which should be extended to handle user input differently, > then fix those functions, or file a bug, or whatever. =C2=A0[An implicit > mechanism like you suggest might seem "easier" but it would most likely > not actually work correctly in many cases.] > > -Miles > > -- > Electricity, n. The cause of all natural phenomena not known to be caused= by > something else. >