unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "mak kwak" <makwak@wp.pl>
Subject: Re: interaction with "internal" emacs processes.
Date: Fri, 07 Oct 2005 16:19:10 +0200	[thread overview]
Message-ID: <434683ded27e1@wp.pl> (raw)


Thank You Friedrich and Kevin for response.
I will go that way.
Greetings.

Dnia 6-10-2005 o godz. 19:56 Kevin Rodgers napisał(a):
> 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
> 
> 
> 
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
> 

----------------------------------------------------
Zapraszamy na sesję naukową "Społeczeństwo
obywatelskie - nowe imię solidarności" 8 października w Gdańsku.
http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fsesja.html&sid=526

             reply	other threads:[~2005-10-07 14:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-07 14:19 mak kwak [this message]
  -- strict thread matches above, loose matches on Subject: below --
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
     [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

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=434683ded27e1@wp.pl \
    --to=makwak@wp.pl \
    /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).