all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: jidanni@jidanni.org, 30692@debbugs.gnu.org
Subject: bug#30692: list-buffers has hardwired 80 character width from the 80's
Date: Fri, 07 Aug 2020 13:51:40 +0200	[thread overview]
Message-ID: <874kpe8yib.fsf@gnus.org> (raw)
In-Reply-To: <83zh767k9o.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 07 Aug 2020 14:44:35 +0300")

Eli Zaretskii <eliz@gnu.org> 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





  reply	other threads:[~2020-08-07 11:51 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-03 23:12 bug#30692: list-buffers has hardwired 80 character width from the 80's 積丹尼 Dan Jacobson
2018-03-04  3:40 ` Eli Zaretskii
2018-03-05  0:23   ` 積丹尼 Dan Jacobson
2018-03-05  3:35     ` Eli Zaretskii
2018-04-14 19:23 ` Lars Ingebrigtsen
2018-04-15 10:35   ` 積丹尼 Dan Jacobson
2018-04-15 12:43     ` Lars Ingebrigtsen
2020-08-07  9:03       ` Lars Ingebrigtsen
2020-08-07  9:08         ` Robert Pluim
2020-08-07 11:44         ` Eli Zaretskii
2020-08-07 11:51           ` Lars Ingebrigtsen [this message]
2020-08-07 12:09             ` Eli Zaretskii
2020-08-07 12:19               ` Lars Ingebrigtsen
2020-08-07 13:54                 ` Eli Zaretskii
2020-08-08  9:39                   ` Lars Ingebrigtsen
2020-08-08  9:50                     ` Eli Zaretskii
2020-08-08 10:13                     ` Basil L. Contovounesios
2020-08-08 10:23                       ` Eli Zaretskii
2020-08-08 10:28                         ` Lars Ingebrigtsen
2020-08-08 10:41                           ` Eli Zaretskii
2020-08-08 10:59                             ` Lars Ingebrigtsen
2020-08-08 10:30                       ` Lars Ingebrigtsen
2020-08-08 10:37                         ` Basil L. Contovounesios
2020-08-08 11:02                           ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874kpe8yib.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=30692@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=jidanni@jidanni.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.