From unknown Fri Aug 15 15:56:38 2025 X-Loop: don@donarmstrong.com Subject: bug#492: messages upon kill-emacs gone before you know it Reply-To: jidanni@jidanni.org, 492@debbugs.gnu.org Resent-From: jidanni@jidanni.org Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 27 Jun 2008 16:15:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 492 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121458273432671 (code B ref -1); Fri, 27 Jun 2008 16:15:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.7 required=4.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 27 Jun 2008 16:05:34 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5RG5R5J032375 for ; Fri, 27 Jun 2008 09:05:28 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KCGRz-0004Xp-A6 for bug-gnu-emacs@gnu.org; Fri, 27 Jun 2008 12:05:27 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KCGRu-0004VV-I2 for bug-gnu-emacs@gnu.org; Fri, 27 Jun 2008 12:05:26 -0400 Received: from [199.232.76.173] (port=37561 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KCGRu-0004VJ-AA for bug-gnu-emacs@gnu.org; Fri, 27 Jun 2008 12:05:22 -0400 Received: from lax-green-bigip-5.dreamhost.com ([208.113.200.5]:56788 helo=blingymail-a2.g.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KCGRt-0000Ei-Vd for bug-gnu-emacs@gnu.org; Fri, 27 Jun 2008 12:05:22 -0400 Received: from jidanni1.jidanni.org (122-127-39-207.dynamic.hinet.net [122.127.39.207]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by blingymail-a2.g.dreamhost.com (Postfix) with ESMTP id 77339414E2; Fri, 27 Jun 2008 09:05:18 -0700 (PDT) To: bug-gnu-emacs@gnu.org Cc: emacs-w3m@namazu.org From: jidanni@jidanni.org Date: Fri, 27 Jun 2008 23:48:23 +0800 Message-ID: <877icahoag.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 1) Gentlemen, today upon exiting emacs I saw there in the minibuffer: "error when ..." or something. But poof, it was gone, as of course emacs then exited, without even enough time to read the rest of the message. Normally one would leisurely view-echo-area-messages, but no, too late for that, emacs was exiting and no trace is left of anything, even if one uses emacs -nw. Got an idea: why not spew any final exit messages straight to the terminal, so they stay on the screen after emacs disappears. For now I'll use ;;else how are we to see final error messages? (add-hook 'kill-emacs-hook '(lambda () (sleep-for 5) ;or (sit-for 5) )) And what if there's two or more messages? Anyway, no I don't enjoy delaying my supposedly busy day for five whole seconds on the slight chance that something inside emacs might have some last words. (Hmmm, kill-emacs-hook is a variable defined in `C source code'. Its value is (w3m-arrived-shutdown (lambda nil (sleep-for 5)) #[nil "\300\301!\207" [server-mode -1] 2]) So it was probably some w3m-arrived-shutdown error messages that went by so fast that they were gone before one could read them. But still, not being able to read any final error messages is a general problem. And one cannot expect every possible message in emacs to come with a sit-for...) From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 09 19:00:43 2011 Received: (at control) by debbugs.gnu.org; 9 Jul 2011 23:00:44 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QfgVv-0002ZW-6l for submit@debbugs.gnu.org; Sat, 09 Jul 2011 19:00:43 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QfgVt-0002WV-QN for control@debbugs.gnu.org; Sat, 09 Jul 2011 19:00:42 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1QfgVo-0002As-GT for control@debbugs.gnu.org; Sat, 09 Jul 2011 19:00:36 -0400 Date: Sat, 09 Jul 2011 19:00:36 -0400 Message-Id: Subject: control message for bug 492 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) forcemerge 1411 492