[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ediff-windows-wordwise problem
From: |
Kin Cho |
Subject: |
ediff-windows-wordwise problem |
Date: |
20 Sep 2002 19:47:50 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Hi,
I have been using ediff for files and buffers for a long
time and really appreciate how well it works.
Today, I tried ediff on windows for the first time, and it
doesn't work for me :(
My application is to find the difference between two similar
functions in a file. So I opened the file, split the window in
the frame into 2 windows, positioned the windows in the functions
in question, then evaluated this:
(let ((wl (window-list)))
(ediff-windows-wordwise t (car wl) (cadr wl)))
I got this error:
ediff-windows: Wrong type argument: window-live-p, t
I found that ediff-get-next-window called by ediff-windows seems
to have a bug -- it returns t if a window is passed to to it. I
used an ugly defadvice to workaround this problem.
ediff-windows then runs, but it doesn't diff right. It's not
obvious what the problem is so I didn't look into further.
-kin
emacs-version's value is "21.2.1"
- ediff-windows-wordwise problem,
Kin Cho <=