From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#1183: 23.0.60; ediff-buffers is broken Date: Sat, 18 Oct 2008 22:21:39 -0400 Message-ID: References: <00a101c92fbf$998d19b0$c2b22382@us.oracle.com> <00eb01c92fd0$1be49cc0$c2b22382@us.oracle.com> Reply-To: Stefan Monnier , 1183@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1224384610 29785 80.91.229.12 (19 Oct 2008 02:50:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 Oct 2008 02:50:10 +0000 (UTC) Cc: 1183@emacsbugs.donarmstrong.com, bug-gnu-emacs@gnu.org, kifer@cs.stonybrook.edu, Kenichi Handa To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 19 04:51:16 2008 connect(): Connection refused Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KrONu-0005mR-Cc for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Oct 2008 04:51:14 +0200 Original-Received: from localhost ([127.0.0.1]:43825 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KrOMp-0001cf-B0 for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Oct 2008 22:50:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KrOMl-0001cN-Lg for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2008 22:50:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KrOMl-0001c5-Ae for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2008 22:50:03 -0400 Original-Received: from [199.232.76.173] (port=50064 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KrOMl-0001c1-2S for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2008 22:50:03 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:54774) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KrOMk-0000Ag-Jv for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2008 22:50:02 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9J2o0iM017995; Sat, 18 Oct 2008 19:50:00 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m9J2U35B013194; Sat, 18 Oct 2008 19:30:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 19 Oct 2008 02:30:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1183 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122438290511840 (code B ref -1); Sun, 19 Oct 2008 02:30:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 19 Oct 2008 02:21:45 +0000 Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9J2LgeC011833 for ; Sat, 18 Oct 2008 19:21:43 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KrNvK-0003hi-Bo for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2008 22:21:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KrNvK-0003hW-0P for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2008 22:21:42 -0400 Original-Received: from [199.232.76.173] (port=60850 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KrNvJ-0003hT-RQ for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2008 22:21:41 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:61143 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KrNvI-00065Y-Rt; Sat, 18 Oct 2008 22:21:40 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiUFAPM1+khMCpQ6/2dsb2JhbACBcr8Gg2yBCg X-IronPort-AV: E=Sophos;i="4.33,441,1220241600"; d="scan'208";a="28565353" Original-Received: from 76-10-148-58.dsl.teksavvy.com (HELO pastel.home) ([76.10.148.58]) by ironport2-out.teksavvy.com with ESMTP; 18 Oct 2008 22:21:40 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 1D4F17F20; Sat, 18 Oct 2008 22:21:39 -0400 (EDT) In-Reply-To: (Eli Zaretskii's message of "Fri, 17 Oct 2008 20:34:27 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sat, 18 Oct 2008 22:50:03 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:21666 Archived-At: > Suppose we write the temp files with utf-8-emacs-unix encoding--won't > that bite us when the output from Diff is then read with raw-text (see > ediff-exec-process)? Yes, tho not much worse than what we have now (where we write in utf-8/latin-1/younameit and read it back as raw-text aka binary). I.e. it's not a new problem. >> > But first, we should decide whether we want such buffers to compare >> > equal or not. >> I believe we do, because it's called ediff-buffers. There's ediff-files >> for when you want to compare the files. > Don't you think having direct file comparison yield results that are > different from comparing buffers that visit those same files will be > confusing? Yes. But I don't know of any better alternative. Your suggestion to emit a warning about the different encoding should hopefully make things more clear. Stefan