From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "mak kwak" Newsgroups: gmane.emacs.help Subject: Re: interaction with "internal" emacs processes. Date: Fri, 07 Oct 2005 16:19:10 +0200 Organization: Nowa Poczta Wirtualnej Polski S.A. http://www.wp.pl/ Message-ID: <434683ded27e1@wp.pl> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1128694849 18814 80.91.229.2 (7 Oct 2005 14:20:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 7 Oct 2005 14:20:49 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 07 16:20:43 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ENt4N-0000Bo-Pw for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Oct 2005 16:19:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ENt4M-0000ME-NH for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Oct 2005 10:19:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ENt48-0000Ko-Dk for help-gnu-emacs@gnu.org; Fri, 07 Oct 2005 10:19:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ENt46-0000Im-Cy for help-gnu-emacs@gnu.org; Fri, 07 Oct 2005 10:19:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ENt46-0000IY-6n for help-gnu-emacs@gnu.org; Fri, 07 Oct 2005 10:19:14 -0400 Original-Received: from [212.77.101.1] (helo=smtp.wp.pl) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1ENt46-0002jc-3g for help-gnu-emacs@gnu.org; Fri, 07 Oct 2005 10:19:14 -0400 Original-Received: (wp-smtpd smtp.wp.pl 17434 invoked from network); 7 Oct 2005 16:19:11 +0200 Original-Received: from pop3.wp.pl (HELO localhost) ([212.77.101.166]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with SMTP for ; 7 Oct 2005 16:19:11 +0200 Original-To: help-gnu-emacs Content-Disposition: inline X-Mailer: Interfejs WWW nowej poczty Wirtualnej Polski X-User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050720 Fedora/1.0.6-1.1.fc3 Firefox/1.0.6 X-IP: 195.137.231.42, 172.17.47.153, 172.17.47.10, 172.16.16.115 X-WP-AV: skaner antywirusowy poczty Wirtualnej Polski S. A. X-WP-SPAM: NO AS1=NO AS2=NO(0.500167) AS3=NO AS4=NO X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:30026 Archived-At: 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