From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#22829: Acknowledgement (25.1.50; Display number of marked files) Date: Tue, 08 Mar 2016 02:19:53 +0200 Organization: LINKOV.NET Message-ID: <87y49tg6s6.fsf@mail.linkov.net> References: <87mvqlv1h4.fsf@gnus.org> <87fuw9203w.fsf@mail.linkov.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1457396724 29449 80.91.229.3 (8 Mar 2016 00:25:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Mar 2016 00:25:24 +0000 (UTC) Cc: 22829@debbugs.gnu.org To: Tino Calancha Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 08 01:25:12 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1ad5SZ-00069A-7q for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Mar 2016 01:25:11 +0100 Original-Received: from localhost ([::1]:59339 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ad5SY-0007DR-N4 for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Mar 2016 19:25:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41641) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ad5ST-00076J-6Y for bug-gnu-emacs@gnu.org; Mon, 07 Mar 2016 19:25:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ad5SQ-0004FG-Pf for bug-gnu-emacs@gnu.org; Mon, 07 Mar 2016 19:25:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41329) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ad5SQ-0004Ep-N1 for bug-gnu-emacs@gnu.org; Mon, 07 Mar 2016 19:25:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1ad5SQ-0000BR-GQ for bug-gnu-emacs@gnu.org; Mon, 07 Mar 2016 19:25:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Mar 2016 00:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22829 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 22829-submit@debbugs.gnu.org id=B22829.1457396663656 (code B ref 22829); Tue, 08 Mar 2016 00:25:02 +0000 Original-Received: (at 22829) by debbugs.gnu.org; 8 Mar 2016 00:24:23 +0000 Original-Received: from localhost ([127.0.0.1]:38456 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1ad5Rn-0000AW-EF for submit@debbugs.gnu.org; Mon, 07 Mar 2016 19:24:23 -0500 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:33656 helo=homiemail-a21.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1ad5Rm-0000AO-3q for 22829@debbugs.gnu.org; Mon, 07 Mar 2016 19:24:22 -0500 Original-Received: from homiemail-a21.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a21.g.dreamhost.com (Postfix) with ESMTP id 492A2300064; Mon, 7 Mar 2016 16:24:20 -0800 (PST) Original-Received: from localhost.linkov.net (85.253.57.59.cable.starman.ee [85.253.57.59]) (Authenticated sender: jurta@jurta.org) by homiemail-a21.g.dreamhost.com (Postfix) with ESMTPA id 6EA4E300061; Mon, 7 Mar 2016 16:24:19 -0800 (PST) In-Reply-To: (Tino Calancha's message of "Thu, 3 Mar 2016 18:58:40 +0900 (JST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (x86_64-pc-linux-gnu) 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: 208.118.235.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:114557 Archived-At: > If we modify `dired-get-marked-files' as in the Bug#22892 > we can get in a straightforward way the file sizes from the file system. > I include the modified version of your code after these comments. I still doubt if old code could be of any help. When using file-attributes instead of parsing the ls output in the dired buffer it would be easier for you to implement new code from scratch with much shorter result. Some parts of old code (to parse the dired buffer) would be useful only in case if you decide to implement displaying recursive directory sizes in-line as was requested yesterday in http://emacs.stackexchange.com/questions/20766/display-recursive-folder-sizes-in-line-in-dired