unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Kin Cho <kin@neoscale.com>
Subject: ediff-windows-wordwise problem
Date: 20 Sep 2002 19:47:50 -0700	[thread overview]
Message-ID: <7in0qc3vop.fsf@neoscale.com> (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"

             reply	other threads:[~2002-09-21  2:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-21  2:47 Kin Cho [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-09-21 20:55 ediff-windows-wordwise problem Kin Cho

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=7in0qc3vop.fsf@neoscale.com \
    --to=kin@neoscale.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.
Code repositories for project(s) associated with this public inbox

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

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).