GNU bug report logs - #59272
[PATCH] Make Memory Human Readable in proced Buffers

Previous Next

Package: emacs;

Reported by: Laurence Warne <laurencewarne <at> gmail.com>

Date: Mon, 14 Nov 2022 23:17:05 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Laurence Warne <laurencewarne <at> gmail.com>
Subject: bug#59272: closed (Re: bug#59272: [PATCH] Make Memory Human
 Readable in proced Buffers)
Date: Thu, 17 Nov 2022 09:56:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#59272: [PATCH] Make Memory Human Readable in proced Buffers

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 59272 <at> debbugs.gnu.org.

-- 
59272: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59272
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Laurence Warne <laurencewarne <at> gmail.com>
Cc: 59272-done <at> debbugs.gnu.org, juri <at> linkov.net, stefankangas <at> gmail.com,
 visuweshm <at> gmail.com
Subject: Re: bug#59272: [PATCH] Make Memory Human Readable in proced Buffers
Date: Thu, 17 Nov 2022 11:55:25 +0200
> Cc: 59272 <at> debbugs.gnu.org, Visuwesh <visuweshm <at> gmail.com>,
>  Juri Linkov <juri <at> linkov.net>
> From: Laurence Warne <laurencewarne <at> gmail.com>
> Date: Wed, 16 Nov 2022 08:56:42 +0000
> 
> Alright, I've had a look at sysdep.c, and it looks like bytes are divided by 1024 to convert to kilobytes.
> 
> I've attached an updated patch using Juri's suggestion.

Thanks, installed, and closing the bug.

[Message part 3 (message/rfc822, inline)]
From: Laurence Warne <laurencewarne <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Make Memory Human Readable in proced Buffers
Date: Mon, 14 Nov 2022 10:19:51 +0000
[Message part 4 (text/plain, inline)]
Hi, this patch makes vsize and rss human readable in proced buffers by
formatting them as megabytes or gigabytes according to their size, similar
as the -h flag for ls and du.

The current behaviour is to show them always as kilobytes, though I'm
unsure if this meant as 1000 bytes or 1024 bytes, this patch assumes the
former case.

Thanks, Laurence
[Message part 5 (text/html, inline)]
[0001-Make-vsize-and-rss-human-readable-in-proced-buffers.patch (text/x-patch, attachment)]

This bug report was last modified 2 years and 246 days ago.

Previous Next


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