unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "mak kwak" <makwak@wp.pl>
Subject: passing commands to ediff-directories from the elisp function
Date: Tue, 27 Sep 2005 14:15:58 +0200	[thread overview]
Message-ID: <433937fec7e1d@wp.pl> (raw)

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

             reply	other threads:[~2005-09-27 12:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-27 12:15 mak kwak [this message]
2005-09-27 17:31 ` passing commands to ediff-directories from the elisp function Kevin Rodgers
2005-09-27 20:58 ` Kevin Rodgers
  -- strict thread matches above, loose matches on Subject: below --
2005-09-28 11:45 mak kwak

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=433937fec7e1d@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).