emacs-devel
[Top][All Lists]
Advanced

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

Re: Is a `max-width' spec feasible?


From: Lars Ingebrigtsen
Subject: Re: Is a `max-width' spec feasible?
Date: Sat, 27 Nov 2021 15:18:57 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> Side note: `truncate-string-to-width` doesn't just throw away the
> excess but also inserts an ellipsis to announce the truncation, so if we
> add such a `max-width` it'd be desirable to make it display an ellipsis
> as well when truncating text.

Yup.  That does complicate the thing quite a bit, because we'd want to
allow customising that, and the width of the ellipsis is very different
on different displays, etc.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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