From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#44273: "total used in directory 19 available 5.2 GiB" Date: Wed, 28 Oct 2020 12:23:22 +0100 Message-ID: <87pn52tx05.fsf@gnus.org> References: <87sg9zgchl.5.fsf@jidanni.org> <9FFBEBAF-FBB3-4AC9-950E-70B3927032F9@acm.org> <87h7qevdfc.fsf@gnus.org> <7B559E59-D3CA-4515-B17C-336029B7FBFA@acm.org> <877dravck1.fsf@gnus.org> <83DA3F8B-E525-43F6-8A72-A5AF6C0EEA38@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33202"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson , 44273@debbugs.gnu.org To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 28 12:24:08 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kXjYm-0008Xy-Hl for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Oct 2020 12:24:08 +0100 Original-Received: from localhost ([::1]:58230 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kXjYl-0006Ex-Ks for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Oct 2020 07:24:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48238) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXjYf-0006Em-Vf for bug-gnu-emacs@gnu.org; Wed, 28 Oct 2020 07:24:01 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35902) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kXjYf-0002AJ-MD for bug-gnu-emacs@gnu.org; Wed, 28 Oct 2020 07:24:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kXjYf-00008J-IU for bug-gnu-emacs@gnu.org; Wed, 28 Oct 2020 07:24:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 Oct 2020 11:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44273 X-GNU-PR-Package: emacs Original-Received: via spool by 44273-submit@debbugs.gnu.org id=B44273.1603884214474 (code B ref 44273); Wed, 28 Oct 2020 11:24:01 +0000 Original-Received: (at 44273) by debbugs.gnu.org; 28 Oct 2020 11:23:34 +0000 Original-Received: from localhost ([127.0.0.1]:47448 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXjYD-00007Z-Tp for submit@debbugs.gnu.org; Wed, 28 Oct 2020 07:23:34 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:40776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXjYC-00007N-OO for 44273@debbugs.gnu.org; Wed, 28 Oct 2020 07:23:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: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=wr9Acz85zLJqgkkIbW3OP77RvXK5npy65hOdQ5rf5tY=; b=cncXnCv23WZknC7s8wuidc4JWi MWnqpMWFMSRbRaqBHI96Hs1/+71Xv8+HY3XniYKh+8WBOwqgOvm1PTOHpM9RZsukVnB0n0U7mwly/ vDPiLSvS9YCnccaSYBB1pgFdYBKTOzZ9KFZZUf1nDMX8RCpGjibaCEYSy2aw1jDw6Bj8=; Original-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 ) id 1kXjY3-0001QY-MU; Wed, 28 Oct 2020 12:23:26 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEXdmo6wZWNqUVzc mmf///+daAy7AAAAAWJLR0QEj2jZUQAAAAd0SU1FB+QKHAsVNuUkn94AAAGvSURBVDjLbZRRousg CES1bEB0A4FuQMv+9/YGMGl68/xqOA4Dii0lF/sqz1UDtN+gyqt0laek1943+JVwV19PScR7f0rS mGU97YsZgitz1ZtEqOphi5FNqrZySIJXB1NmWAEcwsex3TvVo+/aalO5gECRcVVoQbbHEeaRigtX brs4IZtGFuXWe7FMZFaiWtQ8bg0ijpWE9WqSVsR5A5Zb31hdPWj3kyQQwnYQCTBP0sg8XQcKo9O+ KsplB5KAv+U6YChGgjMXt0ljJfgzFDbH8lTDRhz+ltCkwmvhzAdPs4+cEpvFdH3U76ShJfxKMCct GQtzMhbszVQz1/SDAtAA7MnmdSTurTZ4mOBD0oQCwCC2o2br2TyN4R9+hmIoDrlyjMiTJ3jb6shl KKu2Ql3ea3z8cFFUV4C3d+feb7QsmFLcV3cTmJO3hJ3wX+xAHEwHLvEG9sWrJDhvsWzwuUBMUvXR 9qL5jwLgpcOvQ/CCoPwBfkdd/wMQkpgitPsL8Hb38/16NABIFMCJnVU1BxxB8VRXuSMUuXzmr1Rc vkC/Tyqf6C3OR/i2+BO4K/Qo/wBgtVrzMeah4AAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMC0xMC0y OFQxMToyMTo1NCswMDowMIVMkkcAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAtMTAtMjhUMTE6MjE6 NTQrMDA6MDD0ESr7AAAAAElFTkSuQmCC X-Now-Playing: That Dog's _Totally Crushed Out_: "In the Back of My Mind" In-Reply-To: <83DA3F8B-E525-43F6-8A72-A5AF6C0EEA38@acm.org> ("Mattias =?UTF-8?Q?Engdeg=C3=A5rd?="'s message of "Wed, 28 Oct 2020 12:18:56 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:191847 Archived-At: Mattias Engdeg=C3=A5rd writes: > Definitely, and if it is faster to fork another process and parse its > output with slow regexps in Emacs to do the job of what ordinarily > just takes a few syscalls, then we aren't doing our job properly. It's > not hard to read directories efficiently. True. If `ls-lisp' (or something similar) isn't fast enough, then it should be pretty easy to add a C-level function for efficient directory reading. (But we'd still need the parser for Tramp.) --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no