From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: interaction with "internal" emacs processes.
Date: Thu, 06 Oct 2005 11:56:37 -0600 [thread overview]
Message-ID: <di3ogo$b85$1@sea.gmane.org> (raw)
In-Reply-To: <4345465ee37b0@wp.pl>
mak kwak wrote:
> Example:
> (defun my-cvs-checkout-example ()
> ""
> (call-interactively 'cvs-checkout)
> (message "checking out cvs repository finished") ;;. I want it be run
as cvs-checkout is finished and here it is not.
> )
>
> I expect that sometimes there is a special hook that is run after
> something is finished, but sometimes there is no such hook ( like here
> for example ). I also did not find any `wait' elisp function that
> would wait for other function to be finished.
defadvice.el is exactly for situations where Emacs doesn't provide a
hook:
(defadvice cvs-checkout (after message activate)
"Display a message when finished."
(message "cvs-checkout finished"))
--
Kevin Rodgers
next prev parent reply other threads:[~2005-10-06 17:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-06 15:44 interaction with "internal" emacs processes mak kwak
2005-10-06 16:25 ` Friedrich Laher
2005-10-06 17:56 ` Kevin Rodgers [this message]
[not found] ` <mailman.10118.1128621534.20277.help-gnu-emacs@gnu.org>
2005-10-07 17:06 ` rgb
2005-10-11 15:02 ` Thien-Thi Nguyen
2005-10-11 3:56 ` Stefan Monnier
-- strict thread matches above, loose matches on Subject: below --
2005-10-07 14:19 mak kwak
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='di3ogo$b85$1@sea.gmane.org' \
--to=ihs_4664@yahoo.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.
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).