From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii 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: Sat, 09 Feb 2019 10:23:52 +0200 Message-ID: <83r2chnzdz.fsf@gnu.org> References: <84d0o4zoc9.fsf@gmail.com> <83va1vr41l.fsf@gnu.org> <622e6df3-fb17-cf8a-a166-23fd1549a6c7@yandex.ru> <838syqosyq.fsf@gnu.org> <3ba3acdb-88bf-7fb2-97e0-ff1038df2cde@yandex.ru> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="142504"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 34350@debbugs.gnu.org, monnier@iro.umontreal.ca To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 09 09:25:14 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 1gsNwn-000au6-Os for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Feb 2019 09:25:13 +0100 Original-Received: from localhost ([127.0.0.1]:42537 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsNwm-0003zx-L0 for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Feb 2019 03:25:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58778) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsNwd-0003zq-QM for bug-gnu-emacs@gnu.org; Sat, 09 Feb 2019 03:25:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gsNwd-0003li-5m for bug-gnu-emacs@gnu.org; Sat, 09 Feb 2019 03:25:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41158) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gsNwc-0003ku-5G for bug-gnu-emacs@gnu.org; Sat, 09 Feb 2019 03:25:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gsNwb-0000II-Tf for bug-gnu-emacs@gnu.org; Sat, 09 Feb 2019 03:25:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Feb 2019 08:25:01 +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.15497006631080 (code B ref 34350); Sat, 09 Feb 2019 08:25:01 +0000 Original-Received: (at 34350) by debbugs.gnu.org; 9 Feb 2019 08:24:23 +0000 Original-Received: from localhost ([127.0.0.1]:40439 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsNvz-0000HL-0O for submit@debbugs.gnu.org; Sat, 09 Feb 2019 03:24:23 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44243) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsNvw-0000H8-Cp for 34350@debbugs.gnu.org; Sat, 09 Feb 2019 03:24:21 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:48008) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsNvp-0003Bd-MM; Sat, 09 Feb 2019 03:24:13 -0500 Original-Received: from [176.228.60.248] (port=3330 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gsNvp-0000xv-1G; Sat, 09 Feb 2019 03:24:13 -0500 In-reply-to: <3ba3acdb-88bf-7fb2-97e0-ff1038df2cde@yandex.ru> (message from Dmitry Gutov on Sat, 9 Feb 2019 10:58:38 +0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:155289 Archived-At: > Cc: 34350@debbugs.gnu.org, monnier@iro.umontreal.ca, > vincent.belaiche@gmail.com > From: Dmitry Gutov > Date: Sat, 9 Feb 2019 10:58:38 +0300 > > > coding-system-for-write > > affects both I/O from and to a subprocess and the encoding of the > > command-line arguments we pass to that subprocess. > > Aren't there any programs that expect one encoding for their arguments, > yet output contents in other encodings sometimes? It happens, yes. Which is why by default coding-system-for-write is not bound. When you bind it while invoking a subprocess, you need to know what you are doing. If there's a conflict between the two encodings, there are a couple of ways to deal with that. However, in the case in point, my reading of the code indicates that there's no need to bind coding-system-for-write at all. It seems we do that due to some copy/paste habit more than due to a real need. Let's see if I succeed in convincing you and Stefan.