From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Matthew Mundell Newsgroups: gmane.emacs.devel Subject: Re: y-or-n-p-with-timeout Date: Mon, 08 Nov 2004 19:58:00 +0000 Message-ID: <87fz3kt8on.fsf@sno.mundell.ukfsn.org> References: <87wtwyn8tf.fsf@confusibombus.example.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1099943984 14270 80.91.229.6 (8 Nov 2004 19:59:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 Nov 2004 19:59:44 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 08 20:59:31 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CRFfn-0007u5-00 for ; Mon, 08 Nov 2004 20:59:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CRFo9-0004RL-Nd for ged-emacs-devel@m.gmane.org; Mon, 08 Nov 2004 15:08:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CRFo0-0004PK-Sw for emacs-devel@gnu.org; Mon, 08 Nov 2004 15:08:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CRFnz-0004OO-Rw for emacs-devel@gnu.org; Mon, 08 Nov 2004 15:08:00 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CRFnz-0004O1-Nh for emacs-devel@gnu.org; Mon, 08 Nov 2004 15:07:59 -0500 Original-Received: from [217.158.120.143] (helo=mail.ukfsn.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CRFeR-0003GC-E1 for emacs-devel@gnu.org; Mon, 08 Nov 2004 14:58:07 -0500 Original-Received: from localhost (lucy.ukfsn.org [127.0.0.1]) by mail.ukfsn.org (Postfix) with ESMTP id B1083E6A93; Mon, 8 Nov 2004 19:56:54 +0000 (GMT) Original-Received: from mail.ukfsn.org ([127.0.0.1]) by localhost (lucy.ukfsn.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22241-04; Mon, 8 Nov 2004 19:56:54 +0000 (GMT) Original-Received: from sno.mundell.ukfsn.org (dsl82-163-183-89.as15444.net [82.163.183.89]) by mail.ukfsn.org (Postfix) with ESMTP id 716CFE6A7F; Mon, 8 Nov 2004 19:56:54 +0000 (GMT) Original-Received: from sno.mundell.ukfsn.org ([10.0.0.3]) by sno.mundell.ukfsn.org with esmtp (Exim 3.36 #1 (Debian)) id 1CRFeL-0001Bg-00; Mon, 08 Nov 2004 19:58:01 +0000 Original-To: Alex Schroeder In-Reply-To: <87wtwyn8tf.fsf@confusibombus.example.org> (Alex Schroeder's message of "Sat, 06 Nov 2004 19:14:52 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) 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: main.gmane.org gmane.emacs.devel:29596 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29596 >>>From a usability perspective I don't like these kinds of timeouts. > They might make sense when booting your computer, but when using > Emacs? I can't think of a use-case for y-or-n-p-with-timeout. If > nobody brings up an interesting example, I think we should declare it > obsolete. Type-break mode with fixed-length periods between breaks could use such a function to prompt the user to take a break. That way if the user returns to the machine after an extended period away, then any prompting will, correctly, be gone.