help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: interaction with "internal" emacs processes.


From: mak kwak
Subject: Re: interaction with "internal" emacs processes.
Date: Fri, 07 Oct 2005 16:19:10 +0200

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 via email to

[Prev in Thread] Current Thread [Next in Thread]