From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Colin Baxter Newsgroups: gmane.emacs.devel Subject: Re: FAILED tramp-test34-utf8 Date: Thu, 30 Mar 2017 18:19:08 +0100 Message-ID: <87h92awulv.fsf@yandex.com> References: <87lgrpe8ig.fsf@yandex.com> <8760itgtwi.fsf@detlef> <8737dwpje6.fsf@yandex.com> <87shlwl3j7.fsf@detlef> <8760irvpli.fsf@yandex.com> <87tw6ag4ps.fsf@detlef> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1490894377 27084 195.159.176.226 (30 Mar 2017 17:19:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 30 Mar 2017 17:19:37 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: , emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 30 19:19:28 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ctdjG-0005Na-4u for ged-emacs-devel@m.gmane.org; Thu, 30 Mar 2017 19:19:22 +0200 Original-Received: from localhost ([::1]:36873 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ctdjL-0008MB-ML for ged-emacs-devel@m.gmane.org; Thu, 30 Mar 2017 13:19:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56359) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ctdjF-0008M2-KZ for emacs-devel@gnu.org; Thu, 30 Mar 2017 13:19:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ctdjB-0004az-IX for emacs-devel@gnu.org; Thu, 30 Mar 2017 13:19:21 -0400 Original-Received: from forward5j.cmail.yandex.net ([5.255.227.23]:42560) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ctdjB-0004Zl-2e for emacs-devel@gnu.org; Thu, 30 Mar 2017 13:19:17 -0400 Original-Received: from smtp3j.mail.yandex.net (smtp3j.mail.yandex.net [95.108.130.68]) by forward5j.cmail.yandex.net (Yandex) with ESMTP id 4201620BD2; Thu, 30 Mar 2017 20:19:13 +0300 (MSK) Original-Received: from smtp3j.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp3j.mail.yandex.net (Yandex) with ESMTP id B70826240E89; Thu, 30 Mar 2017 20:19:11 +0300 (MSK) Original-Received: by smtp3j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id TBapWTzlvK-JAvWt98O; Thu, 30 Mar 2017 20:19:10 +0300 (using TLSv1.2 with cipher AES128-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1490894350; bh=3G6k/LjYDawpc8qEkarCrRL5o+905fOULwY1V1yv6w0=; h=From:To:Cc:Cc:Subject:References:Date:In-Reply-To:Message-ID; b=N2jAPV8Ls37l4QQwPz2vzMAP1h9Rf8uxdi92xnC8uNe8pL9s5Mi+ud6Re+45qKELn 1/QyPJy8ucHd5REdgYoyhiWyZYa+uAMtObITWUTkU1FDVxYlh2d5O0M4WpW61B2sTO H40YfCFvkB/9U2YV/LeKlaSLrkIWTS4xjPJnMLJ0= Authentication-Results: smtp3j.mail.yandex.net; dkim=pass header.i=@yandex.com X-Yandex-Suid-Status: 1 0,1 0 In-Reply-To: <87tw6ag4ps.fsf@detlef> (Michael Albinus's message of "Thu, 30 Mar 2017 17:32:47 +0200") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAAAFz UkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAxQ TFRF8d8Gwx4p07Wi////YneHdQAAAAFiS0dEAxEMTPIAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAFZ SURBVCjPZZLBasJAEIYnEgveVoiheuyhoE+RQh/AihPMnnrohsan8NAHsOAG9CRiSrNP2X8mpj10 TvPxz+7M/rNEiOFmcqU+tnV56POo+gpVdoM7b729wThlxOFZIS4UTKdIzm+Jgpkr3Es+Yi1j9wpI g+Z1vQdU7KzPG0jo6Ji3YQuwRAPPHBDMRUZDz1ag4TzDLKhSsDsauA5aUR4bPQIo9jTlTgls9zTz UC5a9k5zXtvw+QDgKxXSJhlLI4dp8hAoFtiQA3xnsTQqUIYBnswCUOICgCFRDpTKmTgROFPkpWwV gs+XFBVQLiPAEU/onoOrV4ZM3cOLoWTaTy2eFv17HDyFIVZyXpPCLIQrDFHfRPEypyq5QgWYiM+t WA9YcBf5WZbYGZ+XYnxUeoVWt1p52ZDtlj9ueO24Xzc6Hbm9/YNTqNNT/0VSl3y45e/niQzt/iCj f/EDBae52Zd5lNIAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTctMDItMjFUMTU6MjI6MTgrMDA6MDAy vBNIAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE3LTAyLTIxVDE1OjIyOjE4KzAwOjAwQ+Gr9AAAABF0 RVh0anBlZzpjb2xvcnNwYWNlADIsdVWfAAAAIHRFWHRqcGVnOnNhbXBsaW5nLWZhY3RvcgAxeDEs MXgxLDF4MemV/HAAAAAASUVORK5CYII= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 5.255.227.23 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:213529 Archived-At: Dear Michael, On Thu, Mar 30 2017, Michael Albinus wrote: > Colin Baxter writes: > >> Dear Michael, > > Hi Colin, > >> Here is the tramp-tests.log as an attachment. I haven't yet learnt how >> to attached a file in a gnus mail buffer as a folded line. I hope it >> helps. > > Thanks for this. An attachment is perfect, because the file contains > non-ascii chars. > > And indeed, I found the problem: > >> 20:12:06.761824 tramp-send-command (6) # locale -a >> 20:12:06.795357 tramp-wait-for-regexp (6) # >> C >> C.UTF-8 >> POSIX >> en_GB.utf8 > > Tramp checks, which locales do exist on your remote machine. This are > just C, C.UTF-8, POSIX and en_GB.utf8. Not so many. > >> 20:12:06.795610 tramp-set-connection-property (7) # locale LC_ALL=C > > Internally, Tramp keeps a list of acceptable locales. This list contains > en_US.utf8, C.utf8 and en_US.UTF-8. None of them matches the available > locales, Tramp decides to use locale C as last resort. And this let the > utf8 specific test fail. > > I've added C.UTF-8 to the list of acceptable locales. This shall be > sufficient, at least in your case (and in many other cases as > well). Committed to the master branch; please pull it and check again. > Success. I re-pulled emacs and ran 'make check' again. According to the tramp-tests.log, all 31 tests passed as expected. And thank you for the interesting information about locales. Best wishes, Colin.