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

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

bug#42532: closed (28.0.50; Can eldoc-prefer-doc-buffer be more aggressi


From: GNU bug Tracking System
Subject: bug#42532: closed (28.0.50; Can eldoc-prefer-doc-buffer be more aggressive?)
Date: Fri, 15 Jan 2021 18:02:01 +0000

Your message dated Fri, 15 Jan 2021 18:01:23 +0000
with message-id 
<CALDnm52E3gM0px=KPXMaRaQvLGdWqnSxubUqw1U6iK0aFk0+bQ@mail.gmail.com>
and subject line Re: bug#42532: 28.0.50; Can eldoc-prefer-doc-buffer be more 
aggressive?
has caused the debbugs.gnu.org bug report #42532,
regarding 28.0.50; Can eldoc-prefer-doc-buffer be more aggressive?
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
42532: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42532
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 28.0.50; Can eldoc-prefer-doc-buffer be more aggressive? Date: Sat, 25 Jul 2020 20:17:34 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
With the attached file, start emacs as:

  emacs -Q --load bug.el

and then move the point left or right.  Originally I started to write
this file as demonstration to bug#42421, but you fixed the bug faster
than I could find time to finish it.  Now, I think everything works as
documented, but with the help of this recipe, I'd like to argue that
eldoc-prefer-doc-buffer is a bit annoying in this case.  Its
documentation says:

   Prefer ElDoc’s documentation buffer if it is showing in some frame.
   If this variable’s value is t and a piece of documentation needs to
   be truncated to fit in the echo area, do so if ElDoc’s documentation
   buffer is not already showing, since the buffer always holds the full
   documentation.

I think it would be better to show the documentation only in the *eldoc*
buffer and not in the echo area even if the documentation doesn't need
to be truncated but the echo are needs to be resized to display the full
documentation.

(bug.el changes eldoc-documentation-function to circumvent bug#42531,
which I reported few minutes ago, but changing the order of the hooks in
eldoc--eval-expression-setup, doesn't seem to fix bug#42531)

Thank you, João, for your work on eldoc.

Attachment: bug.el
Description:


--- End Message ---
--- Begin Message --- Subject: Re: bug#42532: 28.0.50; Can eldoc-prefer-doc-buffer be more aggressive? Date: Fri, 15 Jan 2021 18:01:23 +0000
That's great! Closing.

On Fri, Jan 15, 2021 at 6:00 PM Felician Nemeth
<felician.nemeth@gmail.com> wrote:
>
> I'm sorry I haven't replied earlier.  I've now tested the master branch
> instead of scratch/eldoc-display-functions because the master branch
> seems to contain most commits from the feature branch.  And it passes
> all my tests regarding this bug report.  So I think it can be closed.
>
> Thank you.


--- End Message ---

reply via email to

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