all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* ediff-windows-wordwise problem
@ 2002-09-21  2:47 Kin Cho
  0 siblings, 0 replies; 2+ messages in thread
From: Kin Cho @ 2002-09-21  2:47 UTC (permalink / raw)


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"

^ permalink raw reply	[flat|nested] 2+ messages in thread

* ediff-windows-wordwise problem
@ 2002-09-21 20:55 Kin Cho
  0 siblings, 0 replies; 2+ messages in thread
From: Kin Cho @ 2002-09-21 20:55 UTC (permalink / raw)


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.

Now that ediff-windows runs, but it doesn't work right.  It's not
obvious what the problem is so I didn't try further.

-kin

emacs-version's value is "21.2.1"

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-21 20:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-21  2:47 ediff-windows-wordwise problem Kin Cho
  -- strict thread matches above, loose matches on Subject: below --
2002-09-21 20:55 Kin Cho

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.