>>>> "MK" == Michael Kifer
<kifer(a)cs.sunysb.edu> writes: 
> (lambda ()
> (let ((last-command-char ?h))
> (ediff-meta-mark-equal-files)
> (ediff-hide-marked-sessions nil)))
> 
> And don't ask why the
> (let ((last-command-char ?h))
> binding is necessary :-)
> 
> Michael, is there a better way to do this?
> 
> My solution looks a bit tricky (I mean the last-command-char hack) to
> me. 
    MK> Adrian, thanks for the patch.
    MK> Regarding the above question, I guess I could add an optional
    MK> argument to make it more palatable to use this function.  I
    MK> didn't make it the default because it can take a lot of time
    MK> to run diff on large directories with large files.
Hi Michael, hi All, Happy new year to you!
I am glad to confirm that the latest XEmacs ediff package works fine
with
`ediff-after-session-group-setup-hook' (buffer: .emacs-i586-pc-win32, mode:
Emacs-Lisp)
Customizable user variable:
  value: see below
  *Hooks run just after a meta-buffer controlling a session group, such as
  ediff-directories, is run.
  value: 
  ((lambda nil
     (ediff-meta-mark-equal-files ?h)
     (ediff-hide-marked-sessions nil)))
Another thing:
I wish I could use
= e runs the command dired-ediff
on two directories to run `ediff-directories' automatically.
I realize this particular thing is a dired/ediff integration issue.
Pushing my point farther, wouldn't it be useful for ediff to simplify
its interface to invoke `ediff-files' or `ediff-directories' depending
on the arguments provided?
Is this perhaps even possible already and I just missed this?
How about:
ediff-??? DIR1 FILE2
runs (ediff-files DIR1/FILE2 FILE2)
ediff-??? DIR1 DIR2
runs (ediff-directories DIR1 DIR2)
ediff-??? FILE1 DIR2
runs (ediff-files FILE1 DIR2/FILE1)
Is this too DWIMy for you?
Best regards,
Adrian
    MK> 	--michael  
-- 
Adrian Aichner
 mailto:adrianï¼ xemacs.org
 
http://www.xemacs.org/