From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kin Cho Newsgroups: gmane.emacs.bugs Subject: ediff-windows-wordwise problem Date: 20 Sep 2002 19:47:50 -0700 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <7in0qc3vop.fsf@neoscale.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1032604557 13090 127.0.0.1 (21 Sep 2002 10:35:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 21 Sep 2002 10:35:57 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17shc7-0003Oi-00 for ; Sat, 21 Sep 2002 12:35:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17shcV-000773-00; Sat, 21 Sep 2002 06:36:15 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17saOo-0005vE-00 for bug-gnu-emacs@prep.ai.mit.edu; Fri, 20 Sep 2002 22:53:38 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17saOl-0005ug-00 for bug-gnu-emacs@prep.ai.mit.edu; Fri, 20 Sep 2002 22:53:37 -0400 Original-Received: from dfw7-1.relay.mail.uu.net ([199.171.54.106]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17saOk-0005tg-00 for bug-gnu-emacs@prep.ai.mit.edu; Fri, 20 Sep 2002 22:53:35 -0400 Original-Received: from mail.fu-berlin.de by dfw7sosrv11.alter.net with ESMTP (peer crosschecked as: mail.fu-berlin.de [160.45.11.165]) id QQnhff01793 for ; Sat, 21 Sep 2002 02:53:44 GMT Original-Received: by mail.fu-berlin.de (Smail3.2.0.98) from Curry.ZEDAT.FU-Berlin.DE (160.45.10.36) with esmtp id ; Sat, 21 Sep 2002 04:53:32 +0200 (MEST) Original-Received: by Curry.ZEDAT.FU-Berlin.DE (Smail3.2.0.98) from news.fu-berlin.de with bsmtp id ; Sat, 21 Sep 2002 04:53:32 +0200 (MEST) Original-To: gnu-emacs-bug@moderators.isc.org Original-Path: 12.24.46.66!not-for-mail Original-Newsgroups: gnu.emacs.help,gnu.emacs.bug Original-Lines: 30 X-Orig-NNTP-Posting-Host: 12.24.46.66 X-Orig-X-Trace: fu-berlin.de 1032576812 6183866 12.24.46.66 (16 [151019]) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:3541 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3541 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"