unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "mak kwak" <makwak@wp.pl>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: passing commands to ediff-directories from the elisp function
Date: Wed, 28 Sep 2005 13:45:44 +0200	[thread overview]
Message-ID: <433a826889a97@wp.pl> (raw)


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

             reply	other threads:[~2005-09-28 11:45 UTC|newest]

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

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=433a826889a97@wp.pl \
    --to=makwak@wp.pl \
    --cc=help-gnu-emacs@gnu.org \
    /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).