emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tabulated-list: extend truncation into next align-right col


From: Stefan Monnier
Subject: Re: tabulated-list: extend truncation into next align-right col
Date: Tue, 01 Nov 2016 08:41:24 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

> ;; Without computing maximum widths:
> C1  C2                                       Numbers
> abc **************************************... 123456
> abc *******************************************... 1
> abc ************************************         123

That's exactly what used to happen in *Buffer List* (and the source for
this TODO item).  It wasn't that bad (I can't remember any user
complaints about it).  Admittedly, we could do better: compute the max
width not of the whole column but of the current line, and the two
surrounding ones.  This way we'd avoid

    abc **************************************... 123456
    abc *****************************************... 123
    abc ************************************         456

yet we'd allow

    abc **************************************... 123456
    abc **************************************...    123
    abc *****************************************...   1


-- Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]