From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thuna Newsgroups: gmane.emacs.bugs Subject: bug#56345: 29.0.50; [PATCH] Add column hiding to tabulated-list Date: Tue, 06 Sep 2022 15:59:13 +0200 Message-ID: <87ilm0bo3y.fsf@gmail.com> References: <87r134ihdd.fsf@gmail.com> <877d4vfrzu.fsf@gmail.com> <87bkrtzkgm.fsf_-_@gnus.org> <875yi1iof9.fsf@gmail.com> <875yi0x1dd.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30631"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56345@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 06 16:08:50 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 1oVZFy-0007qe-Qh for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Sep 2022 16:08:50 +0200 Original-Received: from localhost ([::1]:43602 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVZFx-0005g3-S9 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Sep 2022 10:08:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36216) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVZ7T-0006TT-0j for bug-gnu-emacs@gnu.org; Tue, 06 Sep 2022 10:00:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35246) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oVZ7S-0005cS-Kv for bug-gnu-emacs@gnu.org; Tue, 06 Sep 2022 10:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oVZ7S-0001fD-6u for bug-gnu-emacs@gnu.org; Tue, 06 Sep 2022 10:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thuna Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Sep 2022 14:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56345 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch moreinfo Original-Received: via spool by 56345-submit@debbugs.gnu.org id=B56345.16624727666315 (code B ref 56345); Tue, 06 Sep 2022 14:00:02 +0000 Original-Received: (at 56345) by debbugs.gnu.org; 6 Sep 2022 13:59:26 +0000 Original-Received: from localhost ([127.0.0.1]:52178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVZ6r-0001dn-UU for submit@debbugs.gnu.org; Tue, 06 Sep 2022 09:59:26 -0400 Original-Received: from mail-ej1-f50.google.com ([209.85.218.50]:37555) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVZ6n-0001dQ-Gh for 56345@debbugs.gnu.org; Tue, 06 Sep 2022 09:59:24 -0400 Original-Received: by mail-ej1-f50.google.com with SMTP id nc14so23469120ejc.4 for <56345@debbugs.gnu.org>; Tue, 06 Sep 2022 06:59:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date; bh=aCgltKhVozZbBycMEK2fqngYrlfKlCii9OLMmwfY+bQ=; b=nBImJUmp9YZ0rWktKraHhGJuuY6hrmhZncAS7jNmvjf4HImiPo5WSmYljN84k4Y8fj i+F3LH/LGXYiJrbZopZvs7k75ak/mKVdvbiVSRDsFuP9fXLMsvi1NgBWEplaTv9IDJ50 uT9j46q4yNrsRrncMpNqHjW3yEuz7QU3jdgn2ejhlthdUnms/Zuq6EZS0m0E+cseL5IH b4B5ZpSBfvZna6lzKuRG4wZ+Q8RODYRDO7SI+ykIadXuJ+CSFobLhX+aFRBStyvSdPJA qWHnB5KjUK1NTfp4jGVwJ6xrgjfVli3k4znIwEOMnMGJ81wf7Of34liB2GviYNdl4VZu SrNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date; bh=aCgltKhVozZbBycMEK2fqngYrlfKlCii9OLMmwfY+bQ=; b=Xc5+GaM4GPzQ8V19AfON5XzFkMv9sX4ou5pzB0BsTZtE7glEw4xI7HZIAeg4S4iSzX NotQ/JwpPeoI7Q4qW4GfTkXRHuvF7nwc1G0SohUNn7NnhjB14Zr36rJhi2/Jq6Ga+REK 4axvY3YJVC3mOb3unv9VU5iCz9FIZpLUfgl2zb4GMYeAIejzrlvPlymGpv5fN5UDWFfZ sNTi4+7MT5+Xxt8jeBO6Ag4v4M86HrP1P8VvtVMzWBoE2vBKhMKU2LLR6A5EV6snuIlf Qx7YZrGUQpdyJ26O5mWgeKDUp1/+uvAgfT5EZnK63RzHUsWTkSd+vf0SfBTStXH35WuY HvQg== X-Gm-Message-State: ACgBeo0bUx18AROhDYYXNEJ10aUnjxF1rqxtsUWiNjVMn6wZzPNZSKNg djefkrsaohu1JpKIAO1qWeIFWGEfFU8= X-Google-Smtp-Source: AA6agR5YnXiRWEXJ09/C1IPBvqjdppSxLaKd6qeJunvm7SYVtXEUOH7/BBHzfVWQ7y0r6lGC3GTa6Q== X-Received: by 2002:a17:907:762c:b0:73d:e163:70cf with SMTP id jy12-20020a170907762c00b0073de16370cfmr34617197ejc.694.1662472755274; Tue, 06 Sep 2022 06:59:15 -0700 (PDT) Original-Received: from thuna ([90.147.71.152]) by smtp.gmail.com with ESMTPSA id t10-20020a05640203ca00b0044604ad8b41sm3848130edw.23.2022.09.06.06.59.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Sep 2022 06:59:14 -0700 (PDT) In-Reply-To: <875yi0x1dd.fsf@gnus.org> 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:241660 Archived-At: > Thanks. I've had a skim over the patch, and it seems reasonable to me. > (I haven't tried it, though.) But what's the use case for this? I > can't really remember ever wanting to hide a column in a tabulated-list > buffer. It's mostly a quality of life improvement. Horizontal scrolling is a mess (or at least I can't manage it), and you don't always need to see all of the columns, so adding a way for the user to control it seemed reasonable. Also, when you add a filtering mechanism to your `tabulated-list-entries' function, some columns can end up redundant, this would make it convenient to manage situations like that. (I would know; that's why I wrote it)