GNU bug report logs - #23812
25.0.95; Minor glitch in dired listing due to non English host language

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Lele Gaifax <lele@HIDDEN>; dated Tue, 21 Jun 2016 08:33:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 23812 <at> debbugs.gnu.org:


Received: (at 23812) by debbugs.gnu.org; 17 Dec 2020 11:20:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 17 06:20:26 2020
Received: from localhost ([127.0.0.1]:34835 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kprKc-0000ux-8y
	for submit <at> debbugs.gnu.org; Thu, 17 Dec 2020 06:20:26 -0500
Received: from quimby.gnus.org ([95.216.78.240]:50642)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1kprKX-0000uc-F8
 for 23812 <at> debbugs.gnu.org; Thu, 17 Dec 2020 06:20:25 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=e/F7mZTRbBAVt66RZAJUjBQC5/P+oeKIy/Qq156jbdU=; b=D2uuYXKt/1qhrpvzvm+9jRPCAb
 aBPUahopLArXIM0GjCWEqTM/zHdJPrAwoN8I6BClO5VDZXnbCzVNZc8a22YVsgGDvxBd27mt6zQP7
 fHyCfxdBVNyElzBVsGisY1brYfrG6y8xHYaeF9fqRI3pc+mrPxsgNpaEfic2JjFvQa0g=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1kprKP-0006tI-Ar; Thu, 17 Dec 2020 12:20:15 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#23812: 25.0.95; Minor glitch in dired listing due to non
 English host language
References: <87a8ifhri8.fsf@HIDDEN> <87lfdzzgt2.fsf@HIDDEN>
 <837dpjau9s.fsf@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj
 SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEVMPz6tSELAp5r/
 ///wg2LlAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+QMEQsKDJNYZY8AAAGdSURBVCjPRZHNatwwFIWP
 xNh0tHKHcRhm5ZYQEj+FYlIoWanFGmhW3TQkfgrHq5KVY0JoZ+UGzxDfp+yRXajA+H7cc390BAAL
 u61xASRwib6yhsAvnE/eO7sJUQJEnudmQRiq+BDgG0inPsi8L7Ew6PNZVm6YyXIzyZgyyP41KIHl
 f1nu2DqduqXldsinOc6XKWU5eqgAWalcFfaMXFpmu/1bAe4UIdr9vsK7FdYTOM7PcsrU2qKQMVzh
 Lqy+KDZNpn8w4jD1eiESLhfzdy0iQeGMSPN49hNxnUA+5yzVinkLqc9NvYaeamQ4N00rzZx5oywL
 8ED4paVOpKvuFeFRy8Pd8WmJyOLlpchZ2i1hmDkyVOUr4TmAsg6dIPaES91adD1Swlj09KGDP/Go
 Dl9bwkcjR2YO07OsYhkiVAOWyXvoWEbgZqB1Cf50Mn6BPNvwYomWkQ1axdDhKb7cEYLDgNXKw3+f
 QWldQvX4EBJFbBLEY3rLIquDPycyZLBwzQzjVLOaQfoAeYDtXgZOpW9iUe0nZ+krjZNKpJ3h8Bfz
 d5OVvNxeIQAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMC0xMi0xN1QxMToxMDoxMiswMDowML0ynvcA
 AAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAtMTItMTdUMTE6MTA6MTIrMDA6MDDMbyZLAAAAAElFTkSu
 QmCC
X-Now-Playing: Themselves's _CrownsDown_: "gangster of disbelief"
Date: Thu, 17 Dec 2020 12:20:11 +0100
In-Reply-To: <837dpjau9s.fsf@HIDDEN> (Eli Zaretskii's message of "Tue, 15 Dec
 2020 18:50:07 +0200")
Message-ID: <87sg84llw4.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Eli Zaretskii <eliz@HIDDEN> writes: >> >
 /home/lele/something:
 >> > total used in directorye 8 available 24407396 [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 23812
Cc: lele@HIDDEN, 23812 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>> >   /home/lele/something:
>> >   total used in directorye 8 available 24407396

[...]

> I think we should delete everything except the number at the end.

I do, too.  Well, I think the entire line should be removed, and the
"free disk" number displayed somewhere else.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#23812; Package emacs. Full text available.

Message received at 23812 <at> debbugs.gnu.org:


Received: (at 23812) by debbugs.gnu.org; 15 Dec 2020 16:56:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 15 11:56:23 2020
Received: from localhost ([127.0.0.1]:58975 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kpDcc-0004O4-SL
	for submit <at> debbugs.gnu.org; Tue, 15 Dec 2020 11:56:23 -0500
Received: from userp2130.oracle.com ([156.151.31.86]:58354)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1kpDca-0004No-7j
 for 23812 <at> debbugs.gnu.org; Tue, 15 Dec 2020 11:56:21 -0500
Received: from pps.filterd (userp2130.oracle.com [127.0.0.1])
 by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0BFGsjaf117920;
 Tue, 15 Dec 2020 16:56:14 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=mime-version :
 message-id : date : from : sender : to : cc : subject : references :
 in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29;
 bh=RIeINxWGsHrMs1c1NomcOlvVDzGtMSIdpxRuFGpkNws=;
 b=gDdCjqwKCw0PnhPa7e3TEe9QnC6eVa7/zHgr5aMttAzmyFHsAqRntRxGLFtaGXkwPru0
 VT0EIaV/XG0FqX79ShhxdEispPuJ6apyE0m2GDe3rW59yeeAm124TP0oqtrx0wcVSC03
 uCr/c8ZS0ydh749qKQo+O81aXd3aqahTLXX0K0cwLJRz21spn32C3Z9pBI5FQ+O+30fX
 lASthm4itBmrlNIlwNzIhWAwckQEpJUfbC+3TUCbF9W4ku7QnEZ6n0APvJG5heprclGQ
 +ruenhRp/agBQ5kYQm2pBn7AsQniW1hyp4b83rPdtp25CVCS45wUMv//Kq7mlMkvc1e5 kQ== 
Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79])
 by userp2130.oracle.com with ESMTP id 35cn9rbny2-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL);
 Tue, 15 Dec 2020 16:56:14 +0000
Received: from pps.filterd (userp3020.oracle.com [127.0.0.1])
 by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0BFGp9vt056743;
 Tue, 15 Dec 2020 16:56:13 GMT
Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235])
 by userp3020.oracle.com with ESMTP id 35e6jre0mw-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Tue, 15 Dec 2020 16:56:13 +0000
Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14])
 by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 0BFGuB0F026870;
 Tue, 15 Dec 2020 16:56:11 GMT
MIME-Version: 1.0
Message-ID: <38927072-5832-4bbf-98c0-1ed9744ec8a3@default>
Date: Tue, 15 Dec 2020 08:56:10 -0800 (PST)
From: Drew Adams <drew.adams@HIDDEN>
To: Lele Gaifax <lele@HIDDEN>, Lars Ingebrigtsen <larsi@HIDDEN>
Subject: RE: bug#23812: 25.0.95; Minor glitch in dired listing due to non
 English host language
References: <87a8ifhri8.fsf@HIDDEN> <87lfdzzgt2.fsf@HIDDEN>
 <87ft47se5p.fsf@HIDDEN>
In-Reply-To: <87ft47se5p.fsf@HIDDEN>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 16.0.5071.0 (x86)]
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9836
 signatures=668683
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0
 mlxscore=0 bulkscore=0
 malwarescore=0 adultscore=0 mlxlogscore=999 phishscore=0 suspectscore=0
 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000
 definitions=main-2012150113
X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9836
 signatures=668683
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0
 mlxlogscore=999
 impostorscore=0 lowpriorityscore=0 clxscore=1011 spamscore=0
 malwarescore=0 priorityscore=1501 phishscore=0 mlxscore=0 bulkscore=0
 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.12.0-2009150000 definitions=main-2012150113
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 23812
Cc: 23812 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> > There's been a bit of discussion over the years about that summary line
> > in Dired, but I'm not sure whether anybody came to any conclusions.  I
> > guess we do not want to run "ls" under the C locale?  That would make
> > all the lines be in English, including the dates...
>=20
> IMHO, it should be simply removed, it carries so little information,
> especially nowadays.

I disagree.
Of course, it could be made optional.

And the argument that it carries little info isn't
an argument for showing no info.  It's an argument
for showing more or better info.
___

And yes, the info can be improved.

In my case (Dired+, files+.el), it shows this, for
any listing:

 z:/path/to/some/subdir:
 files 157/1659 space used 34111 available 101612836

`files 157/1659' shows the # of files currently
shown (visible) in the current subdir listing (157),
compared to the # of files in the main dir (1659).

And that `files 157/1659' is a link/button.
Mouseover tells you:

 Files shown / total in directory [RET, mouse-1: more info]

And clicking or RET shows you complete info about
that subdir.  E.g.:

z:/path/to/some/subdir
----------------------

File Type:                  Directory
Permissions:                drwxrwxrwx
Time of last access:        Wed Jul 25 08:26:24 2018 (Pacific Daylight Time=
)
Time of last modification:  Wed Jul 25 08:26:24 2018 (Pacific Daylight Time=
)
Time of last status change: Wed Jul 25 08:26:16 2018 (Pacific Daylight Time=
)
Number of links:            1
User ID (UID):              37686
Group ID (GID):             513
Inode:                      281464976926869
Device number:              315264003

Similarly, "space used 34111 available 101612836" is
a link/button.  Mouseover tells you:

 Kbytes used in directory, Kbytes available on disk

And the same info (see above) is shown when you click
or use RET.
___

And let's not forget that when Dired details are
hidden (`('), the line isn't shown at all.  (IMO,
details should be hidden, not shown, by default.)




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#23812; Package emacs. Full text available.

Message received at 23812 <at> debbugs.gnu.org:


Received: (at 23812) by debbugs.gnu.org; 15 Dec 2020 16:50:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 15 11:50:23 2020
Received: from localhost ([127.0.0.1]:58966 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kpDWp-0004F7-LC
	for submit <at> debbugs.gnu.org; Tue, 15 Dec 2020 11:50:23 -0500
Received: from eggs.gnu.org ([209.51.188.92]:52070)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1kpDWn-0004Es-N0
 for 23812 <at> debbugs.gnu.org; Tue, 15 Dec 2020 11:50:22 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:54049)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1kpDWg-00078e-UG; Tue, 15 Dec 2020 11:50:14 -0500
Received: from [176.228.60.248] (port=3382 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1kpDWf-0001lK-KB; Tue, 15 Dec 2020 11:50:14 -0500
Date: Tue, 15 Dec 2020 18:50:07 +0200
Message-Id: <837dpjau9s.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
In-Reply-To: <87lfdzzgt2.fsf@HIDDEN> (message from Lars Ingebrigtsen on Tue, 
 15 Dec 2020 08:09:29 +0100)
Subject: Re: bug#23812: 25.0.95;
 Minor glitch in dired listing due to non English host language
References: <87a8ifhri8.fsf@HIDDEN> <87lfdzzgt2.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 23812
Cc: lele@HIDDEN, 23812 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Date: Tue, 15 Dec 2020 08:09:29 +0100
> Cc: 23812 <at> debbugs.gnu.org
> 
> >   /home/lele/something:
> >   total used in directorye 8 available 24407396
> >   drwxrwxr-x 2 lele lele 4096 giu 21 10:02 .
> >   drwxr-xr-x 5 lele lele 4096 giu 21 10:02 ..
> 
> (This bug report unfortunately got no response at the time.)
> 
> This bug is still present.  Steps to reproduce:
> 
> LANGUAGE=it_IT.UTF-8 emacs -Q .
> 
> (You need to have an Italian locale installed.)
> 
> There's been a bit of discussion over the years about that summary line
> in Dired, but I'm not sure whether anybody came to any conclusions.  I
> guess we do not want to run "ls" under the C locale?  That would make
> all the lines be in English, including the dates...

I think we should delete everything except the number at the end.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#23812; Package emacs. Full text available.

Message received at 23812 <at> debbugs.gnu.org:


Received: (at 23812) by debbugs.gnu.org; 15 Dec 2020 07:48:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 15 02:48:44 2020
Received: from localhost ([127.0.0.1]:55375 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kp54e-0001ad-1V
	for submit <at> debbugs.gnu.org; Tue, 15 Dec 2020 02:48:44 -0500
Received: from orphu.arstecnica.it ([178.63.97.204]:49538)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <lele@HIDDEN>) id 1kp54c-0001aU-Dm
 for 23812 <at> debbugs.gnu.org; Tue, 15 Dec 2020 02:48:43 -0500
From: Lele Gaifax <lele@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=metapensiero.it;
 s=mail; t=1608018515;
 bh=f1opWmmOIaScnG9UTSnWZ5cz9WPEuebAH3rNdmmlhPE=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date;
 b=cc7iE1MK7SIYNRQqsHh5bBTRcMD9qBTgyF9uI8XzICeJpqSFMRGRvg2AJqwwzWzCX
 Rb/BhlzUqellRhmGwNwuFa0nPdoNOcHysbdwwDsA30bD0T8ZAzjxIWXzpUjspirp63
 UKKb3fkIDDHaSvEVLQhqYOT12FQST4RbbeBYa7xM=
To: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#23812: 25.0.95; Minor glitch in dired listing due to non
 English host language
In-Reply-To: <87lfdzzgt2.fsf@HIDDEN>
References: <87a8ifhri8.fsf@HIDDEN> <87lfdzzgt2.fsf@HIDDEN>
Date: Tue, 15 Dec 2020 08:48:34 +0100
Message-ID: <87ft47se5p.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 23812
Cc: 23812 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Lars Ingebrigtsen <larsi@HIDDEN> writes:

> There's been a bit of discussion over the years about that summary line
> in Dired, but I'm not sure whether anybody came to any conclusions.  I
> guess we do not want to run "ls" under the C locale?  That would make
> all the lines be in English, including the dates...

IMHO, it should be simply removed, it carries so little information,
especially nowadays.

ciao, lele.
--=20
nickname: Lele Gaifax | Quando vivr=C3=B2 di quello che ho pensato ieri
real: Emanuele Gaifas | comincer=C3=B2 ad aver paura di chi mi copia.
lele@HIDDEN  |                 -- Fortunato Depero, 1929.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#23812; Package emacs. Full text available.

Message received at 23812 <at> debbugs.gnu.org:


Received: (at 23812) by debbugs.gnu.org; 15 Dec 2020 07:09:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 15 02:09:48 2020
Received: from localhost ([127.0.0.1]:55175 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kp4Sy-0006pD-8a
	for submit <at> debbugs.gnu.org; Tue, 15 Dec 2020 02:09:48 -0500
Received: from quimby.gnus.org ([95.216.78.240]:52632)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1kp4Sw-0006ov-CG
 for 23812 <at> debbugs.gnu.org; Tue, 15 Dec 2020 02:09:47 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=ZNtKfhSFCxSsVCpwCPmq6Rn8rcOAi+7WlFSgJI/1ZgI=; b=BRQJYmHyVB46H9WBplCoIdlkuj
 7eUlikGv26WWE0R64UV8aur71ncyRPCRjUzQfMLx344qOsCue7A0pFXSgxxqA7Nop1foeyn2NaEb5
 N2jB2lICXU8d4TLxxehgNEO2CtWP+9btfqXQ17AWpWssIjjAgKKSV+PP1unL9R71EiPg=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1kp4Sh-0006P8-27; Tue, 15 Dec 2020 08:09:39 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Lele Gaifax <lele@HIDDEN>
Subject: Re: bug#23812: 25.0.95; Minor glitch in dired listing due to non
 English host language
References: <87a8ifhri8.fsf@HIDDEN>
X-Now-Playing: AR Kane's _I_: "Snow Joke"
Date: Tue, 15 Dec 2020 08:09:29 +0100
In-Reply-To: <87a8ifhri8.fsf@HIDDEN> (Lele Gaifax's message of "Tue, 
 21 Jun 2016 10:31:59 +0200")
Message-ID: <87lfdzzgt2.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Lele Gaifax <lele@HIDDEN> writes: > When I enter
 in a `dired` mode, I see something like the following at the top > of the
 buffer: > > /home/lele/something: > total used in directorye 8 available
 24407396 > drwxrwxr-x 2 lele lele 4096 [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 23812
Cc: 23812 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Lele Gaifax <lele@HIDDEN> writes:

> When I enter in a `dired` mode, I see something like the following at the top
> of the buffer:
>
>   /home/lele/something:
>   total used in directorye 8 available 24407396
>   drwxrwxr-x 2 lele lele 4096 giu 21 10:02 .
>   drwxr-xr-x 5 lele lele 4096 giu 21 10:02 ..

(This bug report unfortunately got no response at the time.)

This bug is still present.  Steps to reproduce:

LANGUAGE=it_IT.UTF-8 emacs -Q .

(You need to have an Italian locale installed.)

There's been a bit of discussion over the years about that summary line
in Dired, but I'm not sure whether anybody came to any conclusions.  I
guess we do not want to run "ls" under the C locale?  That would make
all the lines be in English, including the dates...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#23812; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 21 Jun 2016 08:32:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 21 04:32:23 2016
Received: from localhost ([127.0.0.1]:48526 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1bFH6c-0002ix-RY
	for submit <at> debbugs.gnu.org; Tue, 21 Jun 2016 04:32:23 -0400
Received: from eggs.gnu.org ([208.118.235.92]:58423)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <lele@HIDDEN>) id 1bFH6b-0002ik-AS
 for submit <at> debbugs.gnu.org; Tue, 21 Jun 2016 04:32:22 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <lele@HIDDEN>) id 1bFH6R-00068m-SP
 for submit <at> debbugs.gnu.org; Tue, 21 Jun 2016 04:32:15 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:50159)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <lele@HIDDEN>) id 1bFH6R-00068B-Pq
 for submit <at> debbugs.gnu.org; Tue, 21 Jun 2016 04:32:11 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:49372)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <lele@HIDDEN>) id 1bFH6P-0005sL-0j
 for bug-gnu-emacs@HIDDEN; Tue, 21 Jun 2016 04:32:10 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <lele@HIDDEN>) id 1bFH6K-00067V-PI
 for bug-gnu-emacs@HIDDEN; Tue, 21 Jun 2016 04:32:07 -0400
Received: from mail.arstecnica.it ([144.76.81.238]:56200)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <lele@HIDDEN>) id 1bFH6K-00067A-Iv
 for bug-gnu-emacs@HIDDEN; Tue, 21 Jun 2016 04:32:04 -0400
Received: from nautilus (assp.arstecnica.it [192.168.1.102])
 by mail.arstecnica.it (Postfix) with ESMTPSA id 05D8583E8EB
 for <bug-gnu-emacs@HIDDEN>; Tue, 21 Jun 2016 08:31:59 +0000 (UTC)
Received: from nautilus ([151.62.3.59] helo=nautilus) by assp.arstecnica.it
 with SMTPS(AES256-GCM-SHA384) (2.3.3); 21 Jun 2016 08:31:59 +0000
From: Lele Gaifax <lele@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 25.0.95;
 Minor glitch in dired listing due to non English host language
Date: Tue, 21 Jun 2016 10:31:59 +0200
Message-ID: <87a8ifhri8.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Assp-Version: 2.3.3(14029) on assp.arstecnica.it
X-Assp-ID: assp.arstecnica.it m1-97919-07187
X-Assp-Session: B407D56C (mail 1)
X-Assp-Envelope-From: lele@HIDDEN
X-Assp-Intended-For: bug-gnu-emacs@HIDDEN
X-Assp-Client-TLS: yes
X-Assp-Server-TLS: yes
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.1 (----)

When I enter in a `dired` mode, I see something like the following at the t=
op
of the buffer:

  /home/lele/something:
  total used in directorye 8 available 24407396
  drwxrwxr-x 2 lele lele 4096 giu 21 10:02 .
  drwxr-xr-x 5 lele lele 4096 giu 21 10:02 ..

Note the =E2=80=9Cdirectorye=E2=80=9D glitch: I think it is caused by the f=
act that the
function `insert-directory` in lisp/files.el assumes the underlying `ls`
command operates in an English environment, in particular in the first line
where it emits with the disk space usage, and perform a simple replace of
"total" with "total used in directory".

This is what I get with a plain `ls -la`:

  $ ls -la
  totale 8
  drwxrwxr-x 2 lele lele 4096 giu 21 10:02 .
  drwxr-xr-x 5 lele lele 4096 giu 21 10:02 ..

while it assumes an output like:

  $ LANG=3Den ls -la
  total 8
  drwxrwxr-x 2 lele lele 4096 Jun 21 10:02 .
  drwxr-xr-x 5 lele lele 4096 Jun 21 10:02 ..

Given that the function unconditionally inserts an English phrase, the
easiest-but-consistent workaround could be explicitly executing `ls` with
`$LANG` set to "en".

A more elaborated approach could be extracting only the number in the first
line of the `ls` output instead of matching "total": in this way it would
support also languages that swap the order (that is, that translate that li=
ne
to something equivalent =E2=80=9C8 bytes in total=E2=80=9D).

Thank you,
ciao, lele.


In GNU Emacs 25.0.95.2 (x86_64-pc-linux-gnu, GTK+ Version 3.20.6)
 of 2016-06-14 built on nautilus
Repository revision: f5261917191336d052ad8586b2d9fd62ba46c3c4
Windowing system distributor 'The X.Org Foundation', version 11.0.11803000
System Description:	Debian GNU/Linux unstable (sid)

Configured using:
 'configure --prefix /usr/local/emacs25'

Configured features:
XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS NOTIFY GNUTLS LIBXML2 FREETYPE X=
FT
ZLIB TOOLKIT_SCROLL_BARS GTK3 X11

Important settings:
  value of $LANG: it_IT.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Dired by name

--=20
nickname: Lele Gaifax | Quando vivr=C3=B2 di quello che ho pensato ieri
real: Emanuele Gaifas | comincer=C3=B2 ad aver paura di chi mi copia.
lele@HIDDEN  |                 -- Fortunato Depero, 1929.




Acknowledgement sent to Lele Gaifax <lele@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#23812; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 17 Dec 2020 11:30:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.