From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-trunk-diffs] Changes to emacs/src/sysdep.c Date: Tue, 30 Nov 2004 08:08:37 -0500 Message-ID: References: <87hdnb9f4m.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1101820185 3958 80.91.229.6 (30 Nov 2004 13:09:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 30 Nov 2004 13:09:45 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 30 14:09:34 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 1CZ7l7-0005lc-00 for ; Tue, 30 Nov 2004 14:09:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CZ7uZ-0001pk-3G for ged-emacs-devel@m.gmane.org; Tue, 30 Nov 2004 08:19:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CZ7uG-0001pV-Ut for emacs-devel@gnu.org; Tue, 30 Nov 2004 08:19:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CZ7uF-0001oy-TB for emacs-devel@gnu.org; Tue, 30 Nov 2004 08:19:00 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CZ7uF-0001oo-Lt for emacs-devel@gnu.org; Tue, 30 Nov 2004 08:18:59 -0500 Original-Received: from [206.47.199.164] (helo=simmts6-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CZ7kE-0003Zn-FV; Tue, 30 Nov 2004 08:08:38 -0500 Original-Received: from empanada.home ([67.71.25.117]) by simmts6-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20041130130837.BOFP1597.simmts6-srv.bellnexxia.net@empanada.home>; Tue, 30 Nov 2004 08:08:37 -0500 Original-Received: by empanada.home (Postfix, from userid 502) id AAA6138A08A; Tue, 30 Nov 2004 08:08:37 -0500 (EST) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Tue, 30 Nov 2004 02:03:09 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (darwin) 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:30533 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:30533 > BTW, is a 2MB file is currently written with a single call to `write'? > Sometimes it can be, I think; however, in general Fwrite_file can call > `write' many times. However, there was no use of QUIT in and among > them. I see, thanks. > I always felt like there should be a way to force an immediate_quit, not > only is `write'. Maybe by hitting C-g three times in a row or something > like that. > Hitting C-g twice activates the emergency escape, which is even more > drastic than that. However, this feature is only active on ttys. I think what I want is exactly this emergency feature. I.e. it should be active not only in ttys. (and it should ignore inhibit-quit, although I expect it already does). (tho, maybe doing it for just a "double C-g" is excessive, I think it should require a more unusual trigger). > So what do you think of the following idea? >> Maybe we could get the best of both worlds if we set it up so that >> quit can occur inside emacs_write only if it has been sitting there >> for 30 seconds or more since the last data it succeeded in writing. The idea sounds good, assuming you don't mean it to be specific to `write'. Stefan