From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#30692: list-buffers has hardwired 80 character width from the 80's Date: Fri, 07 Aug 2020 15:09:33 +0300 Message-ID: <83v9hu7j42.fsf@gnu.org> References: <87371gvjn9.fsf@jidanni.org> <87zi251tjd.fsf@mouse.gnus.org> <87604sn4dx.fsf@jidanni.org> <87lgdoej3f.fsf@mouse.gnus.org> <87pn826d5c.fsf@gnus.org> <83zh767k9o.fsf@gnu.org> <874kpe8yib.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30931"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jidanni@jidanni.org, 30692@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 07 14:10:11 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 1k41CM-0007w8-7G for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Aug 2020 14:10:10 +0200 Original-Received: from localhost ([::1]:56518 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k41CL-0003tg-9O for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Aug 2020 08:10:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37070) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k41CE-0003tV-Rw for bug-gnu-emacs@gnu.org; Fri, 07 Aug 2020 08:10:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44519) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k41CE-0005gn-Im for bug-gnu-emacs@gnu.org; Fri, 07 Aug 2020 08:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k41CE-0008Vm-DX for bug-gnu-emacs@gnu.org; Fri, 07 Aug 2020 08:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Aug 2020 12:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30692 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 30692-submit@debbugs.gnu.org id=B30692.159680218932693 (code B ref 30692); Fri, 07 Aug 2020 12:10:02 +0000 Original-Received: (at 30692) by debbugs.gnu.org; 7 Aug 2020 12:09:49 +0000 Original-Received: from localhost ([127.0.0.1]:56065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k41C0-0008VF-SH for submit@debbugs.gnu.org; Fri, 07 Aug 2020 08:09:49 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k41Bw-0008V0-Nu for 30692@debbugs.gnu.org; Fri, 07 Aug 2020 08:09:46 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52200) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k41Bq-0005ff-FH; Fri, 07 Aug 2020 08:09:38 -0400 Original-Received: from [176.228.60.248] (port=1648 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k41Bp-0003OS-LY; Fri, 07 Aug 2020 08:09:38 -0400 In-Reply-To: <874kpe8yib.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 07 Aug 2020 13:51:40 +0200) 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:184272 Archived-At: > From: Lars Ingebrigtsen > Cc: jidanni@jidanni.org, 30692@debbugs.gnu.org > Date: Fri, 07 Aug 2020 13:51:40 +0200 > > It wouldn't change how the file name is displayed at all -- it would > continue to be truncated by the window width (i.e., it "pokes out"). > > As the "formula" today is that the file name takes about half the window, > my proposed change would continue to keep that ratio (at least). That > is, if you make the window 100 characters wide, the buffer name would > grow from 19 to... (let's see)... 25-ish, and the file's visible area > would increase from 40-ish to 55-ish. So, as one makes the window wider, instead of using the additional space to display more of the file name, we will use it to display more of the buffer name? Even if none of the buffer names is truncated? > > In general, I'd say that we should be smarter about how we produce the > > shortened versions of these long names, because I think otherwise > > whatever we do there will be a scenario where the important part(s) > > are hidden. Which really is the single interesting part of this bug > > report, if you ignore the "from the 80's" part, which is just a > > teaser. > > That would also be nice, but I think kinda orthogonal to this issue? Not to me: if we could find a way to show the buffers in a way that makes the differences between similar names apparent, maybe there wouldn't be a need to make the buffer name wider. But it's fine with me not to handle the latter (and harder) issue for now.