From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [elpa] externals/consult-recoll c5926ca3eb 1/2: format for size annotation Date: Fri, 14 Oct 2022 15:15:56 -0400 Message-ID: References: <166569465562.12992.2240825905795534702@vcs2.savannah.gnu.org> <20221013205735.EF3DEC03F23@vcs2.savannah.gnu.org> <87h707qivx.fsf@gmail.com> 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="19505"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: emacs-devel@gnu.org, jao To: Visuwesh Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Oct 14 21:17:57 2022 Return-path: Envelope-to: ged-emacs-devel@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 1ojQBw-0004ou-Iy for ged-emacs-devel@m.gmane-mx.org; Fri, 14 Oct 2022 21:17:56 +0200 Original-Received: from localhost ([::1]:38452 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ojQBv-0001ml-CR for ged-emacs-devel@m.gmane-mx.org; Fri, 14 Oct 2022 15:17:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38346) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojQA7-0000mm-BX for emacs-devel@gnu.org; Fri, 14 Oct 2022 15:16:04 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:1055) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojQA4-0005dn-UN; Fri, 14 Oct 2022 15:16:02 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id DC0CE44161F; Fri, 14 Oct 2022 15:15:58 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 4890144128F; Fri, 14 Oct 2022 15:15:57 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1665774957; bh=GSXC98Eup2xImv9CQWja6IVy3sLc5RWYeFSp9GDfM8A=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=B0HMYA4FBFU4qbLkyN28gFtbPVg5G3+KnOQZBNUDcgwCfBccqc/9YfglxfTb/Rb03 tCWBOtAM52zfzOHR5Z4eaL1hvKrD4V4SrB6T+j3FzICB63pZzrFjJYgkgXsZRfconq MFArEoYFfKA/2mHT5Fwq47YYgFSyF5VX2xpnMLGFWI0I58fA+G1wB8tGoMssH+EHrl sCnBeA4//n7xSHBhaaRYG77mUGeV9xfPa4Hs4XKR45joop+qMDUufCZ3WOygD1ITqC gU4AaioUjH8GMcLNy7mJDZBtCHzfkD9thVJic9kKR4vWOOPLBcVADnHNVOsL+aw24r hVDacJfwE7NBg== Original-Received: from pastel (65-110-220-202.cpe.pppoe.ca [65.110.220.202]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 0E540120DA4; Fri, 14 Oct 2022 15:15:57 -0400 (EDT) In-Reply-To: <87h707qivx.fsf@gmail.com> (Visuwesh's message of "Fri, 14 Oct 2022 07:14:02 +0530") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:297731 Archived-At: Visuwesh [2022-10-14 07:14:02] wrote: > [=E0=AE=B5=E0=AE=BF=E0=AE=AF=E0=AE=BE=E0=AE=B4=E0=AE=A9=E0=AF=8D =E0=AE= =85=E0=AE=95=E0=AF=8D=E0=AE=9F=E0=AF=8B=E0=AE=AA=E0=AE=B0=E0=AF=8D 13, 2022= ] Stefan Monnier wrote: >> I see we have `memory-report--format` which does something similar. >> I'm pretty sure we have other chunks of code doing the same elsewhere. >> Should Someone=E2=84=A2 introduce a function in `subr.el` or somesuch to= solve >> it once and for all? > Don't we already have `file-size-human-readable' for that? Ah, that's it, thanks! So Consult should simply use that instead of `consult-recoll--format-size`. Stefan