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#30692: list-buffers has hardwired 80 character width from the 80's Date: Fri, 07 Aug 2020 13:51:40 +0200 Message-ID: <874kpe8yib.fsf@gnus.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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32759"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: jidanni@jidanni.org, 30692@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 07 13:52:10 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 1k40uv-0008Mt-Ga for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Aug 2020 13:52:09 +0200 Original-Received: from localhost ([::1]:45402 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k40uu-0005C1-JJ for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Aug 2020 07:52:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k40uo-0005Bp-Qc for bug-gnu-emacs@gnu.org; Fri, 07 Aug 2020 07:52:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44463) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k40uo-0003UK-IL for bug-gnu-emacs@gnu.org; Fri, 07 Aug 2020 07:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k40uo-00082t-HW for bug-gnu-emacs@gnu.org; Fri, 07 Aug 2020 07:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Aug 2020 11:52: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.159680111330912 (code B ref 30692); Fri, 07 Aug 2020 11:52:02 +0000 Original-Received: (at 30692) by debbugs.gnu.org; 7 Aug 2020 11:51:53 +0000 Original-Received: from localhost ([127.0.0.1]:56009 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k40uf-00082W-Jl for submit@debbugs.gnu.org; Fri, 07 Aug 2020 07:51:53 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:38668) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k40ue-000827-3m for 30692@debbugs.gnu.org; Fri, 07 Aug 2020 07:51:52 -0400 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=gL/pPlaz03NfQLmkzW+Ux3iT8V7xbdB2zCouh80JmO4=; b=OODyD0vn2V1VBeNklQLJV09zXR 8W4bzKc8wpqH7i5/t2G+64lANAns4xmn9+eNQo3mW16LSa/ZhO8cW9g4aK3a43MZ1ov9ntVlkC5ic o5ytKQR6IFBq+yfo75lFBElCvPjE0Iglr4P7rs3EmQfaLsYjUmy2br52xXqV96/zhoKU=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k40uU-0006fH-Jp; Fri, 07 Aug 2020 13:51:45 +0200 In-Reply-To: <83zh767k9o.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 07 Aug 2020 14:44:35 +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:184267 Archived-At: Eli Zaretskii writes: > I don't understand the plan, sorry. Buffer-menu has 2 potentially > long parts: the buffer name and the file name. I don't understand the > details of your proposal, and thus cannot figure out what will happen > when displaying the full buffer name and the full file name exceeds > the window-width. > > Can you describe the proposal in more detail? 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. > 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? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no