From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Fix tramp test Date: Sun, 22 Feb 2015 19:10:44 +0200 Message-ID: <834mqddg8b.fsf@gnu.org> References: <54E9CAA6.8010205@cumego.com> <871tlighi6.fsf@gmx.de> <837fvac4wj.fsf@gnu.org> <87wq39gbh1.fsf@gmx.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1424625088 19962 80.91.229.3 (22 Feb 2015 17:11:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Feb 2015 17:11:28 +0000 (UTC) Cc: esperanto@cumego.com, emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 22 18:11:21 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YPa3r-0000aR-6I for ged-emacs-devel@m.gmane.org; Sun, 22 Feb 2015 18:11:19 +0100 Original-Received: from localhost ([::1]:40696 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPa3q-0007Bh-In for ged-emacs-devel@m.gmane.org; Sun, 22 Feb 2015 12:11:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40118) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPa3J-0006Ug-WC for emacs-devel@gnu.org; Sun, 22 Feb 2015 12:10:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YPa3G-0001Px-LK for emacs-devel@gnu.org; Sun, 22 Feb 2015 12:10:45 -0500 Original-Received: from mtaout27.012.net.il ([80.179.55.183]:38434) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPa3G-0001Pr-DA for emacs-devel@gnu.org; Sun, 22 Feb 2015 12:10:42 -0500 Original-Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NK600700NBSE500@mtaout27.012.net.il> for emacs-devel@gnu.org; Sun, 22 Feb 2015 19:05:16 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NK600OJZNGR9Z80@mtaout27.012.net.il>; Sun, 22 Feb 2015 19:05:15 +0200 (IST) In-reply-to: <87wq39gbh1.fsf@gmx.de> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.183 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:183390 Archived-At: > From: Michael Albinus > Cc: esperanto@cumego.com, emacs-devel@gnu.org > Date: Sun, 22 Feb 2015 17:25:14 +0100 > > Eli Zaretskii writes: > > >> Better might be "\\([[:alpha:]]+[[:blank:]]+[[:digit:]]+\n\\)?" > > > > IMO, [:alpha:] is too indiscreet: it will match almost anything, > > except in pure ASCII range. Including some error message, for > > example. > > > > So I think it would be much better to keep the literal "total", and > > instead set LC_MESSAGES=en_US.UTF-8, or something similar. > > Tramp sets LC_ALL to "en_US.utf8", "C.utf8", or "C". In this order, > whatever is available on the remote system. But a user is free to Not sure what scenario are we talking about here. Do you mean that Tramp sets LC_ALL, but the user overrides that with LC_MESSAGES? Or do you mean that you want to cater to users who have neither en_US.utf8 nor C.utf8 installed? In any case, I meant to set that as part of the test in question, not in general.