From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bill Wohler Newsgroups: gmane.emacs.devel Subject: Sentinel interfering with compile's mode line update Date: Fri, 02 Dec 2005 11:10:32 -0800 Organization: Newt Software Message-ID: <20167.1133550632@olgas.newt.com> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1133550746 6209 80.91.229.2 (2 Dec 2005 19:12:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Dec 2005 19:12:26 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 02 20:12:16 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EiGJ9-0002ih-3s for ged-emacs-devel@m.gmane.org; Fri, 02 Dec 2005 20:10:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EiGJ8-0007xj-GZ for ged-emacs-devel@m.gmane.org; Fri, 02 Dec 2005 14:10:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EiGIt-0007uQ-Ot for emacs-devel@gnu.org; Fri, 02 Dec 2005 14:10:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EiGIq-0007rv-5S for emacs-devel@gnu.org; Fri, 02 Dec 2005 14:10:43 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EiGIq-0007rn-1E for emacs-devel@gnu.org; Fri, 02 Dec 2005 14:10:40 -0500 Original-Received: from [69.93.192.76] (helo=tassie.newt.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EiGIr-0003Jc-7i for emacs-devel@gnu.org; Fri, 02 Dec 2005 14:10:41 -0500 Original-Received: from olgas.newt.com (m110e36d0.tmodns.net [208.54.14.17]) by tassie.newt.com (Postfix) with ESMTP id D98BD2D4012 for ; Fri, 2 Dec 2005 11:10:36 -0800 (PST) Original-Received: by olgas.newt.com (Postfix, from userid 1000) id A0B4C16FD8; Fri, 2 Dec 2005 11:10:32 -0800 (PST) Original-Received: from olgas.newt.com (localhost [127.0.0.1]) by olgas.newt.com (Postfix) with ESMTP id 9B5E416FAE for ; Fri, 2 Dec 2005 11:10:32 -0800 (PST) Original-To: emacs-devel@gnu.org X-Mailer: MH-E 7.85+cvs; nmh 1.1; GNU Emacs 22.0.50.1 X-Image-URL: http://www.newt.com/wohler/images/bill-diving.png 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:46900 Archived-At: I wrote a function to compile the MH-E manual and to start info when the compilation finishes. As you all know, when (compile) runs, it adds "Compiling" to all of the mode lines. When the compilation finishes, this text is removed. However, with the set-process-sentinel line in the function below, the "Compiling" text is never removed from the mode line. Is this a bug in compile, set-process-sentinel, or in my code? I've replaced my function with "yow" to simplify the recipe. Run this from the *scratch* buffer to reproduce. You don't need a Makefile. (defun bw-mh-info-recompile () "Compile and display MH-E manual." (interactive) (compile "make") (set-process-sentinel (get-process "compilation") 'yow)) (Updated from CVS yesterday.) -- Bill Wohler http://www.newt.com/wohler/ GnuPG ID:610BD9AD Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian! If you're passed on the right, you're in the wrong lane.