GNU bug report logs - #19905
Provide support for truncation in column data

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Thu, 19 Feb 2015 18:42:02 UTC

Severity: normal

Found in version 25.0.50

Full log


Message #8 received at 19905 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 19905 <at> debbugs.gnu.org
Subject: Re: bug#19905: Provide support for truncation in column data
Date: Mon, 23 Nov 2020 09:04:24 -0500
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

> There should be a `display' property (call it :truncate-at) to make it
> possible to indicate that the covered text should be truncated (with
> the rest replaced by an ellipsis or something like that) so as not to go
> past some particular position.
>
> This could then be used in things like tabulated-list-mode to get
> properly aligned columns even when using proportional fonts.
>
> Most/all the uses I can think of would combine this :truncate-at with
> an :align-to, so maybe a combined :truncate-or-align would be even
> better, tho usually the two positions aren't equal (we usually want to
> preserve a bit of space between the columns).

See also my recently reported Bug#44315:

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=44315

My proposal is similar, but different.  I'm not sure which would produce
the best results in practice for tabulated-list-mode.




This bug report was last modified 4 years and 204 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.