GNU bug report logs - #53501
29.0.50; Column widening widens multiple columns in *Process List*

Previous Next

Package: emacs;

Reported by: Thuna <thuna.cing <at> gmail.com>

Date: Mon, 24 Jan 2022 12:28:02 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 53501 in the body.
You can then email your comments to 53501 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#53501; Package emacs. (Mon, 24 Jan 2022 12:28:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Thuna <thuna.cing <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 24 Jan 2022 12:28:02 GMT) Full text and rfc822 format available.

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

From: Thuna <thuna.cing <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50; Column widening widens multiple columns in *Process List*
Date: Mon, 24 Jan 2022 15:27:25 +0300
In the *Porcess List* buffer, if tabulated-list-widen-column is called
on the second or the third column, both columns end up widening.  The
same thing happens in columns 5 and 6 as well (although it is currently
bugged due to bug#53498).

This can be replicated as follows:
0. emacs -Q
1. M-x shell
2. M-x list-processes
3. C-x o
4. M-f M-f
5. }

It is possible that this is not a bug in process itself but I have seen
nothing else that could be the problem.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53501; Package emacs. (Tue, 25 Jan 2022 13:17:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Thuna <thuna.cing <at> gmail.com>
Cc: 53501 <at> debbugs.gnu.org
Subject: Re: bug#53501: 29.0.50; Column widening widens multiple columns in
 *Process List*
Date: Tue, 25 Jan 2022 14:15:56 +0100
Thuna <thuna.cing <at> gmail.com> writes:

> In the *Porcess List* buffer, if tabulated-list-widen-column is called
> on the second or the third column, both columns end up widening.  The
> same thing happens in columns 5 and 6 as well (although it is currently
> bugged due to bug#53498).
>
> This can be replicated as follows:
> 0. emacs -Q
> 1. M-x shell
> 2. M-x list-processes
> 3. C-x o
> 4. M-f M-f
> 5. }
>
> It is possible that this is not a bug in process itself but I have seen
> nothing else that could be the problem.

Hm, very odd.  I wondered whether it was somehow increasing the widths
of two columns, but:

(cl-incf (cadr (aref tabulated-list-format 1)))
(tabulated-list-print t)

demonstrates this problem.

It seems like tabulated-list-print is itself increasing the width of the
subsequent column?  Hm, yes.  No!  It's a matter of a shared list?

[("Process" 15 . #1=(t)) ("PID" . #2=(10 . #1#)) ("Status" . #2#) ("Buffer" 26 . #1#) ("TTY" . #3=(11 . #1#)) ("Thread" . #3#) ("Command" 0 . #1#)]

Yes, PID and Status share lists.

Right, the problem is that process-menu-mode uses a constant here, and
tabulated-list-mode mutates that, and that's undefined.  Now fixed in
Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 29.1, send any further explanations to 53501 <at> debbugs.gnu.org and Thuna <thuna.cing <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 25 Jan 2022 13:17:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 23 Feb 2022 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 117 days ago.

Previous Next


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