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

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

bug#54473: 28.0.91; [PATCH] Eldoc: Handle invisible text when truncating


From: João Távora
Subject: bug#54473: 28.0.91; [PATCH] Eldoc: Handle invisible text when truncating strings
Date: Sun, 20 Mar 2022 13:10:54 +0000

Looks fine, but would need, I think, a decent amount of testing:

* In eglot.el, being validated by both Andrii and you for your particular use cases.
* In bare emacs-lisp-mode, with multiple eldoc-documentation-strategy options.  It should
  behave exactly the same before and after the patch, as elisp doesn't use invisible stuff.
* In other situations you can think of.  Like variations on eldoc-area-use-multiline-p and
  eldoc-echo-area-display-truncation-messages.  Again, here the behaviour should be
  equivalent pre- and post- patch.

Just noting this because in my memory this code is somewhat hairy.  That
said, the patch "looks" really fine :-)

Thanks,
João

On Sun, Mar 20, 2022 at 12:06 PM Augusto Stoffel <arstoffel@gmail.com> wrote:
This should solve the Eglot-related problem described in this Github comment:

https://github.com/joaotavora/eglot/issues/865#issuecomment-1065565845



--
João Távora

reply via email to

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