bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#43543: 28.0.50; Supress truncate notice in eldoc


From: João Távora
Subject: bug#43543: 28.0.50; Supress truncate notice in eldoc
Date: Mon, 05 Oct 2020 10:21:24 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Hm...  Logical lines is fine by me, but I wonder whether visual lines is
> slightly more logical here?  This is for display purposes, after all.

This is what I thought initially too, and it is still arguable.  But
logical makes _more_ sense, because frequently you're usually truncating
pieces of documentation that come packages in a line.  So you'd normally
want to use the separation between each piece as a cutting point.

Additionally, the control over this dimension as visual lines is already
offered by max-mini-window-height, so offering an ElDoc-specific option
here seems like overkill (with added complexity and added bugs, as we
saw).

So the alternative to my current approach is that we find some other way
to fix the bug introduced by eldoc-echo-area-display-truncation-message
in the visual-lines implementation (which seems complicated) _and_ add a
logical lines interface for users such as Andrii (whose request also
makes a lot of sense).  I think for now, it's better to skip this
complexity and just make the logical lines interface: if someone is
unsatisfied and can't use max-mini-window-height for some reason, we can
attend to it later.

João








reply via email to

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