From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: passing commands to ediff-directories from the elisp function
Date: Tue, 27 Sep 2005 11:31:52 -0600 [thread overview]
Message-ID: <dhbvma$mqk$1@sea.gmane.org> (raw)
In-Reply-To: <433937fec7e1d@wp.pl>
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
next prev parent reply other threads:[~2005-09-27 17:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-27 12:15 passing commands to ediff-directories from the elisp function mak kwak
2005-09-27 17:31 ` Kevin Rodgers [this message]
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='dhbvma$mqk$1@sea.gmane.org' \
--to=ihs_4664@yahoo.com \
/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).