unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Sentinel interfering with compile's mode line update
@ 2005-12-02 19:10 Bill Wohler
  2005-12-02 21:54 ` Stefan Monnier
       [not found] ` <4390DAA6.70108@yahoo.com>
  0 siblings, 2 replies; 8+ messages in thread
From: Bill Wohler @ 2005-12-02 19:10 UTC (permalink / raw)


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 <wohler@newt.com>  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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-12-03 12:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-02 19:10 Sentinel interfering with compile's mode line update Bill Wohler
2005-12-02 21:54 ` Stefan Monnier
2005-12-02 22:56   ` Bill Wohler
     [not found] ` <4390DAA6.70108@yahoo.com>
2005-12-02 23:56   ` Bill Wohler
2005-12-03  1:31     ` Stefan Monnier
2005-12-03  1:49       ` Bill Wohler
2005-12-03  9:26       ` Eli Zaretskii
2005-12-03 12:33         ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).