From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#44068: 28.0.50; Faulty uses of tabulated-list-format Date: Thu, 29 Oct 2020 16:58:52 +0000 Message-ID: References: <87imb7e242.fsf@gmx.net> <83zh4ipbli.fsf@gnu.org> <877drm13j3.fsf@gmx.net> <831rhuoy36.fsf@gnu.org> <87y2k2yqqb.fsf@gmx.net> <87h7qori97.fsf@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39588"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44068@debbugs.gnu.org To: Stephen Berman , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 29 18:00:20 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 1kYBHf-000AD3-Qf for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Oct 2020 18:00:19 +0100 Original-Received: from localhost ([::1]:34590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYBHe-00027T-Oz for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Oct 2020 13:00:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60950) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYBHQ-000279-7u for bug-gnu-emacs@gnu.org; Thu, 29 Oct 2020 13:00:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43263) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kYBHP-00011U-05 for bug-gnu-emacs@gnu.org; Thu, 29 Oct 2020 13:00:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kYBHO-0001Zy-UT for bug-gnu-emacs@gnu.org; Thu, 29 Oct 2020 13:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 29 Oct 2020 17:00:02 +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.16039907425949 (code B ref 44068); Thu, 29 Oct 2020 17:00:02 +0000 Original-Received: (at 44068) by debbugs.gnu.org; 29 Oct 2020 16:59:02 +0000 Original-Received: from localhost ([127.0.0.1]:54804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYBGQ-0001Xr-1m for submit@debbugs.gnu.org; Thu, 29 Oct 2020 12:59:02 -0400 Original-Received: from mail-ej1-f45.google.com ([209.85.218.45]:35033) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYBGO-0001XM-Jg for 44068@debbugs.gnu.org; Thu, 29 Oct 2020 12:59:00 -0400 Original-Received: by mail-ej1-f45.google.com with SMTP id p5so4823164ejj.2 for <44068@debbugs.gnu.org>; Thu, 29 Oct 2020 09:59:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:in-reply-to:references:mime-version:date:message-id:subject:to :cc; bh=c3qpUBB3yYCwyg92T7vvScGVlRKG5egOtFr/9meFal8=; b=nQl5kRfXFehrGkYQLQ4m8H1W+z4l/c30vh/aLvrBX8bQ4TSJHf6HECaJti3/4pyj3n PMvkrb521Z7MLqadsQdhlf8f7v9ure8t9a5wcCl2W/1rxMi1ZQif9a3EUK8d5ZJhJETv c87qy9DLGClACm1gfMx1mvsMGrgomKil+2fZF8F+xAGTts/KlRITScEtv65S7MEjVeJa anMlrNY9fAoe6MxHelEzlbF2tNSmu1lfYOYcQKKJxclvuLCODpPx+c9HTx9gFDspyBC4 fZ9fZU6V9iyiH1aFINtWWTliaFQWOkh8DUCscUB26eeqQTgOX0Xrvjo0JEEhModo4yYc 6mWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=c3qpUBB3yYCwyg92T7vvScGVlRKG5egOtFr/9meFal8=; b=s0tCyQBfKL6Q5/wsgoSKbNtlJB00cbBs3EuUuLMjwt7+Ytok0Hz9b3d59jh1+3GIms juueaqt5ISziXJx9MGgllwosKUpbXc+jlsG6egW6P3sgQSC/DtCmP3hOcZHX1OG4UjZU rdsFfGYoUykpQ+9Wul1qQBiMtnP0oZLvAVA3zgisiodPfWpjDSHnLOf/UMhB64fg7S22 0jtDs1ikYA8I6/zEkhzbUrQ8pH7kWK8JIjZJbQL5/5OXVsnBxrRNNPnLROcc20KL3bwG YNo9ZUAPUcVYGdytJZteeGf/3ppgBGhfm5IueCrn7cwEaRtuhVdIMAJIOeVgBT2gxcw1 8qrg== X-Gm-Message-State: AOAM530QmcI4aiUgs0TwYhi0RyIVojONDEK7yUQEXXTIf6RHushaYPAL oFXD9wAaaSekHjLwKYSqJGc4yYDjIpnpdzn+i6Q= X-Google-Smtp-Source: ABdhPJxcmAsFTe0NbjX27IumZx5CQo+opC1V8esid6sFLSaCoHUVqck64AYk4JCHddtkSY7ZPFu+JBlKjlxtJLeZP3Q= X-Received: by 2002:a17:906:a40b:: with SMTP id l11mr4852488ejz.25.1603990734703; Thu, 29 Oct 2020 09:58:54 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 29 Oct 2020 16:58:52 +0000 In-Reply-To: <87h7qori97.fsf@gmx.net> 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:191971 Archived-At: Stephen Berman writes: > I was wrong that adjusting column widths in tabulated-list-format is > necessary: with the attached patch, when a non-final column whose label > is at least 3 characters long is selected, the label will get truncated > and a sort indicator added; but the final column label will never get > truncated and always get a sort indicator when selected. The behavior with your patch looks like an improvement to me. How about the case when we narrow the column but there is no sort indicator, should we use the ellipsis then? See for example `list-buffers' when using the narrowing commands without sorting on any of the headers. > The question remains whether the truncated display in current > (non-adjusted) uses of tabulated-list-mode is acceptable: if so, the > patch below is all that's needed, if not, then the adjustments in my > first patch can be made as well. I'm not sure I understand what you mean here, could you elaborate?