GNU bug report logs - #47109
eldoc.el: Allow custom separator between documentations in the echo area

Previous Next

Package: emacs;

Reported by: Mathieu Marques <mathieumarques78 <at> gmail.com>

Date: Fri, 12 Mar 2021 19:29:02 UTC

Severity: wishlist

Full log


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

From: Mathieu Marques <mathieumarques78 <at> gmail.com>
To: João Távora <joaotavora <at> gmail.com>
Cc: "Basil L. Contovounesios" <contovob <at> tcd.ie>, 47109 <at> debbugs.gnu.org
Subject: Re: bug#47109: eldoc.el: Allow custom separator between
 documentations in the echo area
Date: Thu, 18 Mar 2021 19:30:12 +0100
[Message part 1 (text/plain, inline)]
 Hello again,

Thanks for the feedback.  I agree with the will of allowing more freedom.

I joined a replacement patch with the different route that this is now
taking,
namely the removal of `eldoc--format-doc-buffer' in favor of
`eldoc-render-documentation'.  Is that closer to what you had in mind?

There's an issue however with the `-hr` format function that won't work with
terminal-based Emacs due to `:strike-through` apparently not supported
there.  I
was wondering whether a simple mention of that limitation in the docstring
would
be enough?  Terminal-based users would still be able to use the default
format
function.  Regarding the `:extend` keyword not being supported on 26, I
think
a better way than conditionally add it would be to provide a second `-hr`
formatting function that relies on something that is supported on 26 ie.
overlay.  Although I have little to no experience with overlays so I'm not
sure
what would be the preferred way of making a horizontal divider.
Furthermore, it
shouldn't break when the render function is used to return a string.
-- 
Mathieu Marques
[Message part 2 (text/html, inline)]
[0002-Add-a-responsible-Eldoc-render-to-target-function.patch (text/x-patch, attachment)]

This bug report was last modified 3 years and 218 days ago.

Previous Next


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