From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#44068: 28.0.50; Faulty uses of tabulated-list-format Date: Sun, 18 Oct 2020 14:33:18 -0700 (PDT) Message-ID: <9d13f9c2-f8dc-4f61-be5f-d60d485719bc@default> References: <87imb7e242.fsf@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24583"; mail-complaints-to="usenet@ciao.gmane.io" To: Stephen Berman , 44068@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 18 23:34:31 2020 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 1kUGJx-0006Gz-Sh for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Oct 2020 23:34:29 +0200 Original-Received: from localhost ([::1]:37572 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kUGJw-0004Pn-S4 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Oct 2020 17:34:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47822) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUGJW-0004Nu-Ek for bug-gnu-emacs@gnu.org; Sun, 18 Oct 2020 17:34:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55870) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kUGJW-0008Al-5S for bug-gnu-emacs@gnu.org; Sun, 18 Oct 2020 17:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kUGJW-0003RE-1T for bug-gnu-emacs@gnu.org; Sun, 18 Oct 2020 17:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 18 Oct 2020 21:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44068 X-GNU-PR-Package: emacs Original-Received: via spool by 44068-submit@debbugs.gnu.org id=B44068.160305680913159 (code B ref 44068); Sun, 18 Oct 2020 21:34:01 +0000 Original-Received: (at 44068) by debbugs.gnu.org; 18 Oct 2020 21:33:29 +0000 Original-Received: from localhost ([127.0.0.1]:39183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUGIz-0003QB-3X for submit@debbugs.gnu.org; Sun, 18 Oct 2020 17:33:29 -0400 Original-Received: from aserp2130.oracle.com ([141.146.126.79]:42968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUGIx-0003Pw-4X for 44068@debbugs.gnu.org; Sun, 18 Oct 2020 17:33:27 -0400 Original-Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 09ILTpUE163936; Sun, 18 Oct 2020 21:33:21 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=q1lEeSICR4DNZijS8lL2WLqRQtM8XeHebhXh8qWxN3w=; b=j8A88x8qDfnRJ4TdIPfbSaNpgRQlvNjuvH9Qvnbth3r0sGbiA4odV1cvB2ZRTchxIZQG jEnIPryrcr+aTxVZT6yjDPSpZW6hBWyN6itfs5EUJptO1oBNURG3ADIFbYWOX6pLY0dd yR4YU8l8TDmfIRvZKba4T62QSmRphcSaQodb/vvcXbXQ8Q3G4sMP+8vTcwsb2Zp4PX9Z c0YxTftUO5IN4ieNi7Ml/poP+Y35TrO8uKYx5ylVoprjRCdLhV86iHDKfa2g2WkEW8To NZPX8agrsYgz6q9sVHjH11sYED5uPhh00Cg/aPUA1LZb95pmqoCji2oPahxkOpdYzwoT iQ== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by aserp2130.oracle.com with ESMTP id 347p4ak27p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sun, 18 Oct 2020 21:33:21 +0000 Original-Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 09ILTk3e184128; Sun, 18 Oct 2020 21:33:20 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userp3020.oracle.com with ESMTP id 348acnt0fy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 18 Oct 2020 21:33:20 +0000 Original-Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 09ILXJh0029075; Sun, 18 Oct 2020 21:33:19 GMT In-Reply-To: <87imb7e242.fsf@gmx.net> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.5056.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9778 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 bulkscore=0 adultscore=0 mlxscore=0 malwarescore=0 suspectscore=0 spamscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2010180170 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9778 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 priorityscore=1501 clxscore=1011 malwarescore=0 mlxscore=0 bulkscore=0 lowpriorityscore=0 phishscore=0 adultscore=0 mlxlogscore=999 impostorscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2010180170 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:190918 Archived-At: > On trying out the new tabulated-list implementation of the bookmarks > list I noticed that, when clicking on the File header, the sort > indicator is not displayed, unlike with the Bookmark header. Then I > noticed that the same thing happens in the tabulated buffer list (C-x > C-b). Then I grepped for all uses of tabulated-list-format in the Emacs > sources and found the same problem in most of them. The reason is that > in these modes the width of at least one of the columns is too narrow, > so that tabulated-list-init-header omits the indicator. In most cases > the problematic column is the final one, but in a couple of cases there > are also non-final too narrow columns. And I think these bugs are due > to a misleading description in tabulated-list-format's doc string. The > attached patch corrects the doc string and the problematic uses of > tabulated-list-format. The patch also fixes a typo and tries to improve > column alignment in timer-list-mode: this is one of the few modes > derived from tabulated-list-mode whose column widths didn't need to be > corrected, but the alignment seemed suboptimal; however, when the header > line uses a variable-pitch face, the alignment is still suboptimal even > with the patch, and I don't know how to fix that. This rings a bell (maybe). I think the sort-indicator problem might be a duplicate bug report, but I can't find the dup now. There are some inherent problems with the rightmost column, IIRC, that being one of them. (Dunno whether this helps at all. Probably not.)