From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#34350: 27.0.50; ediff-revision broken with SVN backend + non ascii chars both in directory and in filename Date: Fri, 08 Feb 2019 11:08:36 -0500 Message-ID: References: <84d0o4zoc9.fsf@gmail.com> <83va1vr41l.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="200386"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Dmitry Gutov , 34350@debbugs.gnu.org, vincent.belaiche@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 08 17:09:20 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gs8iO-000q2D-4k for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Feb 2019 17:09:20 +0100 Original-Received: from localhost ([127.0.0.1]:58872 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gs8iN-000051-40 for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Feb 2019 11:09:19 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60462) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gs8iE-0008SD-6u for bug-gnu-emacs@gnu.org; Fri, 08 Feb 2019 11:09:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gs8i9-0006Pi-P2 for bug-gnu-emacs@gnu.org; Fri, 08 Feb 2019 11:09:08 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40783) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gs8i6-0006Ng-PP for bug-gnu-emacs@gnu.org; Fri, 08 Feb 2019 11:09:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gs8i6-0001S4-Au for bug-gnu-emacs@gnu.org; Fri, 08 Feb 2019 11:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Feb 2019 16:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34350 X-GNU-PR-Package: emacs Original-Received: via spool by 34350-submit@debbugs.gnu.org id=B34350.15496421275553 (code B ref 34350); Fri, 08 Feb 2019 16:09:02 +0000 Original-Received: (at 34350) by debbugs.gnu.org; 8 Feb 2019 16:08:47 +0000 Original-Received: from localhost ([127.0.0.1]:40064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gs8ho-0001RT-Oa for submit@debbugs.gnu.org; Fri, 08 Feb 2019 11:08:47 -0500 Original-Received: from pmta31.teksavvy.com ([76.10.157.38]:4508) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gs8hl-0001RE-UL for 34350@debbugs.gnu.org; Fri, 08 Feb 2019 11:08:43 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2FuAACPqF1c/1gXWKdjGgEBAQEBAgEBAQEHAgEBAQGBZYIEgWqYNIINE5l6DYRsAoMsIjgSAQMBAQEBAQECAgJpKIVMAQQBeQULCw0nBwsUGDGFMQisMhoCihaMQxeBf4Qjij8iApE+hW2LbAmSZIFtiE4mAw+HZ4dJlGiBXSKBVjMaCDCDKIIkGhOOKSSPVAEB X-IPAS-Result: A2FuAACPqF1c/1gXWKdjGgEBAQEBAgEBAQEHAgEBAQGBZYIEgWqYNIINE5l6DYRsAoMsIjgSAQMBAQEBAQECAgJpKIVMAQQBeQULCw0nBwsUGDGFMQisMhoCihaMQxeBf4Qjij8iApE+hW2LbAmSZIFtiE4mAw+HZ4dJlGiBXSKBVjMaCDCDKIIkGhOOKSSPVAEB X-IronPort-AV: E=Sophos;i="5.58,348,1544504400"; d="scan'208";a="69232417" Original-Received: from unknown (HELO fmsmemgm.homelinux.net) ([167.88.23.88]) by smtp.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Feb 2019 11:08:36 -0500 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 1013FAEDAA; Fri, 8 Feb 2019 11:08:36 -0500 (EST) In-Reply-To: <83va1vr41l.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 07 Feb 2019 17:50:30 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:155265 Archived-At: > I think there's a real mess regarding encoding and decoding stuff in > vc-find-revision and its backend implementations. I can believe it. I think intuitively, in terms of encoding for the file's contents the backends should always return a byte-sequence (i.e. with no-conversion) and the front-end should then decide how to decode it (e.g., obeying the -*- coding -*- cookie and such). But since that holds for all backends, ideally they should be called in such a way that they automatically return bytes (rather than chars) without any extra effort (e.g. without manually binding coding-system-for-read/write). Stefan