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: passing commands to ediff-directories from the elisp function Date: Tue, 27 Sep 2005 14:15:58 +0200 Organization: Nowa Poczta Wirtualnej Polski S.A. http://www.wp.pl/ Message-ID: <433937fec7e1d@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 1127828859 8881 80.91.229.2 (27 Sep 2005 13:47:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Sep 2005 13:47:39 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 27 15:47:37 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EKFl4-0005hv-Sp for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Sep 2005 15:44:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EKFl4-0008Ce-Ez for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Sep 2005 09:44:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EKEu7-0005Ea-QC for help-gnu-emacs@gnu.org; Tue, 27 Sep 2005 08:49:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EKEtw-0005BM-IJ for help-gnu-emacs@gnu.org; Tue, 27 Sep 2005 08:49:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EKEgL-0002ND-6J for help-gnu-emacs@gnu.org; Tue, 27 Sep 2005 08:35:37 -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 1EKETw-0006CH-2p for help-gnu-emacs@gnu.org; Tue, 27 Sep 2005 08:22:48 -0400 Original-Received: (wp-smtpd smtp.wp.pl 3805 invoked from network); 27 Sep 2005 14:15:59 +0200 Original-Received: from pop3.wp.pl (HELO localhost) ([212.77.101.166]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with SMTP for ; 27 Sep 2005 14:15:59 +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.500008) 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:29743 Archived-At: Hello I trying to write a method that will run ediff-directories comand for my two directories, then will mark all equal files for hiding (=h) and will hide them (x). I did the following: (defun compare-my-dirs (dir1 dir2) "compares two directories" (ediff-directories dir1 dir2) (switch-to-buffer "*Ediff Session Group Panel*") ;; success, switches to that buffer. (insert "=h") ;; !!!! neither does not mark equal files for hiding.. (insert "x")) ;; !!!! ..nor hides them. My question is, how can I pass my commands to *`Ediff Session Group Panel*' from elisp function ? Greetings ---------------------------------------------------- SIN CITY - Miasto Grzechu. Najnowszy film Rodrigueza i Tarantino w wypożyczalniach DVD i wideo! http://klik.wp.pl/?adr=www.film.wp.pl%2Ffilm.html%3Fid%3D24839%26h%3D1&sid=516