GNU bug report logs -
#75825
[PATCH] New user option 'Buffer-menu-human-readable-size'
Previous Next
Reported by: Pengji Zhang <me <at> pengjiz.com>
Date: Sat, 25 Jan 2025 11:46:01 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
>>>>> On Sat, 25 Jan 2025 19:45:29 +0800, Pengji Zhang <me <at> pengjiz.com> said:
Pengji> Hello,
Pengji> This patch introduces a new user option similar to the one in bug#75495.
Pengji> With it we could display buffer sizes in the human readable format for
Pengji> Buffer Menu.
As with #75495, "size" or "sizes", please pick one and only one.
Pengji> Thanks!
Pengji> Pengji
Pengji> From 423df97d414ea6443e0c74c0978ab9a4faeb9476 Mon Sep 17 00:00:00 2001
Pengji> From: Pengji Zhang <me <at> pengjiz.com>
Pengji> Date: Sat, 25 Jan 2025 19:29:26 +0800
Pengji> Subject: [PATCH] New user option 'Buffer-menu-human-readable-size'
Pengji> * lisp/buff-menu.el (Buffer-menu-human-readable-size): New user
Pengji> option.
Pengji> (list-buffers--refresh): Use it.
Pengji> * etc/NEWS: Annouce the new user option.
Pengji> ---
Pengji> etc/NEWS | 5 +++++
Pengji> lisp/buff-menu.el | 13 ++++++++++++-
Pengji> 2 files changed, 17 insertions(+), 1 deletion(-)
Pengji> diff --git a/etc/NEWS b/etc/NEWS
Pengji> index 385e943c997..612d1fd88f3 100644
Pengji> --- a/etc/NEWS
Pengji> +++ b/etc/NEWS
Pengji> @@ -361,6 +361,11 @@ set to 'title'.
Pengji> *** New user option 'ibuffer-human-readable-size'.
Pengji> When non-nil, buffer sizes are shown in human readable format.
Pengji> +---
Pengji> +** Buffer Menu
Pengji> +*** New user option 'Buffer-menu-human-readable-size'.
Pengji> +When non-nil, buffer sizes are shown in human readable format.
Pengji> +
When adding a new user option, please describe the default value. I
assume itʼs nil, but NEWS should tell me (especially as NEWS is often
read outside Emacs).
Robert
--
This bug report was last modified 110 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.