GNU bug report logs - #75495
[PATCH] ibuffer: New defcustom `ibuffer-human-readable-size'

Previous Next

Package: emacs;

Reported by: Daniel Mendler <mail <at> daniel-mendler.de>

Date: Sat, 11 Jan 2025 13:29:02 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


Message #11 received at 75495 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Daniel Mendler <mail <at> daniel-mendler.de>
Cc: 75495 <at> debbugs.gnu.org
Subject: Re: bug#75495: [PATCH] ibuffer: New defcustom
 `ibuffer-human-readable-size'
Date: Sat, 18 Jan 2025 12:11:52 +0200
> Date: Sun, 12 Jan 2025 13:34:30 +0100
> From:  Daniel Mendler via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> Daniel Mendler <mail <at> daniel-mendler.de> writes:
> 
> > This patch adds the customization option `ibuffer-human-readable-size'.
> > If customized to t, buffer sizes in Ibuffer are shown in human readable
> > format.
> 
> I have attached an improved version of the patch to this mail, where it
> is ensured that the summarizer works for a left or right aligned size
> column.

Thanks.

> +(defcustom ibuffer-human-readable-size nil
> +  "Show buffer sizes in human-readable format."
> +  :type 'boolean)

This needs a :version tag.

Also, I think the doc string should explain in more detail what we
mean by "human-readable format".




This bug report was last modified 119 days ago.

Previous Next


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