* bug#53501: 29.0.50; Column widening widens multiple columns in *Process List*
@ 2022-01-24 12:27 Thuna
2022-01-25 13:15 ` Lars Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Thuna @ 2022-01-24 12:27 UTC (permalink / raw)
To: 53501
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#53501: 29.0.50; Column widening widens multiple columns in *Process List*
2022-01-24 12:27 bug#53501: 29.0.50; Column widening widens multiple columns in *Process List* Thuna
@ 2022-01-25 13:15 ` Lars Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2022-01-25 13:15 UTC (permalink / raw)
To: Thuna; +Cc: 53501
Thuna <thuna.cing@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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-01-25 13:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-24 12:27 bug#53501: 29.0.50; Column widening widens multiple columns in *Process List* Thuna
2022-01-25 13:15 ` Lars Ingebrigtsen
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.