bug#41860: 27.0.91; Can't use `tabulated-list-(narrow|widen)-current-column'

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

bug#41860: 27.0.91; Can't use `tabulated-list-(narrow|widen)-current-column'

Drew Adams
 on last column
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 16.0.5005.0 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

Use command `buffer-menu' and then try to narrow or widen the rightmost
column (the file name).  `{' and `}' have no effect (and there isn't
even any error message or other feedback).

This is an important use case, especially with a frame or window whose
width is made to fit the displayed content.

This isn't a failing only of
`tabulated-list-(narrow|widen)-current-column'.  It's a failing of the
current design of `tabulated-list-print-col'.

In GNU Emacs 27.0.91 (build 1, x86_64-w64-mingw32)
 of 2020-04-20
Repository revision: c36c5a3dedbb2e0349be1b6c3b7567ea7b594f1c
Windowing system distributor `Microsoft Corp.', version 10.0.18362
Configured using:
 `configure --without-dbus --host=3Dx86_64-w64-mingw32
 --without-compress-install 'CFLAGS=3D-O2 -static''



Reply | Threaded
Open this post in threaded view
|

bug#41860: 27.0.91; Can't use `tabulated-list-(narrow|widen)-current-column' on last column

Eli Zaretskii
> Date: Sun, 14 Jun 2020 14:41:22 -0700 (PDT)
> From: Drew Adams <[hidden email]>
>
> Use command `buffer-menu' and then try to narrow or widen the rightmost
> column (the file name).  `{' and `}' have no effect (and there isn't
> even any error message or other feedback).

The last column has infinite width, so I don't see how you could make
it wider or narrower.  (I agree that we should consider signaling a
user-error in this case.)

> This is an important use case, especially with a frame or window whose
> width is made to fit the displayed content.

This seems to imply that the use case in which this is somehow an
issue includes more than you've reported.  Can you add to your
description the minimal configuration that could explain why this
behavior seemed to be a problem?

> This isn't a failing only of
> `tabulated-list-(narrow|widen)-current-column'.  It's a failing of the
> current design of `tabulated-list-print-col'.

Any basis for such general claim?  Which design is at fault here?