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: passing commands to ediff-directories from the elisp function Date: Wed, 28 Sep 2005 13:45:44 +0200 Organization: Nowa Poczta Wirtualnej Polski S.A. http://www.wp.pl/ Message-ID: <433a826889a97@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 1127912745 15072 80.91.229.2 (28 Sep 2005 13:05:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 28 Sep 2005 13:05:45 +0000 (UTC) Cc: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 28 15:05:33 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EKbas-0002pJ-67 for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Sep 2005 15:03:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EKbar-0004zq-Hh for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Sep 2005 09:03:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EKaPg-0008QW-TF for help-gnu-emacs@gnu.org; Wed, 28 Sep 2005 07:47:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EKaPd-0008Oz-SR for help-gnu-emacs@gnu.org; Wed, 28 Sep 2005 07:47:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EKaPc-0008NL-AH for help-gnu-emacs@gnu.org; Wed, 28 Sep 2005 07:47:48 -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 1EKaNj-0002Yp-Hm for help-gnu-emacs@gnu.org; Wed, 28 Sep 2005 07:45:55 -0400 Original-Received: (wp-smtpd smtp.wp.pl 15409 invoked from network); 28 Sep 2005 13:45:44 +0200 Original-Received: from pop3.wp.pl (HELO localhost) ([212.77.101.166]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with SMTP for ; 28 Sep 2005 13:45:44 +0200 Original-To: Kevin Rodgers 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.500345) 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:29779 Archived-At: That's it! Thanks!!! Dnia 27-09-2005 o godz. 19:31 Kevin Rodgers napisał(a): > mak kwak wrote: > > 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 ? > > (setq unread-command-events (list ?= ?h ?x)) > > -- > Kevin Rodgers > > > > _______________________________________________ > Help-gnu-emacs mailing list > Help-gnu-emacs@gnu.org > http://lists.gnu.org/mailman/listinfo/help-gnu-emacs > ---------------------------------------------------- Natsuo Kirino - "Ostateczne wyjście" Japońskie cacko mrożące krew w żyłach! Świat, w którym człowiek staje się narzędziem zła... Bestseller prosto z Tokio! http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fkjp.html&sid=514