From: Bill Wohler <wohler@newt.com>
Subject: Sentinel interfering with compile's mode line update
Date: Fri, 02 Dec 2005 11:10:32 -0800 [thread overview]
Message-ID: <20167.1133550632@olgas.newt.com> (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.
next reply other threads:[~2005-12-02 19:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-02 19:10 Bill Wohler [this message]
2005-12-02 21:54 ` Sentinel interfering with compile's mode line update 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20167.1133550632@olgas.newt.com \
--to=wohler@newt.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.