From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#53501: 29.0.50; Column widening widens multiple columns in *Process List* Date: Tue, 25 Jan 2022 14:15:56 +0100 Message-ID: <878rv4x8fn.fsf@gnus.org> References: <877dapz5ci.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36738"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 53501@debbugs.gnu.org To: Thuna Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 25 16:02:52 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nCNLP-0009N9-R9 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 25 Jan 2022 16:02:51 +0100 Original-Received: from localhost ([::1]:50220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nCNLO-0002yE-J8 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 25 Jan 2022 10:02:50 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42036) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCLh0-0006A3-5P for bug-gnu-emacs@gnu.org; Tue, 25 Jan 2022 08:17:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54476) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nCLgz-0004e2-SH for bug-gnu-emacs@gnu.org; Tue, 25 Jan 2022 08:17:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nCLgz-0000RP-PI for bug-gnu-emacs@gnu.org; Tue, 25 Jan 2022 08:17:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Jan 2022 13:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53501 X-GNU-PR-Package: emacs Original-Received: via spool by 53501-submit@debbugs.gnu.org id=B53501.16431165721618 (code B ref 53501); Tue, 25 Jan 2022 13:17:01 +0000 Original-Received: (at 53501) by debbugs.gnu.org; 25 Jan 2022 13:16:12 +0000 Original-Received: from localhost ([127.0.0.1]:47376 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCLgB-0000Q2-T5 for submit@debbugs.gnu.org; Tue, 25 Jan 2022 08:16:12 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:34956) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCLg6-0000PD-JN for 53501@debbugs.gnu.org; Tue, 25 Jan 2022 08:16:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=+PY/bSZnYW1OJ5EFb8DX/YKU1bE+m6EdVEThWc2pLgI=; b=NjUjDb/G1byzq5hf+8kDooyH4m QiY0GSybyh+s068ic0LCcccHAk8qus1xqryA8rRBGa+HJJIkLgysnLA6HqNkFgPxPeHvQE4MRc8iR I7KeyxCbbdzWSZ8VUY8obqmIDwnYvGiKrgtfD7QW1lx3ozxoOJEnVAgYRKefmhWJCJ8Q=; Original-Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nCLfw-00042i-Vi; Tue, 25 Jan 2022 14:16:00 +0100 X-Now-Playing: David Bowie's _Brilliant Adventure (10): Re:Call 5_: "Little Wonder (edit)" In-Reply-To: <877dapz5ci.fsf@gmail.com> (Thuna's message of "Mon, 24 Jan 2022 15:27:25 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:225185 Archived-At: Thuna 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